LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPCTR dynamic change the dac update rate

Hi
in the labview 6.1 how can i dynamic change the update rate of the dac channel for E serial board?
 
Best regards
s. chai
0 Kudos
Message 1 of 5
(2,703 Views)

Hey,

It would be very helpfull if you would explain your question a little bit more detailed, because dynamic could be understood in different ways.

You can change the sample rate only by stopping the Task, this don't relates to LabVIEW but to the driver API (either traditional DAQ or DAQmx).

Christian

0 Kudos
Message 2 of 5
(2,692 Views)

My idea is that i can put the waveform in the buffer of the board and then trigger single point output by using GPTC. therefore  i control dac update by change the frequency of GPCTR. the problem is that i do not know how can i achieve that. can you give me some example?

0 Kudos
Message 3 of 5
(2,679 Views)

Hey,

You will find examples under ...\LabVIEWx.x\examples\DAQmx\ - if you are using DAQmx - or LabVIEWx.x\examples\DAQ - if you are using the traditional DAQ driver for your E-Series board. I assume you are using LabVIEW out ot the sub-forum you started this thread.

So you want to generate a signal on the DAQ cards AO channel using counters to change the frequency dynamically. Anyway you will have to stop either the counter or the AO Task to change the frequency via software because its part of the Task configuration where the Task is unveryfied.

Christian



Message Edited by Christian_M on 01-09-2008 01:30 AM
0 Kudos
Message 4 of 5
(2,658 Views)
I found some examples, using other ways changing the frequency, attached you will find one of them:
0 Kudos
Message 5 of 5
(2,655 Views)