LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquisition temperature for pci 6023E with scb68 (vb.net 2003 NiDaqmx )

hi,
 
on the first time i'm sorry for my english... Smiley Happy
i have a big problem for acquire the temperature in my application (vb.net 2003).
So i'm novice i use NI's Example "ContAcqVoltageSamples_IntClkwGraph_Vb".
 
This example is ok for acquire the Volt but not the temperature.
 
I try to replace in this example the line "myTask.AIChannels.CreateVoltageChannel(physicalChannelTextBox.Text, "aiChannel", AITerminalConfiguration.Differential, -10, 10, AIVoltageUnits.Volts)"  by  "myTask.AIChannels.CreateBuiltInSensorTemperatureChannel(physicalChannelTextBox.Text, "AiChannel", AITemperatureUnits.DegreesC)" but in my graph on the MainForm i can see the volt and not the temperature.
I used the dev1/ai1 channel but if i want to use dev1/ai1 an error message explain "Built in temperature sensor is not supported on this channel".
 
I don't understand because when i use "Measurement & Automation" i can create "Tache Nidaqmx" for acquire my temperature on the channel dev1/ai1.
 
Please can you help me, it's urgent for my job and i'am a student.
 
Thanks
0 Kudos
Message 1 of 2
(2,517 Views)
Hi
A simple solution is to transform your voltage in temperature. The conversion is done by the constructor of your sensor. I can't help you in VB, i have never programmed in VB. Are you sure to use the same configuration between MAX and your VB program?

Kamal
NIF
0 Kudos
Message 2 of 2
(2,498 Views)