02-22-2016 03:49 AM
Hello,
I am a novice in labview and i believe the question i am asking has not been asked before but if it has can you please be kind to just guide me to the discussion.
I am using Visa to communicate to the host pc from the remote pc via telnet. I have successfully managed to open a telnet connection but i cannot send the commands using the visa write. The command i am trying to send is poll. So i tried sending the command as 'poll\n' and 'poll\r' and 'poll\r\n' but to no avail. I receive no errors while sendind any of the command. The command is not sent to the local pc. I checked the connection via the test panel in the NI Max. when i send the 'poll\n' command there it works perfectly. I am attaching a screenshot of my code. Can anyone please help me out.
07-31-2016 03:19 PM
Right click your string control. Is it in '\ code' display mode or normal?
07-05-2017 01:21 AM
I know this thread has been quiet for some time now, but I'd like to know if it worked, or if there was still any issue with the Termination Character.
07-05-2017 04:34 AM
The only real issue is you have to watch out for control/option characters. My recent experience tells me this is really only an issue on first connection. But after that, most Telnet are just simple ASCII commands ending with a CRLF. YMMV.