The items in the Acquisition settings are as follows:
- Desired sample interval (microseconds) - specify the time interval between samples; you can set this to 1000 for 1kHz. Please also refer to the ps4000RunStreaming function on how to specify the time unit
- Pre-trigger samples - the maximum number of raw samples before a trigger condition for each enabled channel.
- Post-trigger samples - the maximum number of raw samples after a trigger condition for each enabled channel.
- Down-sample ratio - this is a ratio used to reduce the number of samples returned from the driver e.g. when using aggregated mode. If you want all the raw data, leave this as 1.
- Auto stop - tells the driver to stop collecting data once the required number of post-trigger samples has been collected following a trigger event.
- Four Channel Device? - Set this to true if you have a 4-channel oscilloscope.
If a trigger is not specified, then the sum of pre-trigger and post-trigger samples is the maximum number of unaggregated samples.
It is a good idea to follow through the block diagram in the vi and cross reference the Call Function Library Node block to the corresponding function in Programmer's Guide in the Software Development Kit as this will help you to understand how to adapt the example for your application.The only exception to this would be the wrapper function used in the GetStreamingLatestValues block.
I hope this helps.