Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

append data in daqmx buffer

Hello

 

I am working with a NI PXIe-6124 i/o card.

In my project, I have to send multiple times the same waveform except that a new point at each iteration must be added.

Currently in my program, I send each time the whole waveform. This is quite time consuming.

Is it possible with DAQmx property node read/write or direct access to daqmx buffers to simply append a new point in the output buffer and replay the whole buffer ?

 

Is it also possible to read the last point in the buffer and clean it instead of getting the whole buffer in a waveform and then reading the last point ?

 

Thanks in advance for any help.

 

Cedric

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

Hello Cedric,

 

To answer at your question, you don't have access at the on board memory of tha card.

You have to generate the signal at each iteration.

It's possible to reduce the waste of ressource due to the generation of data .

The idea here is to generate a first set of data and reuse it at each iteration (not generate it at each iteration). To trasfer it, you use a shift register.

I send you as joined file a example with an array.

You could use it with a waveform.

 

 

Best regards,

Guillaume D
0 Kudos
Message 2 of 3
(4,184 Views)

Hi Guillaume

 

I cannot open the VI since I use LV 2012, is that possible for you to save for a previous version ?

 

We already use shift registers for the waveform to reduce time. Currently our trouble is the time is takes to transfer the whole data again and again. Will your example reduce that time ?

 

Another question : is that possible to play the same buffer buffer multiple times without having to resend it to the card ?

 

BR

 

Cédric

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