01-23-2007 01:15 PM
01-23-2007 02:52 PM
Hi,
One easy way to automatically generate the code is to first make a DAQmx task in MAX since it seems familiar to you. Rightclick Data Neighborhood >> Create new >> NI DAQmx Task >> Choose your measurement configuration for e.g. a voltage measurement i.e analog input. Then add another channel from the setup window and choose your other mesurement, e.g. resistance. Then save it.
Open LabVIEW>>Blank VI>>Block diagram>>Search Button>>Search for DAQmx Task Name>>Drag it to the block diagram>>Click browse button and choose your task>>Rightclick on the task constant>>Generate code>>Configuration and example. Change to Front panel and watch the plot when you press the run button.
Hope this helps
01-23-2007 03:13 PM
01-23-2007 07:06 PM
01-24-2007 05:25 PM