DAR0001 Publish time 2019-9-27 20:38:25

H4032L Control over HTLAHard.dll

Dear Hantek Support,

I have two questions about the HTLAHard.dll SDK interface.

The first one: How can I select the external Sampling Inputs: ["CLKARise", "CLKB Rise", "CLKA Fall", "CLKB Fall", "CLKA R or F", "CLKB R orF"] as shown in the attached picture over the HTLAHard.dll?
https://www.eediscuss.com/data/attachment/forum/201802/26/084858w6yalll0lut3sy0m.png

The second one: Wenn I connect one LA-Device to the computer, I getallways true on function call DevConnect(unsigned short nDevIndex) with nDevIndex 0 to 63. I can't determine how many Devices are connected tocomputer.Is ther a possible solution to detect the connected devices?
I have two devices with possible different versions, but I can't check this. The function ReadDevVersion() signature and access withhin the HTLAHard.dll isn't descripted int the SDK_HTLAHardDLL-EN.doc.


kind reguards
René Pecher

wangshuang Publish time 2019-9-29 09:51:52

1.["CLKARise", "CLKB Rise", "CLKA Fall", "CLKB Fall", "CLKA R or F", "CLKB R or F"] in the sample rate list is use for external trigger,the frequence of external signal from these specific terminal is the sample rate ofthese channal.
2.Access devices in order of access, the first access is 0, the second access is 1. And so on.

DAR0001 Publish time 2019-9-29 20:58:14

But how can setup these external sampling triggers over the HTLAHard.dll? In the delivered documentation SDK_HTLAHardDLL-EN.doc are only the internal sampling rates from 400MS - 1kS are descriped.

wangshuang Publish time 2019-9-30 11:53:44

the setup of external sample rate is like internal sample rate,for exampl,set "CLKA Rise" as external rate:"CLKA Rise" // sel = 33".And so on in a similar fashion.

DAR0001 Publish time 2019-9-30 22:43:10

Perfect thank you :)

DAR0001 Publish time 2020-5-30 03:45:31

Hello again,

I have a new question. In the documentation SDK_HTLAHardDLL-EN.doc of the HTLAHard.dll is the function ReadCollectStatus() descriptive. This function returns '0' when the logic analyzer is not triggered and when it is triggered but the data sample / capture is still active. If both are done, the function returns '1'.

Is there a way get only the current trigger state from the device?
Pages: [1]
View full version: H4032L Control over HTLAHard.dll