With the help of VISA Write in parallel loops (multithreading)

Hello

I got the idea to set up four parallel loops on a quad core with four EHR via serial port independently. I use the PXI-8430/8 and I was told that an independent operation of ports is possible.

What I did was simply to put in place four parallel for loops consisting only of a single entry VISA. With the help of the Tools > profile > find parallelizable loops, they gave me the following warning

This loop For may or may not be safe to parallelize. Warning (s):
-A node in the loop For can have side effects.

This means, that the pilot VISA screws are not suitable for multithreading? With the help of LV2010

Thanks for your comments!

See you soon

Oli

Here's some good reading on paralleled for loops.

Regarding the caveat, it's just that - a warning. If you write commands on a device and orders must be received in the order then you cannot parallelize the loop. If the order does not matter then go ahead. But in the case of VISA wrote that a parallelized loop going not buy you anything. They are intended for operations of calculation intnesive.

Just stick to four loops.

Tags: NI Software

Similar Questions

  • With the help of VISA with Windows 7 64-bit resource control

    Hello.

    My company has recently upgraded our laptops, and I now work on Windows 7 64 bit rather than Windows XP 32 - bit.  I reinstalled a bunch of basic LabVIEW 2009, hoping that the 64-bit Windows 7 operating system would be able to handle 32-bit LabVIEW 2009 without problems.  But trying to run our test system, the control of VISA resources does not work.

    We use it to get a list of the COM (RS232) ports on the computer.  But the list is now empty.  The only option that appears in the list, is the text "Refresh."  But nothing happens when I press it.  Is this a bug in LabVIEW?  I installed the latest patch that I found, so now I'm under LabVIEW v9.0f3 (32 bit).

    Many thanks for any help!

    LabVIEW SP1 has an x 64 native installer.  I'm running very well with drivers 64-bit on this disc.  I think that the later will have something to do with your problem.  See the com ports in MAX?

  • With the help of VISA can not find the com port

    I use visa read but cannot find any com port in Windows 7.

    How can I find the com port in Windows 7?

    Windows 7 is not released. A version of LabVIEW for windows 7 is not released. A version of NI-VISA for windows 7 is not released. Wait until MS releases windows 7. Then wait tile view deleted OR made available versions of LabVIEW and NI-VISA that work with windows 7.

  • With the help of old gear series noon on El Capitan

    I have a Vox Tonelab SE effects audio Board (around 2004), there the old serial midi on the back ports. I hung with the help of a USB MIDI interface cable. While the USB Midi interface to the show in Audio / Midi set upward and also in the profile system for USB port it does not detect the Vox Tonelab so no communication lunch.

    There is a POWERPC application called ToneLabSE SoundEditor which I downloaded and installed in the hope he would install a driver but I guess that this obviously doesn't work on INTEL in any case. Using Wine I can run the PC version, but still no communication via midi.

    Someone at - it ideas, would like to get this Panel communicating effects via MIDI.

    Thank you

    Solved! Using the WINE app I've run the version of the PC of ToneLab SE editor application. So pretty unintuitively by changing the serial midi to USB, SERIAL interface cables that went to the and out on the Tonelab SE. Now of the Se ToneLab editor I can write banks of programs to hardware Tonelab, but unable to empty the banks since the material Tonelab to software. My main desire was to use Expression pedals on the Tonelab as Midi Ableton controllers and some of the switches to the control of the Looper stomp. Now I can do it all. Hooray!

  • Help? With the help of file system Ext3 on key USB on Linux RT target

    We have been affected by problems with the SD cards and USB drives formatted in FAT32 on some devices, according to Linus RT of long-term monitoring (mainly the cRIO-9035). It seems that readers are vulnerable to fluctuations in current and unexpected reboots (which are inevitable on these sites). Write aborted operations make the damaged discs, thus sabotaging logging after reboot.

    We have identified two solutions; implement both gives the best redundancy:

    (1) installation of UPS (uninterrupted power supply for emergency supplies/batteries) - done

    (2) using the file system apparently more robust 'ext3', which is available on the target RT Linux (FAT32, ext2 and ext3) - don't have not so far:

    ->, I was not able to properly format a USB stick for ext3. I use the MiniTools Partition Manager and don't get any errors when create and format partitions. But they appear as 'read only' when it is inserted into the chassis of the RT. All attempts to access it, other than to observe the empty folder sdxx in ' / media "is returning errors.

    Someone had a bit of luck with the help of ext3 disks formatted as data drives on the objectives of the RT Linux? It is worthwhile to solve my problems or should I use FAT32 and the observed risk?

    I do not consider this but a temporary solution:

    I ran into issues when you use MiniTools Partition Wizard to partition and format my thumb on Win10 records. An unidentified change makes the inaccessible disks and freeze the browsing of file on the PC when I try to delete the partition. It was quite annoying!

    I decided to try another partition tool and went for the EaseUs Partition Master (free version for the moment). I formatted successfully one of the troublesome discs with it (to add some uncertainty to the solution, I used another brand sp * banking, new PC to do). The reader now mounted in read-write and allows the startup application create the I want to store files in folders.

    I'm very curious to know the difference between the tools of both partitions and their formatting...

  • Problem with the series of read/write

    Hi all

    I don't know if this belongs here or on one of the guidance material, but I thought I would start here.

    I have two devices which I am currently trying to contact via the serial ports on a PXI chassis in real time.  In both cases, I series of software that seems to work fine when I use the serial port on the controller (for example, COM1).  Now, I have two cards that I used two different systems to talk to these devices - 8430/2 and 8430/4.  In both cases, when I use these cards, it seems I have periodic in response by devices delays when you use the same code that I use when talking through the serial port of the controller (i.e., I get some downtime when trying to read code error-1073807339).  I tried to Exchange cards with spare parts, but I have the same problem.  I can handle the delays to retransmit the command, but this destroys ultimately the determinism of the system given that the delay may create a pause of up to 2 seconds.  I tried to change the size of the buffer, but I seem to have the same problem.  Does anyone have any ideas as to what could happen?

    Cheers, Matt

    Thank you, Luis.  Indeed, one of the errors being thrown was a timeout error (the other was thrown by one of the devices indicating that he did not understand the command sent).  However, the problem wasn't that I was getting a timeout, but rather that I was getting an error on one platform and not on another.  But it seems that I solved my problem - I simply set the I/O VISA Write mode to synchronous and this seemed to solve the problem I had.

    Cheers, Matt

  • To create the distribution with the help of disk manager.

    Dear all, I m facing problem with blue screen error. And my all partitions is corrupted and I like repartition with the help of disk manager. Win xp bootable cd its not working. so pls help thank you & best regards

    Hi zubair.

    · What is the exact blue screen error you receive?

    · What happens when you try to boot from the CD?

    · You want to reinstall or restore the system?

    · Do you remember any changes made on your computer before the show?

    · Are you able to boot to the desktop?

    · You have saved the data?

    You can check the links below: how to use disk management to configure basic disks in Windows XP:http://support.microsoft.com/kb/309000

    How to partition and format a hard disk using the Windows XP Setup program:http://support.microsoft.com/kb/313348

    Best practices for partitioning a hard drive:http://www.microsoft.com/windowsxp/using/setup/expert/tulloch_partition.mspx

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • With the help of Windows to the top. -J' changed my settings on the page to backup several times, and now when I try to back up my computer it keeps default.

    TODAY, I CHANGED MY SETTINGS ON THE BACKUP OF THE PAGE WITH THE HELP OF WINDOWS BACK UP TO SEVERAL TIMES AND NOW WHEN I TRY TO BACK UP MY COMPUTER AGAIN, HE GUARD DEFAULT.
    I HAVE WINDOWS VISTA PREMIUM 64 BIT.
    I WOULD APPRECIATE YOUR RESPONSE

    Hello

    1. do you receive any error messages?
    2. what exactly happens when you try to backup data?
    3 have. what settings you changed?

    Please answer these questions. This will help us assist you better.

    Try to perform the clean boot.

    Refer; http://support.Microsoft.com/kb/929135

    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • With the help of Windown 10, not all pdf documents launch Adobe Reader DC.  As a result, I have not all normally available printing options.  How can I get Reader to open the default player.  I need to clear, step by step direcitons, please.  Thank you

    With the help of Windows 10, not all pdf documents launch Adobe Reader DC.  As a result, I have not all normally available printing options.  How can I get Reader to open the default player.  I need to clear, step-by-step instructions, please.  Thank you

    Hello

    Please visit the following link to set the reader as default PDF reader.

    Restoration of Adobe Acrobat Reader in the default PDF Viewer

    Concerning

    Sukrit diallo

  • Error 100 with the help of DOWNLOAD adobe...

    Error 100 with the help of DOWNLOAD adobe... Unable to connect using the software adobe acrobat... I'm not having problems of network...

    HI celine

    Please visit: http://forums.adobe.com/message/5970223

  • My AirPort Extreme end not implemented with the help of AirPort Utility

    Bought a used AirPort Extreme (Genesis 4) of a person who showed me that he worked at home. When I try to set up as a Wireless extender to my last existing AirPort Extreme, he will not carry out synchronization upward with AirPort Utility. It appears as a new extreme, but get a message 'unexpected error' before or after the name. Have you tried to reset the two while it is powered and turning the as explained in the help.

    When I try to set up as a Wireless extender...

    Gen 4 airport will connect to your existing AirPort Extreme wireless... or... it will connect using wired Ethernet wired, Permanent?

    .. .it will not accomplish the synchronization upward with AirPort Utility.

    Which version of AirPort Utility?  If it's on your Mac... and you don't know what version you have...

    Open AirPort Utility

    Click the AirPort Utility menu in the upper left corner of the screen

    Click on about AirPort Utility

    Report on the version number you see here

    You have an iPhone or a handy iPad that could be used to implement the 4th Gen airport if the problems continue with the help of your Mac?

  • With the help of iPhone 6 s. try to copy the text message with a tap double and get a bubble with icons. How can I copy the message to paste in another?

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    maryml wrote:

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    Press and hold on the text and wait for the copy/more pop up.

  • With the help of Club running on the Nike watch +.

    Hello

    This is something I have tried to work for a while and have not yet been able to find an answer. At the moment I use Nike + management club on my iPhone to follow the tracks that I find that gps is better than just using the application of the workout on my watch. However, something that really bothers me is that I start the race on my phone, but I can't then view my stats while running without having to press on and tap the watch and wait for the application to load, very irritating to race. I want to be able to lift my wrist and live stats are there to watch me, not listening and not get my phone out of my pocket. Surely this is something that can make the original watch?

    As a separate issue with the new app, Nike +, it does not recognize the songs I downloaded on my phone of Apple music in my playlists, then I have to play the separatelay of music through the application of music as opposed to go with Nike +? The ides on how to fix or is this a known problem with the latest Nike + app?

    Hello

    You may find it useful to consult the support resources of Nike and/or contact Nike for assistance with the help of their application:

    More information:

    https://iTunes.Apple.com/us/app/Nike+-run-Club/id387771637?Mt=8

  • With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    Opening was a pro the Pro amateur-oriented or serious app, usually shooting Raw, probably on a digital SLR.

    If that's you then pictures will miss a lot for you.

    If this isn't the case, then opening was probably overkill for your needs.

    If you like the pictures then this is the way to go.

  • Thunderbird will only connect if stop then reopened. (With the help of Mac 10.9.4)

    With the help of Mac 10.9.4
    If I open Thunderbird, I can connect to my e-mail address and download the messages. If I select "Get Mail" once again, Thunderbird crashes and fails to connect to my emails. If I then close Thunderbird and re-open it, I'm able to immediately connect to my mail.

    It seems to have sorted itself after a few days. (Fingers crossed). Until today it worked properly. Will keep an eye on things for the next week and the report does so again.

Maybe you are looking for

  • How to delete a contact on Apple Watch

    How to remove a contact stored on the iwatch?

  • Windows 8 and Satellite C855D-135

    Hello everyone, I have a problem with my laptop, a C855D-135 satellite. I made a mistake during a recovery, and I did not any left recovery (no recovery partition to the left, no option to use the recovery in Start menu - F12 when starting computer).

  • Satellite L50-A013 - Windows 7 Drivers needed

    Hello my employer brought a Satellite L50-A013, part #: PSKL6A-013004 preloaded with Windows 8 and I wanted to 7 on it. I installed 7, but I am having some driver problems. On the support area of Toshiba, they list the laptop, but there is no driver

  • Number returned to voltage conversion

    I am writing an app to acquire data using PCI cards in VB.net with VS2010. I "assumed" that for a 16-bit card was 65536 heads available for the used range (09:50, etc.). Experience that has not been corroborated. In theory, using the above values, 10

  • How can I run a vi after deployment in a PXI Machine

    Salvation; I wonder if there is someone out there who knows how to run a vi after deployment in a PXI from my host machine. In my application, I have a few vi that are deployed in my machine PXI. My problem is that when I'd like any of these vi simul