From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change sample/output rate of daqmx (PCI 6733 card) in mid-execution of write.

I would like to change the rate of output for a PCI 6733 card during the course of outputing the task. 

 

I have a sequence of output data, that have different timescales to needing to change them. Most of the sequence can be written out in 100 us increments (at a 10,000 rate) , but for a short while I'd like to be able to output at the max rate of the card (10 MHz), so in 100 ns increments. The problem with changing the entire sequence is it quickly becomes too large a task to write (the first part is >=10 seconds long of 100 us increments).

 

Is there anyway to do this? Or, perhaps seeing the need I have, do you have a suggestion for a different approach?

 

-Abe

0 Kudos
Message 1 of 2
(2,053 Views)

ajolson,

 

I don't think you will be able to do this.

 

The best approach may be to create separate tasks and trigger the faster sampling on a specific event.

 

Regards,

 

Daniel

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,043 Views)