12-06-2010 09:06 PM
will like to know how to configure the following command for NI_DAQMX.
DIG_Line_Config DIG_Out_Line AO_Configure AI_Configure are NI_DAQ command
12-07-2010 10:30 AM
Hi there.
It sounds like you're upgrading from traditional DAQ to DAQmx. The easiest way to make the transition would be to check out the examples that come with DAQmx. If you've installed text-based support, you'll find examples by going to Start» All Programs » National Instruments » NI-DAQ» Text-Based Code Support » ANSI C Examples . Also, here is a link to a dev zone article that should make the process a little easier.
Hope this helps!
-Sean
12-07-2010 09:51 PM
thanks for the reply
to make my work more simple ,do u have the functions for daqmx related to the traditional command used below
example will be AI_Configure(daq) == DAQmxCreateAIVoltageChan (daqmx)
thanks U
Init_DA_Brds
NIDAQErrorHandler
AO_VScale
AO_Write
DIG_Out_Line
DAQ_Clear
AO_Configure
DIG_Line_Config
AI_Configure
AI_Read
AI_VRead
AO_VWrite
12-08-2010 10:53 AM
Hello again,
The link I sent you ( http://zone.ni.com/devzone/cda/tut/p/id/5957 ) describes the parallels between traditional daq and daqmx. Also, notice that this is only part 1. At the bottom of the article are links to parts 2,3, and 4 of the tutorial. I'll link them here for you: part2, part3, part4 . Also, like I mentioned before, I would strongly suggest running some of the daqmx examples. You can get to them by going to Start » All Program » National Instruments » NI-DAQ » Text-Based Code Support » ANSI C Examples.
Hope this helps!
Sean