NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

Hantek DDS-3005 advancing memory method

I have a Hantek USB DDS-3005 Arbitrary waveform generator.  I have their very basic example VI code.  However the example code does not download very large waveforms. The manufacurers application and device can do 256k samples. I would like to control the device from LabVIEW. But the LabVIEW example code does much smaller like 10Ksample downloads only.  I believe the method is to parse the file and download in pieces while advancing the memory address pointer. But I cannot figure out how to do this successfully. I can download one peice up to a maximum then I get "download not successful" error after that. If I try to do the whole file in one download the device locks up. The example code is provided through a "Call Library Function Node" and a "developers manual" as a elementary set of examples in a difficult translation from Chinese for standard text programming languages.

Solutions would be appreciated.

 

Thanks

John

0 项奖励
1 条消息(共 3 条)
4,527 次查看

hi

would you please share us with the example code?

 

AE

NI Shanghai

0 项奖励
2 条消息(共 3 条)
4,502 次查看

I have added 3 files;

one "DDS-3005.vi" which is the original example vi provided by the manufacturer.

two I have added a vi that I have upgraded a bit for better use in my application.  Also note that I have added in my "upgrade" some text in a "tabbed control" which was provided by the manufacturer as an instruction manual for code developers. (in English)

three, Also included is a sample waveform file for download and output should you have an actual device to use.

 

So far I have a partially successful use of the device with internally triggered single waveform output, however limited to only files of size 16k samples or less. which is very small for my needs.

 

Thank you,

0 项奖励
3 条消息(共 3 条)
4,471 次查看