My goal is to completely automate a FGEN sweep across my DUT and capture the waveforms on a .csv file. (screenshot attached)
At this point I've been able to code the FGEN sweep in a loop and either display analog waveforms on VI or save data to .csv file. However, using the write waveform to data file .vi requires entering a file name every loop iteration that save data. I want to be able to walk away from test station as my code runs. The Smart Capture feature appears to be a solution but here's what I can't figure out how to do...
The smart capture feature requires a "stable time" before taking data. The feature will auto-capture data when controlling FGEN through virtual bench interface app, but not when I run my labview code, which turns on FGEN and displays a waveform in both my vi front panel and virtual bench interface app, but the smart capture feature won't take a capture/data screenshot when my waveform stabilizes. I've even added a wait time in loop to allow waveform to stabilize and stay on displays so the smartcapture feature may record data.
Is there a way I can call the data capture function on VitrualBench interface app through labview?
thanks for any help