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.
06-11-2014 07:09 AM
Can Anybody explain me briefly what is the use or Functionality of AO Update Chnnels.vi in Traditional NI-DAQ, i'm trying to actually transit my code from NI-DAQ to NI-DAQmx.
06-11-2014 10:47 AM
At one point, I was also faced with legacy code written with Traditional DAQ that I wanted to "understand" so I could rewrite it in DAQmx. My advice, from my own (sad) experience, is to not worry about what some funtion in Traditional DAQ means, and just concentrate on what you want to do and code it in DAQmx.
You can use the DAQ Assistant to generate the code for you, but you'll also find that it is not difficult to simply do the coding with the DAQmx functions directly. There's a DAQmx White Paper (I think that's what it's called) with a title like "Use 10 DAQmx Functions to handle 80% of your DAQmx Tasks" -- it's an excellent resource.
Bob Schor
06-11-2014 10:53 AM
There is no 1-1 correlation between Legacy DAQ and DAQmx. (Thankfully) NI got DAQ right on the second API they published. If I recall Traditional DAQ correctly (and its been a decade since I switched over) you should be able to use a DAQmx Configure Task and a DAQmx Write (poly instance that your task needs) to provide the functionality in Update AO
06-17-2014 06:17 AM
thanks a lot for your information , actually as per ur suggestion i used the configure task and write function to get the similar functionality of AO update channels. I'm attaching the screenshot of the VI. at the right end i have marked exactly the place where i used the configure and write function instead of AO Update channel.vi. Please have a look at the screenshot and let me know what ever i did is correct or not ,please correct me if i'm wrong..
06-17-2014 06:22 AM
Screenshot of the VI