Digital I/O

Showing results for 
Search instead for 
Did you mean: 


 The DAQ board which I use: PCI -6281
The OS that I use: Windows XP (service pack 3)
The software which I use: VB6 and NI-DAQmx 9.5?
A measurement hope item: Analog voltage measurement
VBP which I use: "Acq-Int Clk.vbp" which there is in visual basic 6 examples

I use it pairwise with PCI -6281 and BNC-2111. Measurement mode "the standard voltage" (RSE)]) is adopted. This is Because I want to rewrite constant called "DAQmx_Val_Cfg_Default" of the cord of the sample in "DAQmx_Val_RSE"

The error message is encountered, when I execute a program, which is something like  "a variable is not defined"

 As a result, the program cannot be executed.


Please tell me about a method to renew how a program to measure with a "standard voltage (RSE)" mode can be changed.

When I refer to the Help file (NI-DAQmx c language help.hlp probably)

DAQmxCreateAIVoltageChan(taskHandle, physicalChannelTextBox.Text, "", _

DAQmx_Val_Cfg_Default, minValueTextBox.Text, maxValueTextBox.Text, _

DAQmx_Val_VoltageUnits1_Volts, "")

According to The explanation about  the task for DAQmxCreateAIVoltageChan

the constant list tells me that there is DAQmx_Val_RSE other than DAQmx_Val_Cfg_Default,

I thought whether it became a RSE measurement mode if I replace DAQmx_Val_RSE with

DAQmx_Val_Cfg_Default, But it does not work. A strange error message occurs as abovementioned.

In the meanwhile, I do not use Measurement Studio

Thanking you in advance

0 Kudos
Message 1 of 2

This is self-response. I found the possible solution by looking for the related post carefully. Thanks

0 Kudos
Message 2 of 2