08-22-2025 11:14 AM
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?
Solved! Go to Solution.
08-22-2025 11:50 AM
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.
08-22-2025 12:48 PM
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.
08-24-2025 12:05 PM
Solved it, I used the "Read Measurment Data (Analog 1Ch).VI" to get the TC measurement instead of the Fetch VI