From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-23-2013 04:31 PM
Im using labview 2012 to communicate with a lakeshore 218 temperature moinitor via COM1.
I am able to use MAX to send *IDN?\n to receive the id LSCI,MODEL218S,22A037...,30,3 0.
When I try to run a simple VI (basic_serial_write_and_read[1].vi) using visa on COM1 to do the same thing it returns the time out error.
Thus far I have tried using command *IDN? *IDN?\n and *IDN?\r\n
*IDN? dosent work in max, *IDN?\n and *IDN?\r\n both work in Max, nothing works in Visa.
How can I get this to work using visa?
12-23-2013 05:28 PM
Change the display type on the String to Write to be '\' Codes Dispaly. Then make sure there is a \n at the end.
In a normal display string, you are sending a literal '\' and 'n', not the End of Line termination that the monitor is looking for.
12-26-2013 09:58 AM
I checked that, there are no extra characters
12-26-2013 03:25 PM
Solved:
If I send a *RST before *IDN? everything works...*RST;*IDN?\n is the first write string.
05-10-2015 10:03 AM
this has been fixed probably, but to post for prosperity, i had the same issue with the \codes notenabled. The lakeshore uses half duplex and no flow control. My system i had to manually configure the serial port with baud 9600 7 data bits, 1 stop bit, odd parity and no flow control. I Changed the forward slash codes like above, and told it to read bytes available at port with the propert node. Now it actually gets along!
i am using labview 6.2. Results may not be typical! Hope it helps anyone else down the road.