02-05-2018 03:42 AM - edited 02-05-2018 03:50 AM
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
02-05-2018 03:51 AM
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…
02-05-2018 04:01 AM
Tanks GerdW
I downloaded the VI from NI site:
Thanks
Itay
02-05-2018 04:08 AM
02-05-2018 04:21 AM
this is the VI ( and the subVI)
02-05-2018 04:31 AM - edited 02-05-2018 04:32 AM
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:
Where exactly does the TIMEOUT error occur?
Which interface are you using? (I guess it's a serial port!?)
02-05-2018 05:03 AM
thanks GerdW
I am using USB
the error is in the subVI in the "VISA read "
02-05-2018 05:45 AM - edited 02-05-2018 05:46 AM
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?
02-05-2018 08:22 AM
Hi GerdW
Yes the error is generated there.
Its not working with or without it.
Its a regular USB connection.
Thanks
Itay