Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Is the VisualC NI-Daq example code correct for DIdoubleBufHandshake653x.c??

If so, why does it call Align_DMA_Buffer?? In the help documentation it says that Align_DMA_Buffer is only for the AT-DIO-32F device and digital I/O pattern generation, whereas this is supposed to be an example for a 653x device and regular handshaking. And that's another thing... why in the example does it say "Start the double-buffered pattern generation input" in the comments, when this isn't even a pattern generation example, but rather a simple dubble buffered handshaking example. Basically, I'm working with Visual C++ and trying to implement continuous digital data logging using double buffering and burst mode handshaking, but I'm not sure how to go about it. Any suggest
ions??? Please Help...
0 Kudos
Message 1 of 2
(3,361 Views)
My suggestion would be to download the January 2001 version of the 653x User Manual. This manual has some block diagrams that show how to use NI-DAQ to perform different digital operations. The manual may be downloaded at www.ni.com/manuals.

As for your questions about the DIdoubleBufHandshake653x.c example, I'm not exactly sure what is going on. I think the comments may be a little loose- although the example is a handshaking example, the term double-buffered pattern generation probably just means buffering is used and there is digital data being generated, but not that the mode is pattern generation mode.

Also, burst mode is not a handshaking mode. As you'll find out in the User Manual, you can perform handshaking or burst mode, but not both.

I hope this clarifies s
ome things.
0 Kudos
Message 2 of 2
(3,361 Views)