I am trying to create a small application to replace the need to zero
an instrument using a multimeter. I am developing on one machine
and trying to deploy to another. Using MS7.1. I created a
DAQ task using my development system (has 6023E DAQ card). The
resource I am measuring voltage with is:
Me.AIChannels.CreateVoltageChannel("Dev1/ai0:1", "Voltage",
AITerminalConfiguration.Differential, -5, 5,
AIVoltageUnits.Volts). When I open DAQMx the device is Dev1 and
the channel is ai0 (differential). I put the :1 based on a
message I searched out here and it seems to have no effect one way or
the other...
The deployment machine has a different DAQ card (NI though) and under
M&A explorer, I can read the voltage in the test panels using
"Dev1/ai0." No problem. When I run the application on the
deployment machine (appear to have used all the right msm files too),
the voltage reading is 0 (not even a Double-precision 0, just 0).
I can't find anywhere on this forum where someone is having a similar
problem. I'm guessing I'm doing something wrong which is simple,
but I've run out of energy trying to figure it out (and searching this
forum)! Any help would be appreciated.
Thanks,
Tom