Quantcast
Viewing all articles
Browse latest Browse all 203364

Re: buffered analog output generation

after reading a lot over internet, I tried generate buffered analog output.

Steps i followed:

1. DAQmx create channel with physical channels

2. Output buffer configuration

3. Timing sample set to sample clock(Continuous Samples)

4. DAQmx write property node with (donot allow regenration)

5. DAQx Write (data input to this is a 2D array) with auto start =false

6. DAQmx start

7. while loop inside this

8  Again input to the daqmx write(with auto start enabled and thereis no start task vi) is 2D array

9. outside while loop stop and cleartask vi's.

My sampling rate is 1000hz , please suggest me ideal buffer size which i should use and samples per channel

 

Also I tried to monitor the number of updates done in the write vi (in while loop) it always shows 1000. I think beacuse of which i'm not able to generate signal. i guess my buffer is not filling or something happening which i'm not aware of it. I need generation to be happened because its my urgent task.

 

I cant share the code because it has lot of subvi's and all. But surely i can give remote access


Viewing all articles
Browse latest Browse all 203364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>