Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you time a digital IO waveform with a Daq-Card 6024E

Solved!
Go to solution
For some while I have a Daq-Card 6024E. I'm trieing to generate a digital waveform from the digital IO of the card. I can generate a digital waveform but the timing of the waveform isn't used for timing of the digital output. Thus the signal is processed as fast as posible by the Daq-Card. The problem and my question is how do I control the timing of the digital waveform with the Daq-Card?
0 Kudos
Message 1 of 5
(4,034 Views)
As the specs say, the timing of the digital I/O is software based so the output rate is going to depend on your code, the pc, the os, etc.
Message 2 of 5
(4,027 Views)

The output rate is software based. But building an digital waveform and specifing the dt is setting your timing software based or is this a wrong conclusion? Or is the device incapible of setting timing to the digital output and it will always run at the speed the pc/os/code delivers the data to the device? 

Message 3 of 5
(4,016 Views)

For example: I want to update at 2khz. Setting an update rate in a while loop of for loop would make this imposible because the update rate of the loop and the daqmx code makes this imposible. If i trie to extend the waveform the updates between the data wil be at the maximum speed of the pc/os. The dt function of the waveform seems the be ignored. And the timing block of the Daqmx function always gives an error so I can't use that one. 

 

The timing VI of Daqmx gives me constanly an error. Did I used the timing vi of daqmx wrong and if ive done that how should I use the timing VI?

0 Kudos
Message 4 of 5
(4,014 Views)
Solution
Accepted by topic author GJMABerends
If you want the dt to work and if you want to use the timing function, then you would need to buy a DAQ card with hardware timed digital I/O. The board you have simply has no circuitry to make use of the dt setting and DAQmx is smart enough to recognize that when you try to use a timing function.
Message 5 of 5
(4,011 Views)