What is the best way to pass a controllin​g signal out of a sub vi or more than one layer of for loop, while the sub vi or for loops are still running?

I have a vi that runs through two for loops and a while loop, then after a certain number of iterations on the inner while loop it is supposed to pass a trigger to a case stucture to start measurement. I have tried using a local variable attached to a boolean control which in turn is attached to the true case of the case structure involving the measurement sub vi. What is happening is that the boolean control will light on the front panel at the correct # of iterations in the while loop, as if true, but the measurement is not taken, and the boolean control never goes back to false. It remains lit. Am I u
sing the local variable incorrectly? If so, where am I going wrong.
Attachments:
GL_Flicker.vi ‏118 KB
Take_Measurements.vi ‏147 KB

Hello planar,
There are multiple ways to pass control information between loops and VIs and each one has its place. For simple VIs like your example, a local variable will be fine.
The main reason the subVI is not running is that the case structure is not continuously polling the Boolean control. This is because the case structure is not inside a loop and as such will only read the Boolean value once and execute once. Encasing the case structure and control inside the while loop should solve the issue of the subVI not running.
You may find the following links of help in creating more robust and advanced VI architectures.
Application Design Patter
ns: Master/Slave
LabVIEW Application Design Patterns
Keep up to date on the latest PXI news at twitter.com/pxi

