I’m a programmer who is working on your Wavelink Telnet CE product and I would to ask you about a problem in scripting code.
My customer own some Motorola MC319Z handhelds and asked me to configure a connection to their As400 and read some RFID Tags and put the datas in a blank field of their program.
I did the connection without any problem, as a 3477-FC emulator and entered in the emulation parameters to enable RFID functions, in ENABLE RFID key with Yes, in ENABLE KEY with <0x79> the F10 key in hexadecimal, in INSERT MODE with Auto-Detect, and USE TRIGGER with Yes.
I tried using it and when I arrive at the right screen of the program I press F10 on the keyboard of the handheld (not the keyboard of the emulator) and RFID start to read when I push the handheld read button, passing to my screen the tags read. It works correctly!
I also tried to create a script that, when reached the right screen of the program, it press automatically F10 using the code KEYPRESS_KEY <0x79> my F10 key but, it don’t works, this don’t enable the RFID reader.
When I did it manually it works perfectly and I receive a message on the screen that told me the number of tags read and put the tags on the field I use, but if I try to use the script, when KEYPRESS-KEY work, it do only a beep but no one message about RFID enable and create problems about the use of the emulator keyboard.
My script is a simple:
Script( RFID_MAN )
Profile( As400 )
Activate( From_Menu )
Keypress_Key( 0x79 )
Return
But it don’t press the F10 like I could do on the handheld keyboard. There’s something wrong in my code?
I would to enable RFID reader by script code and after the tags read end disable it.
Thanks for all and I hope you can help me as soon as possible.
Cordially