02-11-2013 11:56 AM
I'm relatively new to configuring labview with actual equipment, so please forgive my ignorance. Also, I did search the forums for this, and this particular issue did not come up.
The labview program I'm looking into pulls some data from the "NI-DAQmx.ini" file in the data folder. In that file, there's a "DAQmxScale" for a waterflow meter that we're using. It has four variables being set:
[DAQmx]
MajorVersion = 9
MinorVersion = 2
[DAQmxScale H20-Flow]
Lin.Slope = 0.003729157
Lin.YIntercept = -0.026775676
PreScaledUnits = Hz
ScaledUnits = GPM
ScaleType = Linear
Anyway, we're hooking up a new waterflow meter that has different calibration points, so I'm trying to configure the "NI-DAQmx.ini" file to the new points (the only variables being changed are Lin.Slope and Lin.YIntercept). The Lin.Slope value is similar to the original, but the Lin.YIntercept is positive, instead of negative. This positive value doesn't seem to work. When the labview executable is run, the waterflow meter shows no values. If I change it to another number... but negative, it seems to work fine. I've tried a few different formats (0.003, +0.003), but they don't seem to work. Any suggestions?
I assume that this configuration file is not really designed to be modified directly like I'm doing. I think it's created by labview when the executable is created... but is it not possible just to modify it real quick with a positive value?
Any help would be appreciated. I'm still looking into creating a new executable with the new values, but we've been having trouble with creating executables lately.
Thanks.
02-12-2013 12:34 PM