Electronic Engineer Discuss

View: 4548|Reply: 1
Print Prev. thread Next thread

[6074BD] Hantek SKD : cannot set the VTrigger properly

[Copy link]

3

Threads

6

Posts

6

Credits

新手上路

Rank: 1

Credits
6
Jump to specified page
1#
Post time 2021-12-18 01:52:35 | Show the author posts only Reply Awards |Descending |Read mode
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

Reply

Use magic Report

3

Threads

9

Posts

9

Credits

新手上路

Rank: 1

Credits
9
2#
Post time 2021-12-18 16:30:43 | Show the author posts only



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


You have to log in before you can reply Login | Register

Points Rules

Dark room|Mobile|Archiver|Electronic Engineer Discuss

2024-4-30 13:06 GMT+8 , Processed in 0.200012 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list