From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-17-2009 04:17 PM
The functions listed below are being used in version 6.0. Can someone tell me what the equivalent functions of the following are in LabVIEW version 8.5?
AO Write
AO Write One Update
AO Start
AO Clear
AO Config
Thanks!
03-17-2009 06:39 PM
If you install the traditional DAQ driver, you have the same functions in 8.5. If you are converting to the current driver, DAQmx, then the first two are done with variations of DAQmx Write, AO Start would be similar to using both DAQmx Timing and DAQmx Start Task, AO Clear would be similar to DAQmx Clear Task, and AO Config is similar to a DAQmx Create Channel function. There's not an exact correspondence so you need to understand what the old DAQ program is doing and how DAQmx works.
03-18-2009 04:56 PM
I am using DAQmx with the latest drivers installed.
All the AO functions have task ID in and out while the corresponding functions in DAQmx have Task in and out. How can I replace the old functions with new ones without altering functionality?
I am new to LabVIEW and cannot figure out stuff soon enough. Is there any resource that explains the differences between old DAQ and the new DAQmx in terms of changed LabVIEW functions? And can I get such examples ( as .vi files) somewhere?
Thanks!
03-18-2009 05:06 PM
I already gave you the main resource. The first link is the DAQmx FAQ and the FAQ has quite a bit of information including a tutorial that describes the differences/similarities and talks about something called the Traditional NI-DAQ Compatability VIs.
There a large number of example DAQmx VIs that come with LabVIEW.
03-18-2009 05:09 PM
Here are some jewels that can be found within the link Dennis already provided:
http://zone.ni.com/devzone/cda/tut/p/id/3021
http://zone.ni.com/devzone/cda/tut/p/id/2835
-AK2DM
03-22-2009 03:23 PM
Thanks for the links.
NI example files that were running recently have started showing errors after I opened the v6.0 file in v8.5 and v8.6 (see attached) . I guess this is because of improper file saving or cross-linking. Can you post these files for both 8.5 and 8.6 so that I can replace the wrongly-saved ones?
Error code database.vi
Simple error handler.vi
General error handler.vi
03-22-2009 04:28 PM