Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx finite and continuous pattern generation.

I use a a NI 6537 PCI card along with DAQmx. I have to write a finite set of samples to the DO. Once done I should immediately write a continuous pattern to it. This transition should happen without the loss in Clock. Is there any way to do it. I use the internal clock of the card

0 Kudos
Message 1 of 2
(5,332 Views)

Hello Vickys,

 

The tricky part here is that the SampleQuantity:SampleMode (continuous vs finite) can't be changed while the task is running.  We could change that property if the task is unreserved, but that will probably cause an undesired interruption in the transmission.

 

finiteThenContinuous.png

 

How long do you need to generate the continuous pattern after the initial finite pattern?  One work around might involve a very large array of patterns that begins with finite starting samples, and is then populated with the other pattern you wish to write 'continuously'.

 

Best regards,

Matthew H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(5,200 Views)