I'm sure the answer must be that I totally misunderstood something or failed to set some setting, but I've spent days on this and can't figure it out.
I'm using the WaveFormsSDK via C-sharp from a server (what will be a calibration service) to be controlled by a client, currently trying to get surge pulses to trigger an acquisition on AnalogIn (first channel). I can make it work just fine in WaveForms, so I know that the signal path is okay, the settings reasonable, etc. I've tried to set
Hi @zimbot
1. The trigger source should be set to trigsrcDetectorAnalogIn = 2
FDwfAnalogInTriggerSourceSet(hdwf, 2)
2. In order to have 16k sample buffer for Scope make sure to open the device with the 2nd configuration, 1 with 0 based indexing.
FDwfDeviceConfigOpen(-1, 1, &hdwf)
3. With 33MHz and 16k samples you will have 491.52us captures. The trigger position is relative to the middle of the capture.
In order to have the trigger position at left set FDwfAnalogInTrigge