I would like to control the setpoint of a TC350 heater loop 1 via LabVIEW. I can control heater settings (P, I, D, Manual Out, Heater range, etc.) in LabVIEW without any problems. However, when I try to manipulate the setpoint, I get an error message:
"Fehler -1074000000 bei Lake Shore 350.lvlib:Decode Error.vi
Instrument reports: Command Error
Vollständige Aufrufkette: Lake Shore 350.lvlib:Decode Error.vi Lake Shore 350.lvlib:Error Query.vi Lake Shore 350.lvlib:Configure Setpoint and Ramp.vi Lake Shore 350 Configure Heater Output Control Parameters and Acquire Single Reading.vi"
It doesnt matter if I use my own VI or the Lake Shore example VI - whenever the setpoint is changed, I get this error, otherwise not.
The heater itself is connected properly and can be used without problems as long as setpoint changes are made at the front panel of the device itself.
Post by Lake Shore Jeff M on Oct 10, 2019 11:31:45 GMT -5
Hello Sebastian, I would like to have you run the NI I/O Trace application and capture the communications between the PC and Model 350. If you send me an email at [email protected], I can send you the detailed instructions to set up the capture.
We have identified the problem that is causing the error when setting the RAMP Rate. The Configure Setpoint and Ramp.vi has a bug in it. Specifically, the format string is incorrect for the RAMP command. I was able to add the missing ‘f’ character and now the example works. The problem was, with the malformed format string, the RAMP command wasn’t being sent with the proper terminating line feed (you can see this in the IO trace). Formatting the command properly with the line feed causes the instrument to stop throwing the error.
Lake Shore will be submitting an updated driver to National Instruments as soon as we can. In the mean time, you can modify your existing driver as shown in the attachment.