Can anyone point me to the correct units of the threshold argument in the SetSiggenBuiltIn function? Currently, I am supplying a 3.4V square wave pulse into the Ext port in order to trigger the AWG on my Picoscope 5444B. I am looking to set the threshold high enough so that this does not set the trigger off. This will confirm that the threshold is working. At the moment, no matter what value I set the threshold to, my 3.4V pulse will always set off the trigger.
Where I have tried many values of THRESHOLD from 4e7 down to just 4 to try and set the threshold as 4V. I have also tried using the adc count value of 32,765. None of these stop my 3.4V pulse setting off the sweep.
Thank you for your response. That guide was exactly what I was looking for. However, I have set the threshold value to 4V (26214) and applied a DC voltage to the ExtIn to slowly ramp it up to to 4V in order to see the trigger. However, the trigger is never set off unless the input signal is just noise.
When I turn the DC voltage down to 0V, it sets off the trigger. I set 'sweeps' to 2 so that the wave does a full UpDown sweep per trigger. It will continue to trigger on noise but then stop as soon as I apply any voltage.
With an analogue signal, it will trigger immediately no matter what the signal due to the level of noise. I am really stuck with this!! All I require is my sine wave to do an UpDown sweep each time it recieves a 3V square wave pulse.
I am using a 64 bit system. On opening the picoscope it says that the driver version is 1.1.4.42. I am using the 'PS5000AStreamingCon.cs' file to run the AWG.
*****
C# PS5000a driver example program
Version 1.2