02-21-2013 10:44 AM - edited 02-21-2013 10:45 AM
Hello,
I have a DAQ board which accepts universal inputs. I have to design a configuration screen for all the channels available for properties based on type of input Strain, Voltage, Current, Thermocouple Etc. Based on this I have to do Data Acquisition.
I have been trying with DAQmx Task create and Channel Create for past few days but unable to find a solution. Can anyone suggest. My device is NI9219 Universal module on a NI9174 Chassis.
02-21-2013 11:37 AM
Can you show us what you have tried so far? You didn't say what the specific problem is. Do you get an error?
02-21-2013 11:52 AM
Hi,
I don't have much to show cause nothing so far worked. To explain a bit more.
My device have 4 Universal Analog Input channels ( NI9219 in a NI9174 Chassis)
I need to configure each channel for type of input( Type of Analog Input) and specific properties to that type of input. E.g. Bridge configuration for Bridge based sensors or Thermocouple setting . I tried using create Virtual channel Vi but that do not allow to select type of input programmatically. Until I do that I cannot get full control of the properties. I do not want to use Max for creating channels or tasks everytime. One reason can be because Create Virtual Channel is a polymorphic VI.
The workflow have to be
Select Channel > Select type of input > Configure property based on type of input > add to task . This have to be done 4 times for 4 channels.
On Execution the DAQ will read this task for measurement.
Once all the channels are configured I need to create a task . Based on this my Data Acquisition will work.
02-22-2013 08:32 AM
Take a look at this example and see if it helps: (download the zip file)
http://zone.ni.com/devzone/cda/epd/p/id/899