12-03-2007 01:25 AM
12-04-2007 12:33 PM
Hello,
Yes, the DAQmxGetChanAttribute will return the same scaling coefficients that you have previously specified. There are help files in the LabWindows/CVI Help titled DAQmxGetChanAttribute and List of Channel Properties, which is a list of attributes that are available for a value check.
Please note that the DAQmxReadBinaryI16 reads unscaled data, thus your scaling would have to happen after this function call. Please use the DAQmxGetChanAttribute to get the DAQmx_AI_DevScalingCoeff inorder to determine what scale coefficients are needed to scale the unscaled data to a voltage. What actual issue are you seeing? Please describe the problem in further detail.
12-04-2007 08:17 PM
Hi,
Thanks for your reply. I just want to comfirm the values of the coefficients when I called the function DAQmxReadBinaryI16 everytime.
My problem was I need to use the coefficients without create any task. So I have to set the coefficients value to constant values.
I would like to set the coefficients as constant values since everytime i called DAQmxReadBinaryI16 will get the same values. Thanks.
Regards,
Chew