Showing results for 
Search instead for 
Did you mean: 

Mantaining Temperature with Lakeshore Temperature Controller 331

The invalid reference is of concern. You need to select the correct resource from the drop down menu.  The connected property is used only for NI serial devices so ignore that.


You say you sent a command but do not exactly say what the command was.

0 Kudos
Message 11 of 16

I forgot to select the reference today. When I switched to COM1, I got timeout errors again.


I'm sending commands through VISa test panel using strings provided in the LakeShore value. Some examples:

*IDN? - identification query

SETP 1,200 - change setpoint to 200

0 Kudos
Message 12 of 16

I am now using a Serial Write and Read VI to try sending command strings to the temperature controller but still can't get a response. There does seem to be a problem in the Initiliaze sub-VI of the driver VI. It returns the error message in the picture but only for the ID query option.

Download All
0 Kudos
Message 13 of 16

You do not show any termination character(s) with the write string. If you do not terminate the command correctly, you will not get the read to work. The initialize fails with the ID Query option since that is the only option that the instrument is read. See the manual to determine what the correct termination character(s) should be. The VI I looked at appends a CR/LF. In the VISA interactive control, you would use a \r\n.


You need to double check the com settings match at both ends and you need to verify you are using the correct type of serial cable. There are two types.

0 Kudos
Message 14 of 16

Dear all

I want to interface LakeShore 331 Temperature Controller using Labview 8.6.

I am connecting it using RS232

I am not able to identify the temperature controller. It is give unusual output

for example *IDN?\r\n

I should get: LSCI,MODEL331S,123456,020300

but I am getting 


I have checked the loop back test with the cable and it is working well.

I did not understand where is the problem.

Kindly suggest me the possible solution.

I am attaching the pdf file of front panel and block diagram.

Thanks in advance

0 Kudos
Message 15 of 16

I have solved this issue.

0 Kudos
Message 16 of 16