04-02-2007 02:17 PM
04-03-2007 09:14 AM
Hi Elenac!
There are some considerations you might have to do when you try to set the gain, for example, what's the gain supported by your card? or what kind of acquisition are you going to do? The easiest way to configure the gain is using the DAQmxSetChanAttribute function which is under Analog input channel calibration. Under the advanced tag appears gain, the prototipe for the function is:
DAQmxSetChanAttribute (myHandle, "channel1", DAQmx_AI_Gain, 1);
You have to set everything accordingly to your needs, also i strongly recommend to check the following post:
http://forums.ni.com/ni/board/message?board.id=250&message.id=1234&requireLogin=False
I hope this information can be helpful to you and you can solve your problem. 🙂
Have a nice day!
04-03-2007 09:25 AM
Thank you so much for your help, I think this will help me...
I have an other question, in the old NIDAQ I was using the function WFM_Scale, in the new DAQmx, is there a function that work like this one?? convert an array of floating-point values that represents coltages into an array of binary values.