LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Yokogawa GM10 Thermocouple Channel Read

Solved!
Go to solution

Hello Programming Pals!

 

I'm working on programming with a GM10.  I've been able to control output current, digital outputs successfully.  The issue I'm having now is extracting thermocouple data.

 

My process was (using the Yokogawa GX Series drivers) to use the Initialize.vi  ----->  Configure Channel (TC Normal).vi  ----->  Fetch Measurement Data.vi

 

I don't get any errors, but the TC Reading that comes out is garbage.  Using a TC calibrator, I should be measuring 50 degrees.  I haven't been able to any examples for TC data and the Yokogawa examples are worthless.  Does anyone know where I'm going wrong?

Download All
0 Kudos
Message 1 of 4
(327 Views)

The lack of errors on the error wires seems to make it clear that it's doing something that it thinks is correct, at least...

 

Best guess is that there's instructions somewhere (maybe in your device manual, maybe in other VIs) that gives you some sort of way to decode the "Measurement data" value.

 

For instance, sometimes temperatures are encoded as a INT representing 1/100th of a degree C, or similar.  In the hex data I see the character "13" surrounded by 0A on one side and 03 on the other.  If you interpret that as either 130A or 1303 (depending on the endian-ness of their encoding) then that could be either 4874 or 4867, that could represent a measurement of 48-49ish degrees, about what you are expecting.

0 Kudos
Message 2 of 4
(307 Views)

I tried looking at the manual but couldn't find anything.  I'll look at the SMARTDAC+ Communication Command User's Manual again and see if I can find something.

0 Kudos
Message 3 of 4
(282 Views)
Solution
Accepted by topic author ccoker765

Solved it, I used the "Read Measurment Data (Analog 1Ch).VI" to get the TC measurement instead of the Fetch VI

0 Kudos
Message 4 of 4
(249 Views)