11-11-2005 07:39 PM
11-15-2005
10:02 AM
- last edited on
05-29-2025
08:38 AM
by
Content Cleaner
Bethany,
The Traditional Compatibility VIs may be the quickest (albeit not the cleanest) way to get your application working in DAQmx:
http://digital.ni.com/softlib.nsf/websearch/9D67F671BCC6850586256E630059308B?opendocument&node=132060_US
Make sure to read the help and notes that come with these VIs to determine if they will work with your application.
Keep in mind that these VIs are more of a band-aid solution and it is recommended that you properly implement your code in DAQmx.
I would recommend taking a look at the DAQmx examples to see how to input and output information. The DAQmx examples are located in the Example Finder: Help » Find Examples » Hardware Input and Output » DAQmx. Based on what I can see in your application, these examples would be useful:
Analog outputs: Analog Generation » Voltage » Gen Voltage Update.vi
Single Point Analog Inputs: Analog Measurements » Slow Varying Voltage Signals » Acq One Sample.vi
Digital Outputs: Digital Generation » Write Digital Chan.vi
Keep in mind that working with multiple channels for a given type of input/output that you will want to use one task for mutliple channels (and simply specify multiple channels in those tasks).
The following documents are also very useful and I highly recommend taking a little bit of time to read them -- they will save you time later:
Learn 10 Functions in DAQmx and solve 80% of Data Acquisition Applications:
https://www.ni.com/en/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-handl...
Terminology changes from Traditional DAQ to DAQmx:
https://www.ni.com/en/support/documentation/supplemental/18/sampling-terminology-for-ni-daqmx-and-tr...
Frequently Asked Questions about DAQmx vs. Traditional DAQ:
https://www.ni.com/en/support/documentation/supplemental/06/answers-to-frequently-asked-questions-ab...
Cheers,