|
Hello,
Im working with the Hantek SDK VC++ 6.0 IDE on a 6074BD model.
Everything works fin except the function dsoSetHTriggerLevel.
I generate a DDS with 2V amplitude, direct current and I connect it to my CH1. The voltage range is 4V.
I tried to set the trigger with dsoSetHTriggerLevel(nDeviceIndex,nPos,nSensitivity). I tested many values for nPos :
- With 0 the trigger is fired at 0V
- With 64 the trigger is fired at -1V
- With 128 to 192 values the trigger is fired at -2V
- With 255 the trigger is fired at 0V again
- With values < 0 and > 255 the trigger is not fired at all.
I could not find any value to fire the trigger from 0V to +2V. Moreover the trigger is never fired on alternative current, whatever value I put for the nPos
There is something I dont understand with that dsoSetHTriggerLevel function. Could someone explain to me how to have my trigger working for the -2V to +2V in both alternative and direct current please ?
Thanks a lot and have a good day!
the trigger is fired
|
|