Brian F.
2007-05-09 14:10:13 UTC
Hello.
Thank you for posting to the NI Discussion Forums.
What method are you using to output the digital signals? Are you using waveform generation so the outputs can be hardware timed? If so, I invite you to check out the M Series User Manual located at: M Series User Manual<a href="http://www.ni.com/pdf/manuals/371022g.pdf" target="_blank"> http://www.ni.com/pdf/manuals/371022g.pdf</a> I found pages starting at 6-5 very helpful. A few passages that may be helpful are:
"You can generate digital waveforms on the Port 0 DIO lines. The DO waveform generation FIFO stores the digital samples. M Series devices have a DMA controller dedicated to moving data from the system memory to the DO waveform generation FIFO. The DAQ device moves samples from the FIFO to the DIO terminals on each rising or falling edge of a clock signal, do/SampleClock. You can configure each DIO signal to be an input, a static output, or a digital waveform generation output." So, all digital signals will be moved to all lines of Port 0 at the same time if you provide all lines data. This also points out that do/SampleClock is the clock that controls this output.In regards to question 3, "Use the DO Sample Clock (do/SampleClock) signal to update the DO terminals with the next sample from the DO waveform generation FIFO. M Series devices do not have the ability to divide down a timebase to produce an internal DO Sample Clock for digital waveform generation. Therefore, you must route an external signal or one of many internal signals from another subsystem to be the DO Sample Clock."
Finally, refer to page 6-4 for an answer to question #2. If you wish to know how to program this in LabVIEW, I would invite you to look at our Example Finder. This can be accessed by clicking on Help>>Find Examples when on the Front Panel or Block Diagram. Here you will see a directory structure of examples. Please click on Hardware Input and Output>>DAQmx>>Digital Measurements or Digital Generation. There are a lot of great examples here that will help get you started. Let me know if there is anything else we can do for you. Have a great day!
Brian FApplications EngineerNational InstrumentsMessage Edited by Brian F. on 05-09-2007 08:51 AM
Thank you for posting to the NI Discussion Forums.
What method are you using to output the digital signals? Are you using waveform generation so the outputs can be hardware timed? If so, I invite you to check out the M Series User Manual located at: M Series User Manual<a href="http://www.ni.com/pdf/manuals/371022g.pdf" target="_blank"> http://www.ni.com/pdf/manuals/371022g.pdf</a> I found pages starting at 6-5 very helpful. A few passages that may be helpful are:
"You can generate digital waveforms on the Port 0 DIO lines. The DO waveform generation FIFO stores the digital samples. M Series devices have a DMA controller dedicated to moving data from the system memory to the DO waveform generation FIFO. The DAQ device moves samples from the FIFO to the DIO terminals on each rising or falling edge of a clock signal, do/SampleClock. You can configure each DIO signal to be an input, a static output, or a digital waveform generation output." So, all digital signals will be moved to all lines of Port 0 at the same time if you provide all lines data. This also points out that do/SampleClock is the clock that controls this output.In regards to question 3, "Use the DO Sample Clock (do/SampleClock) signal to update the DO terminals with the next sample from the DO waveform generation FIFO. M Series devices do not have the ability to divide down a timebase to produce an internal DO Sample Clock for digital waveform generation. Therefore, you must route an external signal or one of many internal signals from another subsystem to be the DO Sample Clock."
Finally, refer to page 6-4 for an answer to question #2. If you wish to know how to program this in LabVIEW, I would invite you to look at our Example Finder. This can be accessed by clicking on Help>>Find Examples when on the Front Panel or Block Diagram. Here you will see a directory structure of examples. Please click on Hardware Input and Output>>DAQmx>>Digital Measurements or Digital Generation. There are a lot of great examples here that will help get you started. Let me know if there is anything else we can do for you. Have a great day!
Brian FApplications EngineerNational InstrumentsMessage Edited by Brian F. on 05-09-2007 08:51 AM