Run subVIs in parralel and simultaneously

Hello, Using LabVIEW 8.5 in WinXP 1.6Ghz, 1GoRAM
I'm doing measurement acquisition using two agilent 66319B DC source and the driver AG663xxx. I just want to run the two measurements simultaneously from my template subVI that control the two DC Source in order to correlate the measurements. I saw mutiple discussions and can't figure it out.
Did I need to open reference to the vi and run it or simply change something in my subVis properties to handle multiple calls and runs in parralel. ??
Any help...

Thanks for your reply. I want that the two subVis that control the two DC source start their measurements at the same time. In the main VI I don't have a loop, I just call the template measurement VI two times and set the two adress of my apparatus to this subVis.
When I animate the execution I saw that one subVi is executed and when it finishes the second one starts.
How can the two calls of the SubVis Model can run at the same time?
 Thanks

Similar Messages

  • I am trying to install an update of Microsoft office and I get a message that says.  This application must be closed ETC.....   I am running Parralell and I think it is there.  The two programs are "Microsoft Database Daemon" "SyncServicesAgent"....

    I am trying to install an update of Microsoft office and I get a message that says.  This application must be closed ETC.....   I am running Parralell and I think it is there.  The two programs are "Microsoft Database Daemon" "SyncServicesAgent".  How do I close these programs?

    If the Office updates have to be run through Win in Parallels, there's not really a section here that covers that , because Neither Office or Parallels are Apple products. There is only a small chance that you'll find someone with BOTH your conditions who just happend to look into a forum on older iMacs.
    Parallels has a forum here:
    http://forum.parallels.com/forum.php
    I think you'll get a faster response there.

  • From any running subvi('s), read controls and choose the ones you want to save to file

    Hi all,
    I now want to read controls from any running subvi('s) and save the data into a single file. I'm using subpanel to display the running subvi and use control reference to collect all the string-typed control and save the data to a single file. While that's cheating and ugly, because the host vi usually doesn't know what controls will be there in the subvi('s).
    I'm wondering if there is a way to dynamically read controls from any running subvi and display all the avalible controls depends on what subvi is running, and let the user decide which data are to be saved. I attached the vi I have now, please give any comment and I thank you very much in advanced.
    -chen
    Attachments:
    logger folder.zip ‏86 KB

    Hi thitchen,
    without looking at your code:
    with the VI reference you can get references of all controls on the VI's frontpanel. With that reference array you can collect all string controls in that subVI. The you should display a list to the user with the names/contents of those string controls so she/he may select which ones to save...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • I am trying to detect signal peaks (derivatives of the peaks both +ve and -ve peaks). simultaneously 2 peaks detectors are running, 1 for +ve and other for -ve peaks.

    i am trying to detect signal peaks (derivatives of the peaks both +ve and -ve peaks). simultaneously 2 peaks detectors are running, 1 for +ve and other for -ve peaks. when a peaks get detected it would trigger a pulse of approx 1 sec duration and at the same time it would disable the other peak detector for 1 sec time duration. after the time period, again both the peak detectors would be enabled. i have been able to detect both peaks but still not able to control the detectors block the way mentioned before.
    the code and the data are attached.
    Attachments:
    eog peak detection.vi ‏192 KB

    I'm not suggesting any of this as a model, and your needs are different than mine.
    1) Go to Preferences -> Audio.  Under "Default Audio Tracks", Set "Mono Media: Mono".  Set "Stereo Media: Mono"  (Choices from the pull-down for both are Use File, Mono, Stereo, 5.1, Adaptive)
    You can change these, but I don't. I am using both mono and stereo tracks. I set up a custom sequence with the particular combination of stereo and mono tracks I want.
    2) Set audio for clips by selecting all clips and going to Modify Clip -> Audio Channels Tab.  Under "Number of Audio Tracks" there should be a "1".  Under Channel Format it should read "Stereo".
    I am not sending the audio to anyone else to edit further. I am doing a final stereo mix. If camera one is set up to record 2 mikes as a stereo track, then I leave that unchanged and put it onto a stereo track. If camera two is set up to record one mike onto channel 1 as ambient sound and channel 2 is a mono feed from a sound board, then I modify those clips as Preset Mono, 2 audio tracks, Channel format Mono, and that puts the left source channel (or whichever I choose) onto Audio track 1, channel 1 (of one), and right source channel onto audio track 2, channel 1.
    4) Delete all the existing audio tracks in the sequence and replace them all with mono tracks, so all tracks in the sequence are mono.
    I modify the tracks while creating the sequence, and ultimately use a custom sequence.
    Under my Effects Controls panel there is only Channel Volume, and nowhere to adjust the pan.
    I'm using the mixer, not the effects control panel.

  • Running a Sub-VI and monitoring data that is generated on a higher level VI

    Hi All, 
    This question must been there before, but I cannot find a suitable answer here on the forums....
    I have a 'top-level' VI that does a lot of things. I also have a sub VI that runs a frequency sweep on a piece of equipment. This is done with a for loop. 
    Problem: 
    I want to monitor/access the data that is generated in the for loop (See attached, the 3 wires within the green circle I want to monitor). 
    2 Questions:
    How can I access the data on the wires (within the loop) from a higher level VI?
    How can I then run this VI in a higher level VI while the higher level VI is continuing and not waiting for the sub-VI to complete?
    I tried using a Que but I cannot seem to get that working. 
    Any suggestions?
    Regards,
    Attachments:
    LV problem.PNG ‏44 KB

    The queue is a good way to move data from a running subVI to another VI.  Your problem is that if the subVI is inside a loop in the main VI, that loop in the main VI cannot iterate until the subVI completes. The solution: have the sub VI running in parallel - not inside - the loop.
    Look at the Producer/Consumer Design Patterns (at File >> New... >> VI >> From Template >> Frameworks >> Design Patterns >> Producer/Consumer.  This may be more than you need at the moment but will show how the parallel code process works.
    Lynn

  • Is it possible to run both Netflow v5 and v9 at the same time

    Hi All,
    Just wondering if it is possible to run netflow version 9 and version 5 at the same time (to different destinations) on the same router please?
    Thanks very much
    Regards
    Amanda

    No Amanda,
    we cannot simultaneously configure both versions of NETFLOW on cisco ios. After configuring firstone when you try to configure other version it will override the previously configured version.
    "Please do rate helpful posts"

  • My client with autism needs to be able to speak/sing into a microphone and simultaneously hear his voice through a headset, preferably with reverb set on high.  Is it possible to do this with the iPad and OS7?  If so, what setup do I need?

    My client with autism needs to be able to speak/sing into a microphone and simultaneously hear his voice through a headset, preferably with reverb set on high.  Is it possible to do this with the iPad and OS7?  If so, what setup do I need?  I have a SM58 type mic and-over-the ear headphones.

    This implies that ODP.NET does NOT need to be installed on a client. However, I cannot find OraOPs9.dll on a machine with Client Release 9.2 installed. Should OraOps?.dll automatically come with a Client installation of 9.2 or higher?
    ODP.NET needs to be installed on the client. OraOps9.dll is part of ODP.NET, not the Oracle Client.
    Also, if an application is built with the 10g ODP.NET, can it be run from a machine with OraOps9.dll?
    If an application is built with 10g ODP.NET, it can be run with 9.2 ODP.NET as long as you do not use any 10g APIs. The new features in 10g ODP.NET are included in the doc and the ODP.NET FAQ for your reference.

  • Please run the Photoshop installer and re-install Photoshop

    Hi!
    I just upgraded to PS CS% from PS CS3 Extended. Download went well as well as installation.
    After, i deactivate CS3 then i uninstall it using Adobe installer.
    Each time, i opened CS5, i have the following message:
    "One or more files in the Adobe Application Support folder, necessary for running Photoshop, are missing.  Please run the Photoshop installer and re-install Photoshop."
    I reinstalled it but i'm still having the same message. I didn't play much with it but it seems to work properly...
    What could it be?
    Regards!

    The problem most likely is uninstalling an older version after installing the new one.
    The Uninstaller removes certain support files which it can't tell are the new ones.
    The solution in your case is to uninstall CS5 first, then uninstall CS3, run the Adobe CSClean Script, Repair Permissions with Apple's Disk Utility, only then install CS5, and the Repair Permissions with Apple's Disk Utility again.
    All Adobe upgrades are full installers and do not need to find a previous version of the software installed.  When they don't find a previous version of the software installed, they'll just prompt you for the old serial number.
    It's not mandatory to uninstall older versions, but if you don't want to keep the older versions, uninstall them first, before installing a newer version.  I have all versions of Photoshop from 7.0.1 through 11.0.2 ("CS4") happily coexisting on my machine.  I can even run two versions of Photoshop simultaneously, just by launching the older version first and assigning separate scratch disk volumes to each.
    Wo Tai Lao Le
    我太老了

  • Running SubVIs with state machines in parallel

    Hi,
    I'm new to labview, working on it for a couple of weeks.
    I'm building an application where there are a number of identical elements atht each is controlled by an identical state machine which is independent from all others.
    My problem is how to place each state machine in a subvi and running them in parallel.
    Each of the subvi has a while loop for the state machine, and the program gets stuck inside never entering another subvi.
    Is there an elegant way to run a couple of SubVIs each holding a state mchine in parallel?
    I come from the VLSI world so there is no problem implementing this kind of logic in hardware description language but the labview way to do it eludes me...
    thanks you very much for any help,
    Eyal.

    braxat2000 wrote:
    Hi,
    Thank you everybody for your kind help.
    The problem was solved and my application is OK now.
    For future reference,
    I used the execution reenter subvi to allow multiple instances of it in parallel, and added a global variable that the subvis can change, and the main can read from.
    Used semaphores to make sure correct parallel write to common sources.
    Cheers,
    Eyal.
    Great solution- but how to avoid race conditions in the global variable?  Globals are notorious for causing headaches, nightmares and nausea so if there is a way to avoid them and enforce a bit of cause- effect its highly desirable.  In this case you have clones of a re-entrant vi running in parallel so you CAN'T use a functional global (the most common solution see Ben's famous Action Engine nugget)
    Since we can't enforce data dependence we need something else as a cause-effect team..... Change event dependency would be a good substitute.  Two methods for getting this type of dependence would be a dynamic event or my favorite the "Named Queue"  set the data type of the named queue as a cluster of instance of source and data from your global and the main loop will be able to see EVERY write to the queue AND the source.  Moreover the queues datatype can be expanded to offer any information the main vi needs to be a good executive. In fact a new sub vi that "monitors status" of the clones would make the application highly scalable and robust. 
    Jeff

  • How to make a robot roam and simultaneously display its coordinate using other vi

    Hi i am using Cricket to find the coordinates of moving robot as my receiver is attached to the robot.I made a vi which can extract the exact coordinates using my CRICKET sensor data.How to move a robot and simultaneously display its coordinates.In turn moving the robot usin roaming Vi as well as same time my VI display its coordinate.

    Hi,
    Is this an NXT robot and are you deploying your code on the robot?  Are you running the robot from a VI on you PC using blue tooth, etc... ?
    If you are running both VI's in LabVIEW you can use parallel loops.  If they have to communicate with each other, then you have to decide which approach to use with parallel loop communication.  Like simple variables or more complex choices like queue, etc...
    Can you provide more information about your system and version of LabVIEW?
    Mark Ramsdale

  • Triggering and simultaneous measurements

    Hi everybody 
    I've written a Vi to to acquire data simultaneously from 7 devices. I'll be using cDAQ9178 with NI9203. The vi will acquire current values 4 to 20mA. Could you please check the attached file and let me know if I need to improve it.
    I have some question and I should be grateful if anyone can help me to answer them.
    1. How to open the binary file from write to measurement file by EXCEL?
    2. Is it better to use write to spreadsheet for data logging, if yes how to include the time column??
    3. I'm going to use external signal for triggering through PIF0 port, is it Ok to do that through dag assistance?? I've not tried yet but it seems straightforward?
    4. Finally I have another vi for valve control that should be triggered with the measurement vi, is their any way to do that?? I was thinking about notifiers but I don't know how to use them ?
    Sorry for asking to much  I really in urgent need of all of this. I should finish my data acquisition system by Tuesday 
    Best Regards 
    Solved!
    Go to Solution.
    Attachments:
    triggering and simultaneous measurements.vi ‏97 KB

    1. How to open the binary file from write to measurement file by EXCEL?
    If you select TDMS as the file format in the write to measurement file, you should be able to open it directly from Excel if you install the TDMS Excel Add-In. Be aware that at 1kHz data rate, you will exceed the capability of old versions of Excel to read the entire file in about 65 seconds. Newer versions can read more, but anything over a couple thousand points gets difficult to analyze. That is about my limit. Over this, I go to something else for analysis, such as LabVIEW or Mathematica.
    2. Is it better to use write to spreadsheet for data logging, if yes how to include the time column??
    The write to spreadsheet file is very inefficient for data logging and cannot be recommended. Given your data (an array of waveforms), TDMS is your best bet. The write to measurement file Express VI is the easy way to do this. I, personally, prefer the control I get from using the TDMS API directly. Note that under the hood, the output of the DAQ Assistant is an array of waveforms with individual t0s and dts. The t0s are all different due to the fact that your 9203 is a scanned device, not a simultaneously sampled device. It scans at 200kHz, so the differences are not large, but they are there. I would convert the DDT into an array of waveforms, then use the native TDMS API, but I have a lot of experience. Since you are in a hurry, the Express VI using TDMS is probably your best bet.
    3. I'm going to use external signal for triggering through PIF0 port, is it Ok to do that through dag assistance?? I've not tried yet but it seems straightforward?
    That should work fine. Given your continuous acquisition, the trigger will only start the acquisition, not gate it or trigger it at later times.
    4. Finally I have another vi for valve control that should be triggered with the measurement vi, is their any way to do that?
    We do not have enough information to answer this question. Specifically, how is the valve being triggered (boards being used, hardware interface, software interface). The ideal way would be to run it through the same cDAQ 9178 so that it can be synchronized through hardware. Software synchronization cannot be guaranteed better than about ±50ms. Read up on how to synchronize things through DAQmx and you should be good.
    Good luck!
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Running Both PSE 7 and Photoshop CS4 Trial

    Hi, I am new to this forum and would like to ask if it is possible to run both PSE 7 and PS CS4 on the same computer.
    I am currently a PS Elements 7 user, and would like try the Photoshop CS 4 trial version, and possibly buy it if I decide that the added features will useful to me.
    But I do not want to have to uninstall PSE 7 for this trial period.
    Also if I decide to buy PS CS4 then would I be able to keep PSE7 installed also, in case for any reason I want to run it ( eg a friend might ask me a question about PSE7, then I can go and look at that issue on PSE7 on my own computer).
    Also, can I run both these programs simultaneously, or is it just one at a time that is possible? That would not be a major problem as long as I could have both installed at the same time.
    Any advice on the grounds rules for this, or any caveats etc would be much appreciated, thanks.

    Buko. wrote:
    John Joslin wrote:
    (It is probably not possible to run them simultaneously.)
    Whoa! You can't have 2 or 3 versions of the same app open & running on Windows? I find that limiting.
    and Elements isn't even the same app as Photoshop.
    You can run both on a Mac.
    I never needed to have 2 or 3 versions of the same app open & running but I understand it's not possible on Windows.
    I never owned Elements – I was just being cautious.

  • Disconnect​ing from a running subvi (i.e., fork)

    Is there a way to start a subvi running, but not wait for it to finish?  That is, to fork or disconnect from the subprocess?
    For example, my main timing program starts subvi 1 at certain intervals (say, 10 seconds).  This subvi will, based on certain conditions, run subvi 2.  Subvi 2 will take longer than 10 seconds to complete its job, but subvi 1 needs to be completed and ready to run again when the timing program calls it again 10 seconds later.  It will not call subvi 2 this time, knowing it has not completed its job.
    Thanks,
    Karl.

    Your SubVI1 needs to open a VI reference for SubVI2. This will load SubVI2 into memory. Normally I do this when starting the application. You have to provide a path to the Open VI Reference primitive and be aware that the path will change from development environment to built application.
    Use this reference in SubVI1 to start SubVI2 with the invoke node "Run VI". You can set the Invoke node not to wait until completion. This will start the execution of SubVI2. If for any reason SubVI2 is running when calling the node you will get an error in the error out of the Invoke node but SubVI2 will continue running.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • My new 8th gen iPod nano is 'not recognized' by my computer. My computer runs on Windows 7, and I've installed and updated the latest versions of itunes etc, but still to no avail! I've tried different usb ports, troubleshooting...

    My computer runs on Windows 7, and I've installed and updated the latest versions of itunes etc, but still to no avail! I've tried different usb ports, troubleshooting, etc... But it still says "One of the USB decuces arrached to this omputer has malfunctioned and windows does not recognize it".
    The iPod is brand new, sent to me by Apple as part of the 1st gen replacement programme. I've been using the cable that came with the 1st gen iPod (I bought the first gen second hand) It always worked on my computer with the 1st gen iPod. So I was wondering, do you think I need to replace my cable in order for my PC to recognize my iPod or is it something else?
    Thanks

    Try a different cable. And are you connecting directly to your computer or through a USB hub?

  • I am trying to run my registered CS6 Design Standard programs for the first time after install. InDesign runs OK, but Illustrator and Photoshop will only run in trail mode. How do I activate those two?

    I can't get my registered versions of CS6 Photoshop and Illustrator to run in full mode. I installed CS6 Design Standard online end of June (an upgrade from CS5.5), on my old MacBook Pro. I didn't run the programs then as I was waiting on arrival of new MacBook Pro. I migrated the programs from my old MacBook to the new, and today tried to run those programs for the first time. InDesign work OK (after an initial hiccup) but Illustrator and Photoshop will only run in trial mode, and won't let me save files. My CS6 Design Standard shows with it's registration in my Adobe Account. All seems in order, but Illustrator and Photoshop won't run in registered mode. Can you please help?

    Demons1 in the future please only migrate your documents and settings.
    Please use the uninstallers to remove your current installation.  They are located in the Applications/Utilities/Adobe Installers folder.  Once the uninstall is complete you will also want to run the CC Cleaner Tool.  You can find more details at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
    If you need to download a fresh copy of the installation files for Creative Suite 6 you can do so at Download CS6 products.

Maybe you are looking for

  • LR 4 Library: Images not fully loading (unsharp)

    I'm editing some images ready to send to a client and I find that some them do not become fully sharp, when viewed in the library module, in loup view.  Of the 14 images showing in one folder (selected with "pick") only the first 2 are sharp when vie

  • Downloaded audio books from library website. How do I get it to appear in audiobooks on my ipod.

    I have downloaded audiobooks from a library website.  The books are listed under RECENTLY ADDED.  The only way I can listen to a book on my ipod is to listen as a playlist.  How do I get the book to show up in AUDIOBOOKS?

  • Power failed during update now won't restart

    Had a power failure while the iMac was doing updates. Now I have a white apple screen and the grey spinning wheel on start and that's all I get. What do I do now?

  • Backup (Umbrella)

    I recently decided to wipe my mac and before i did so back it up. Now at this point i did not know that you had to use time machine so i just typed in backup and used the program called 'Backup' now after wiping my computer, i found that backup does

  • Macro to compare CSV and Excel file

    Team, Do we have any macro to compare CSV and Excel file. 1) In Excel we should have two text boxes asking the user to select the files from the path where they have Stored 2) First Text is for CSV file 3) Second Text box is for Excel file 4) We Shou