From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-19-2007 05:13 AM
04-19-2007 06:51 AM
04-19-2007 08:49 AM
Thanks for that - I feel a bit silly for missing that one. I'm glad you pointed it out as I need to bring my input controls inside the event structure to enable different values to be passed to the subVI - I'd just been testing it using the defaults so hadnt even noticed that bit didnt work either.
Any ideas on the first bit anyone? Any help is always appreciated
Cheers,
Ian
04-20-2007 03:26 AM
Hello Ian,
To run your code I will need you to post your 'Data from Rig V2' VI.
Cheers
Tom
NIUK
04-20-2007 04:09 AM
Thanks Tom,
I've attached it along with the subVI it uses as well
Cheers,
Ian
04-20-2007 04:24 AM
04-20-2007 05:28 AM
04-20-2007 06:01 AM
Hello Ian,
It is generally a bad idea to have two event structures within the same while loop so use one event structure and create different event cases in that one structure. Also you may want to put a timeout by wiring a millisecond constant into the top right hand corner of the event structure named 'Event Timeout.' The graph appears jerky because it will only plot a point when the while loop iterates, which at the moment is being held up by the event structure. If you wire a 200 constant to the Event Timeout terminal the while loop will be held up for 200 ms before passing through the 'Timeout' case and then executing the remainder of its code.
Let me know if this helps.
Tom
NIUK
04-21-2007 04:36 AM