LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using LabVIEW to control Lakeshore 350 Temperature Controller - Set Point and Ramp

 Hello 

I am using LabVIEW (2016) to control Lakeshore 350 with the software that available on NI site, to do temperature dependence of PL spectra. 

Most of the VIs works, but the "Configure Setpoint and Ramp" VI don't works (error 1073807339).  

I checked that the device is on remote mode. 

I can turn the heater on and off but can't control the Ramp and the Set point . 

Do you have any idea what could be the problem?

thanks 

Itay   

0 Kudos
Message 1 of 9
(4,450 Views)

Hi HUPHYUPH,

 

you probably get error -1073807339 (=0xBFFF0015), which is a typical TIMEOUT error: your device doesn't answer for a request (or doesn't send any data at all).

For more help you should attach your VI.

 

You can also read the programming manual of your device and debug the subVIs handling those setpoint and ramp commands. Sometimes there are bugs in the device drivers from IDNet

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(4,435 Views)

Hi Itay,

 

can you attach that VI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 9
(4,410 Views)

this is the VI ( and the subVI) 

 

Download All
0 Kudos
Message 5 of 9
(4,403 Views)

Hi Itay,

 

thanks for upload. I justed wanted to check the display mode of the string constant - you never know…

I would rewrite the VI as such:

check.png

Where exactly does the TIMEOUT error occur?

Which interface are you using? (I guess it's a serial port!?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(4,399 Views)

thanks GerdW

I am using USB

the error is in the subVI in the "VISA read "

 

 

 

 

0 Kudos
Message 7 of 9
(4,388 Views)

Hi Itay,

 

so the error is generated in the error handling routine???

Does the device need that StatusByteQuery after setting setpoint and ramp? Does the device work as requested when you filter that error?

 

Is it really an "USB" connection or just a virtual COM port?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 9
(4,380 Views)

Hi GerdW

Yes the error is generated there.

Its not working with or without it. 

Its a regular USB connection.

Thanks 

Itay 

0 Kudos
Message 9 of 9
(4,366 Views)