Hi Brian,
Split up your VI for your scope to do the configuration, initiate reading, fetch reading rather than use the Measurement VI or Configure/Read VI's of the scope.
That way you dont have to have 2 VI's running concurrently.
So you can do the following:
Configure your scope, this will include setting trigger to external.
Configure other instruments..
Initiate Scope to take reading. (scope will wait for next trigger to occur)(VI will return to caller)
Generate Trigger...
Poll the status of the scope until completed taking measurement or timeout period
if no errors get measurement using Fetch command.
In TestStand you can have one step that configures the scope.
You would other steps to complete the rest of your setup before the step to initiate any measurement.
Another step to initiate a new reading.
Another to do the polling and a final step to get the measurement using the Fetch command.
Hope this is of some help
Regard
Ray Farmer
Regards
Ray Farmer
