10-24-2007 10:17 AM
10-24-2007 10:35 AM - edited 10-24-2007 10:35 AM
You are making this far too complicated and creating something that will generate an error. Start with one of the shipping examples for analog input only. After the DAQmx Create Channel, simply add another to the same task and define the second channel with different min and max.
Message Edited by Dennis Knutson on 10-24-2007 09:36 AM
10-24-2007 11:35 AM
10-24-2007 11:37 AM
10-24-2007 12:03 PM
10-25-2007 06:36 PM
Hello Josh100482,
Thanks for contacting National Instruments.
To add to the comments that Dennis left, if the channels you wish to measure are the same measurement type, you can specify a channel list using one create channel VI. If you search in the DAQmx help file for the key words “physical channel syntax” the first topic will show how to specify a range of channels. This could simplify your block diagram code if the parameters for the two channels you wish to measure were the same.
Getting Started with NI-DAQmx and Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications are great starting points for programming with DAQmx.
Have a great day!