I am trying to measure voltage and frequency data on my PXI while sweeping a voltage using a Source-Meter Unit (Keithley 2450).
I am unsure how to best sync up the data I get from the Keithley and that I measure with the PXI.
I am using some internal programs on 2450 that steps through a series of voltages and I want to be measuring other system variables (voltage and frequency) during the sweep. The Keithley provides canned VIs to interact with the 2450 over a USB connection. I have included a screen shot of VI am I modifiying. I want to start the DAQ assistant voltage measurements at approximately the same time as the 2450 gets the "Innitiate" command (the little green VI icon). The Icon with the green flag is a "Wait for operation to complete." The program holds up there until the 2450 tells the PXI that the sweep operation is complete.
The main problem I am having is that I am not sure how to exit the while loop that needs to surround my voltage measurment DAQ assistant block based on the excecution of the "Wait for operation to complete" block.
I hope I am explaining this well enough. My screen shot might help.
Thanks for any help you might be able to provide.