Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6733 out put signals

I know how to output 8 different signals from one hws file to a PXI 6733.But I have a weired  application to perform. We need the first 4 channel of 6733 output one kind wave from a .hws file. the other 4 channel out put another wave from another .hws file.It means first four channel output the same signal,the other 4 output same kind of signal. one 6733 out put two kind signals. I want to know hwo to arrange the buffer to reach this need.Please give some advice.

 

Best Regards

0 Kudos
Message 1 of 4
(3,148 Views)

Duplicate post, but let's keep this on this thread since the issue isn't the same the one on the other thread you posted on.

 

Reposting my last response from the other thread:

 

Hi Maevebj,

 

Are you using DAQmx to program the 6733?  If so, you will need to combine the data from each hws file into a single array.  You can input the data to DAQmx Write as a either a 1-D array of waveforms (each element corresponds to a single channel) or as a 2D array of voltages.  I like the 1D array of waveforms, the following code should give you an idea of what you need to do:

 

Concatenate Waveforms from Multiple HWS Files


 

 

 

 

If you run into any issues you are more than welcome to post back here and let us know what you have so far.  Are you using LabVIEW to program your application?

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 4
(3,140 Views)

Hello,John,

 

I am using CVI. I try to output 8 signals to one 6733.  each channel have to output 1M samples continuously.the data are stored in two .hws files.

I set the DAQmx_Val_DoNotAllowRegen attribute.

With the large number samples, do I need to combine them to one .hws file with 8M samples? or put the 8M data to one big aaray?Please give some advice.Thanks.

 

Maeve Wang

0 Kudos
Message 3 of 4
(3,038 Views)

Hi Maeve,

 

You could either combine all of the data into a single .hws file or you could read from each .hws file and combine the data into a single array before calling DAQmx Write.  If you need more help doing the data manipulation in CVI you might want to try the LabWindows/CVI forum.

 

If you're just looping the same 1M samples, you should Allow Regeneration and write the data a single time before you start the task.  The DAQmx driver will store the 8M samples in a buffer in your computer's memory and will continuously stream the data to your 6733 as space in the on-board FIFO becomes available.

 

 

Best Regards,

John Passiak
0 Kudos
Message 4 of 4
(3,021 Views)