04-18-2007 02:21 AM
04-25-2007 06:45 AM
Hello,
The explication of that is described below:
The 9401 is a very fast digital input / output card capable of speeds well over 20KHz, but not if using an On-Demand task. The only way to repeatedly output On-Demand is to place the DAQmx write VI inside of a loop. The frequency of the signal will be controlled by how quickly the loop iterates, which means that the timing of the task is controlled by the delay of the loop. This can be adjusted using timing VIs, but is also affected by any other VIs in the loop, the speed of the computer, and the availability of any processor time.
Did you try to make the same test with only one loop (at the top) and to delete the loop at the bottom of the diagram and to put directly the value in ms for the timing parameter?
You can achieve much higher speeds with tremendous accuracy if you use hardware timing, which requires the sample clock VI and a Continuous or N-Sample task.
Regards.
09-29-2008 03:05 PM
I am actually attempting to do the same thing with the same hardware. I only have LabView 8.0, so I'm unable to view the original poster's vi's. It sounds like I have used a different approach. I eventually would like to use much higher data rates (MHz), if possible.
I believe I have properly set up the clock using the DAQ Assistant. I have verified, at lower frequencies, that the clock is outputting. Next, I want the user to choose what data is sent from 4 different enum's. Each enum controls 2 bits in the byte to be sent. I was able to send out the appropriate data on command to a Digital Waveform Graph (it worked perfectly). What I cannot figure out is how to get this data to my hardware. I don't have much experience in this area.
Eventually, I would like to get away from using the DAQ hardware and just use conventional PC hardware. Any help you could give will be greatly appreciated.