LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SCXI-1520 Multiple Channels with Multiple Gains in DAQmx

I am using LabVIEW 8.0 and reading 5 analog custom voltage with excitation channels. Three of these channels need a gain of 500 and the other two need a gain of 300. I created a single task with these 5 channels because they need to be sampled simultaneously. For some reason, setting the gain for each individual channel within the task gives me an error. Is there any way to set individual gains for each channel within a single task created programmatically? I'd appreciate any examples if available,
0 Kudos
Message 1 of 2
(2,501 Views)

Hi,

You can programmatically create tasks in LabVIEW. I am linking you to an example that creates and saves a task programmatically. If you want to add more channels to the task, then just add another DAQmx Create Channel VI's. Also, for programmmatically setting the gains, place a channel property node after a channel and go to analog input >> general properties >> advanced >> gain. Please try this and let me know if you are still having problems. Also, information on the error you are receiving would be extremely helpful.

Regards,
Hal L.

0 Kudos
Message 2 of 2
(2,485 Views)