Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the gain on a PCI-6110

(Using LabWindows/CVI)

I am using the DAQ_Op function to read data into a buffer from a single channel at a relatively high gain setting. When the acquisition is through I need to set the gain on the channel back down to a lower level but I don't need to read anymore data. In other words, while the board is "idling" I want the gain to be low and I only want it to be at the higher setting when I'm actually reading the data. Is there a NI-daq function that will allow me to do this? Will AI_Setup work in conjunction with DAQ_Op? The Function Reference Manual was a little unclear on this point. It mentioned what to do if I use AI_Setup in conjunction with AI_Read ... but AI_Read only reads one point of data. Is there a similar "DAQ_Setup" f
unction that I'm missing?

Thanks in advance.
0 Kudos
Message 1 of 2
(2,438 Views)
Hi,

If you are not going to read the data when the acquisition is through, you might as well clear the operation. I believe that you want to do finite acquisition; you can check the examples that ship with NI-DAQ. In particular, if you are performing analog input operations, check out the Ai examples (C:\Program Files\ National Instruments\ NI-DAQ\ Examples \VisualC \Ai).

Regards,
RamziH.
0 Kudos
Message 2 of 2
(2,438 Views)