Page 1 of 1

TPI - Send keystrokes

Posted: Wed Jun 17, 2015 4:46 pm
by cblackford
Environment:
EvisaLink EVL3, TCP/IP connection with port 4025
Microsoft Visual Studio, C#
Vista 20P, single partition

I have been successful in getting a TCP/IP connection with a password <= 6 characters and have not had any problems with polling (command 00).

From the limited document, it would appear "%03,uuuu,1,#701" (u being the user access code)would enable relay #1 on the 4202. I have tried multiple iteration of sending each character individually (get a server closes the session) and full string. According to the documentation the format is "1,1". If I wish to send the command "%03,uuuu,1,#701", what is the correct sequence.

Thanks for any help.

Re: TPI - Send keystrokes

Posted: Fri Jun 19, 2015 9:00 am
by K-Man
Command 3 just sends a single keystroke to an arbitrary partition. The format being <partition>,<key>

If you wish to send a string of characters then use command #2 to change to that partition and then just send naked keystrokes. In your example, send..

uuuu1#701

Re: TPI - Send keystrokes

Posted: Fri Jun 19, 2015 9:06 am
by cblackford
Thank you for your response. Based on your post "%02uuuu#701$'. Correct? No "," between segments?

Re: TPI - Send keystrokes

Posted: Fri Jun 19, 2015 9:07 am
by cblackford
Sorry forget 1 for the partition.
%021uuuu#701$"

Re: TPI - Send keystrokes

Posted: Fri Jun 19, 2015 2:09 pm
by K-Man
No, and sorry, it is command 1 to change partition

So to change to partition 1 you send

^01,1$

and after that you can just send naked keystrokes

uuuu#701

Re: TPI - Send keystrokes

Posted: Fri Jun 19, 2015 2:21 pm
by cblackford
To understand properly.
If partition 1 is the default partition, no need to change it?
Send:
"%uuuu#701$" (no hex command?)
According to the documentation, sentinels are required.
I apologize for the clarifying questions but the document isn't really detailed.
Thank you in advance.

Re: TPI - Send keystrokes

Posted: Fri Jun 19, 2015 4:09 pm
by K-Man
Yes, you can ignore the partition change command if you only use partition 1.

From the manual....
When a character is transmitted outside of the ^$ sentinels, it will be interpreted as a keystroke if it is within the set
<0..9,#,*> and ignored otherwise.
Plus, the % sentinal indicates an Envisalink originate command, whereas ^ is used to send a command to the Envisalink.

Re: TPI - Send keystrokes

Posted: Fri Jun 19, 2015 4:15 pm
by cblackford
Thank you very much for clearing up some of the confusion and provide me with the information I need.
Regards,