[In response to: "I wish to use DAQmxCreateLinScale function but I am not sure what to put for the last parameter.
If I am scaling a voltage value to a voltage value, do I put "volts" for the last parameter?"]
You are correct. For the last parameter of the DAQmxCreateLinScale function, if you want to use volts as the units that you want to scale to, you can put "volts" or "Volts" or even "V" if you wish. You can find a description of all of the parameters for this function in the NI-DAQmx C Reference Help file. In the help file the description for the scaledUnits parameter says "The units you want to use for the scaled value. You can use an arbitrary value." The arbitrary value means that you can put any name that you want to for this parameter for your scaled units.
In the NI-DAQmx C Reference Help, if you do a Search on the DAQmxCreateLinScale function (or any function that you want to use), you will find a well detailed description of the function and everything related to that function.
Hope this helps, and good luck with your application.
DJ Loberg
Applications Engineer
National Instruments