Similar Messages

  • I'd like Time Machine to backup my personal account's files separately from my guest account's files. Both have big files.  What's the best way to do this?  Should I connect 2 external HD to my new iMac, one for each account?

    I'd like Time Machine to backup my personal account's files separately from my guest account's files. Both have big files.  What's the best way to do this?  Should I connect 2 external HD to my new iMac, one for each account?

    NeuroBrain wrote:
    Since my new external hard drive is have a lot of space, I'm thinking of splitting it for Time Machine and external storage.
    This is a common mistake and I highly advise against it.
    1: TimeMachine saves states of changes and thus requires more room on the TM drive than the boot drive it's backing up.
    2: Something happens to the TM drive, loss, theft, dropped, power surge, etc., you lose both backups.
    3: The storage drive might become a portable need, with it being on the TM drive, now your increasing the risk to the TM backup that something could happen to it along with the storage drive, due to increased movement.
    Seriously, have a read,
    Most commonly used backup methods
    it's ASC User Tip that saves us regulars all the trouble of having to repeat ourselves over and over again in the posts, because we tend to forget things too, or not here sometimes etc.
    "Plan for the worst and the good will take care of itself" - Donald Trump

  • Is there a way to delete more than one photo at a time in the Photo application?

    Is there a way to delete more than one photo at a time in the application Photos in the iPad? Thanks.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • Can I have more than one version of adobe reader at the same time?

    can I have more than one version of adobe reader at the same time?

    If I may add a qualification: on a device running full Windows 8, you may have both Adobe Reader Touch and Adobe Reader (normal desktop edition). This does not apply to the primitive devices which cannot run desktop apps (running "Windows RT"), and while I may be wrong, I believe that the Surface 2 is such a device.

  • Is there a way to lock transparent pixels for more than one layer at a time?

    I've tried selecting multiple layers to modify but the lock transparent pixels box becomes greyed out once I've selected more than one layer. Apologies in advance if this is deemed to be a stupid question but it would be greatly appreciated if someone knows of a solution. It would be very handy for some of the projects I'm currently developing.
    Thanks.

    I have not had a problem in Photoshop CC 2014 as long as I selected a layer with transparency, in my case the gray checkerboard. The button would dim if I selected an adjustment layer.

  • If I have more than one I phone can I use the same apple ID for all off them?

    If I have more than one I phone can I use the same apple ID for all off them?

    Yes. You can have multiple iPhones on the same ID, up to the maximum 5 total devices. FaceTime will use the sim number for calls and you can configure each phone separately, or configure one and then back it up to iTunes and them restore the image to the others.

  • Is there a way to delete more than one layer at a time?

    As you would with regular files. I can't seem to highlight more than one layer at a time. I also tried linking the layers to be deleted but that didn't work either. Am I trying to do the impossible?

    Try;
    V+backspace then enter.
    On photoshop elements 1,2 and 3 this deletes only
    the layer that is selected, not the layers linked to it.
    On photoshop elements 4,5,6,7 and 8 this deletes the
    selected layer or layers.
    MTSTUNER

  • Can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0

    can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0 or Iphone 4s or Ipad 2?

    You can only connect to one device at a time using Bluetooth, See article below for more information.
    http://support.apple.com/kb/ht1664
    While your iOS device can maintain multiple pairing records, it can only connect to one headset or hands-free device at a time. This prevents your iOS device from sending your data to the wrong Bluetooth accessory.

  • I downloaded Adobe Acrobat X in 2010 and then a few years later I got a new computer and I would like to install the Adobe Acrobat X on my new computer but I cannot tell if I had more than one license and my Adobe account is not showing that I ever downlo

    I downloaded Adobe Acrobat X in 2010 and then a few years later I got a new computer and I would like to install the Adobe Acrobat X on my new computer but I cannot tell if I had more than one license and my Adobe account is not showing that I ever downloaded or ordered anything.  Can you assist?

    Download/install it from http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html and activate it with your serial number.

  • Can more than one email get a copy of the form filled out

    Can more than one email get a copy of the form filled out?  Not a link but the data from the form.

    I have the copy of the form coming to my main email but I need it to go to a second email address.  right now the 2nd email address only gets a link.  I do not want them to have access to the account only to get a copy of the data.  I have them set up under Email Notifications as a "reader".

  • What is the best way to pass a constant to a cin expecting a pointer to a value?

    I have a cin which has a leg that is expecting a pointer to a value. On the diagram, what is the best way to connect a constant widget to this leg of the cin? Connecting it directly crashes labview as it treats the constant as a pointer to memory.
    Thanks

    I am not sure that I understand your issue. CIN variables can be Input-Output or Output only. Either way, they are being passed in as a pointer to a value. You can see this very easily by placing down a CIN and wiring a constant integer to it. Next, right-click on the CIN and create the C file. You will see that the parameter list has an int* in it.
    If you are still having problems, do you have to create a CIN or can you create a DLL instead? The DLL will give you a few more ways to pass the data than a CIN does with no real performance decrease.
    Also, have you read the "Using External Code in LabVIEW" manual? This hsould answer some questions as well.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • HT4437 is there a way to connect my ipad with airplay to more than one airplay enabled speaker? at the moment it allows me to connect to only one?

    is there a way to connect my ipad using airplay to more than one airplay enabled speaker?  when i tap the airplay icon on my ipad i see the list of all the speakers in each room but i can only connect to one at a time. Itunes, on my laptop, allows me to connec to all of them at the same time but Music on my ipad allows me to choose only one speaker at a time. Can several be connected at the same time using Music on Ipad or iphone?

    That's great, but not what we want to do. I've been looking at all the boards for a solution to this and, you are correct. There isn't one - at least not one native to iOS. What I think EricB2 would like, as well as many of us, is the ability to take any audio stream (pandora, tune-in radio, etc.) and stream directly to multiple airplay devices from our iPads and iPhones without having to use the computer. Just walk into the house from the car, hit a button on the iDevice and start listening to the same stream we were listening to in the car on all of our home speakers. I know, this is like science fiction.  My own opinion is that it would cut into Apples lucrative iTunes business model and really isn't in their best interest, so I don't think it will be happening anytime soon. Bottom line is if you want to use your Apple devices for whole house streaming, you need a computer and music from iTunes($$). Otherwise it's $$ out of Apples pocket.

  • On my iPad 3, how do I make calendar items lasting more than one day appear as such on the monthly view of my calendar? Right now only the first day of the item appears.

    On iPad 3, all of my calendar items lasting more than one day do not appear correctly when looking at the monthly view of the calendar; only the first day of the appointment appears. For example, if I am taking a vacation for 4 days, only the first day of the vacation is marked on the calendar, instead of being listed on all 4 days. When I look at the weekly view, however, it is correct and is listed on all 4 days. The problem here of course is that at a glance, there is no way to look at my monthly schedule. On my iPhone, everything is correct, regardless of month or week view, so clearly this is an iPad problem I guess? Please advise on how this can be corrected. Thank you!

    Unfortunately you can't do what you want. Many people have complained to Apple about this. I suggest you provide Apple feedback directly at http://www.apple.com/feedback/macosx.html. They will not provide a direct response but hopefully if enough people provide feedback Apple will fix this.

  • How to control more than one instrument via different interfaces at the same time

    Hi, I am new to Labview.  I am working in a project where I have to make a Automated testing tool . So, here is the set up -  I have a Chip on a board to which there are several instruments connected namely Agilent power supply, Agilent pattern generator, oscilloscope,Dmm and Thermotron. All these instruments will be connected to the host computer via ethernet, GPIB or RS232. I have to write a program on Labview where the program  should be able to communicate with these  instruments  at  the same time  and show the ouput  on display unit . I have to run the program once, should be able to view the ouputs. So, Is it possible to write such program in Labview??.  I have  downloaded  few instuments  drivers. Is it possible to combine those intrument drivers and construct a new VI which would be able to control all this ??   Will it be easier to program this on Labview or  I should  go for Labwindows/CVI  ??.
    Please mention some useful sites or tips (if u know) for writing program.
    Thanks in advance
    shasanka

    Hi Shasanka,
    ofcourse it's possible to control more than one instrument at a time.
    You should use the VISA routines to access all your devices. Every device get it's 'address' as 'VISA resource name'. This resource name contains information on the used bussystem and the (internal) device address (i.e. GPIB devices have an address number).
    So I suggest to read the manual and to look at the examples that come with LabView!
    And (from your question) it seems you should take the 3 or 6 hour seminar as well! (Look at www.ni.com -> academics.)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Is it possible to place more than one Item on same line on the FORM

    Can we placed more than one Item on the form?
    for ex: I want to use TextFields to input the Date of birth in form of DD/MM/YY
    I want to put on the form like
    Enter DOB :- DD MM YYYY
    Please suggest if it is possible any way in J2ME

    It will depend on the phone. There is no way of knowing if the items actually will be on the same line or not. On a phone with a small screen, the items are likely to end up on two lines.
    You can however make sure that the lines will occupy two lines by using the setLayout(int layout) method which belongs to the Item class.

Maybe you are looking for

  • How to Schedule a V3 Job

    Hi How to schedule a V3 job in ECC to execute at reqular intervals Thanks

  • Very slow printing on 10.6 server

    Hi, I've got a Mac Mini Server running up to date SL server. I have two printers hooked up to it, one HP laserjet and one Canon Pixma. Both up to date drivers. The printer server is set up and both printers work perfectly when printing locally from t

  • Problem with CustomCellRender && CustomCellEditor....

    Hi to every one, can any one help me to solve this problem. I have a Custom cell renderer and custom cell editor. so the requirement is i want a "Check Box" when the object is of type Boolean else I want "TextField". ->Like mixing of both "Check Box"

  • The remote server returned an error: (405) Method Not Allowed.

    Hello I wrote this code for search in Google and retrieved the result. But I have the error on Bold part of the code. I got this code from: http://revenmerchantservices.com/post/2009/05/26/HttpWebRequest-Post-method.aspx  private void button1_Click(o

  • Print script data in ocr format

    Hi, I wanted to print one line in script in OCR format. Wanted to know how to do this. Thanks in advance