GSR Posted February 24, 2009 Report Share Posted February 24, 2009 Hi, I am rewriting a program. An AI single scan (read the oldest data mode) is needed to translate to DAQmx, but I have no clue how to set the DAQmx read to do the same thing. Does AI single scan equal to read the whole buffer? Or does it equal to read 1 sample? Quote Link to comment
jgcode Posted February 24, 2009 Report Share Posted February 24, 2009 QUOTE (zmarcoz @ Feb 24 2009, 04:13 AM) Hi, I am rewriting a program. An AI single scan (read the oldest data mode) is needed to translate to DAQmx, but I have no clue how to set the DAQmx read to do the same thing. Does AI single scan equal to read the whole buffer? Or does it equal to read 1 sample? I don't have the Traditional DAQ VIs installed but you could easily see if your old application (referring to your other posts) returns the buffer or a single value by checking the datatype returned. Is it numeric = single value; or an array = buffer The DAQmx read is a polymorphic VI that can be set to return a variety of datatypes depending on what mode (i.e finite, continuous, or software on-demand) you have configured the resource to collect in. NI run a DAQmx series - check it out http://zone.ni.com/devzone/cda/tut/p/id/5434' target="_blank">here. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.