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.
06-15-2009 04:40 PM
Solved! Go to Solution.
06-15-2009 04:45 PM
06-15-2009 04:46 PM
06-16-2009 09:21 AM
06-16-2009 09:47 AM
I don't understand your code. You have a for-loop set to run based on the number of traces, but separate controls for each channel. Use a cluster for the Boolean controls and then use the Cluster to Array function to auto-index your for-loop. Then you can use this to determine which channels have been selected. You're also converting numeric data to dynamic data for a graph (why?), and you don't have anything wired to the Write To Measurement File, so it writes out nothing. You said you may copies of the "Channel 1" VI. Why? Just make one VI with a channel number input. Within the "Channel 1" VI itself you still go through and do a bunch of stuff even if the channel is off. Why?
As for the speed, I can't comment since I don't have the scope, but I'm guessing that the code is wasting time trying to read data from a channel that's off.
06-16-2009 10:00 AM
Why not download the driver from here
06-16-2009 10:00 AM
06-16-2009 10:01 AM
06-16-2009 10:19 AM
A scope application should minimum be like the picture
06-16-2009 10:23 AM