01-22-2024 04:34 AM - edited 01-22-2024 04:41 AM
After starting, the data displayed on the screen repeats itself until "ESC" is pressed. Then you will have to press "1" and "Enter", but first I want to see what PUTTY shows.
I changed the display as you wrote, so now only "\05" is displayed.
01-22-2024 04:48 AM - edited 01-22-2024 04:57 AM
You still failed to show how you actually start putty. What is shown in the initial post is what putty will show after many many repeated outputs but not what the first exchange is right after you opened the putty session.
Obviously your device sends a character \05 which is according to the ASCII table an ENQuiry character. So it seems to prompt for something. That something is apparently presented by putty, for instance by you pressing enter after the session is opened, but maybe something else. You seem not to have enabled any terminal emulation so not sure, what would be answered normally on the ENQ character.
Actually Putty seems to have a default configuration: Answerback to ^E: Supposedly it would automatically send that string when receiving the ^E (\05) character:
01-22-2024 05:30 AM
Sorry, I forgot, this is the Putty setting:
01-22-2024 07:05 AM - edited 01-22-2024 07:05 AM
So what happens if you try to send LabVIEW\r\n right after receiving the \05 character and then just keep reading line after line with VISA Read?
Basically LabVIEW simply does communication without any automagical things, like what Putty does. Putty even on a normal serial line does some minimal terminal emulation.
One of them for instance is the checkbox under Connection->Telnet called Return key sends Telnet New Line instead of ^M.
^M is the single <carriage return> character, whereas the Telnet New Line is the <carriage return><line feed> combo.
The other is the Answerback to ^E: setting which defines what Putty will automatically send back when it sees the \05 (^E) character. It is highly unlikely that your device is specifically expecting "PuTTY" here (but it might be, or it might expect anything with TTY at the end, or maybe something else). It should be documented in the documentation for your device which you of course have, don't you?
So you'll have to experiment a little. Most likely it will also work with "LabVIEW" or maybe "LvTTY" or any random character followed by <carriage return><line feed> (\r\n).
01-22-2024 09:00 AM
01-22-2024 11:49 AM
Well I guess we are at the point of RTFM. I really can’t guess what magical incantation this device needs, not the least because we have no idea what the device is..