Hello Sebastian,
The screenshot of your blockdiagram was more helpful than the screenshot of your front panel. The reason that your graph might be jumping around is that you are calling AutoSetup
during each iteration of the while loop. You are correct to keep the Close operation outside of the while loop and need to
move the initialize and autosetup outside of the loop also. Also, try running the Acquire Continuous Waveform Example VI and see if you get the same data that is on the scope. Please use the reference square wave that is on the scope, so we can both use the same signal.
As far as the IVI driver goes, have you turned on Context Help in LabVIEW (Ctrl+H) and then moused over the controls that you are curious about? Here is the context help for Min Record Length:
Pass the minimum number of points you require in the waveform record for each channel. The driver sets the Horizontal Minimum Number of Points property to this value and configures the record length that the oscilloscope uses for waveform acquisition. Call the ag3000 Actual Record Length.vi to obtain the actual record length.
Valid Range: The maximum value you can select for this property depends on the value you specify for the Horizontal Time Per Record property as shown below.
5.0e-9: 600
50.0e-9: 600
100.0e-9: 600
500.0e-9: 600
1.0e-6: 600
other: 1200
Default Value: 1200
Notes:
(1) The oscilloscope may use different size records depending on the horz. time per record.
Cheers,
NathanT