Electronic Engineer Discuss

Title: [6074BD] Hantek SKD : cannot set the VTrigger properly [Print this page]

Author: ArnaudB    Time: 2021-12-18 01:52
Title: [6074BD] Hantek SKD : cannot set the VTrigger properly
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


Author: e_admin    Time: 2021-12-18 16:30



I cannot fully understand your problem
if you want fired the 2V amplitude
here is my advice:
set CH1 to 500mV  DIv
set CH1 pos to 128;
set triggerLevel to  150;

the it will fired proper







Welcome to Electronic Engineer Discuss (https://www.eediscuss.com/) Powered by Discuz! X3.2