06-14-2012 08:09 AM
Salve,
sto implementando via seriale RS232 una comunicazione con un DUT, che normalmente avviene via Hyperterminal.
Uno dei comandi da inviare via Hyperterminal è la freccia in alto (intendo il comando della tastiera).
Non riesco ad inviare l'equivalente comando sotto forma di stringa via RS232 con LabVIEW.
Potete darmi qualche dritta?
Grazie
06-14-2012 09:27 AM
English Translation:
I'm implementing via RS232 serial communication with a DUT, which normally takes place via Hyperterminal.
One of the commands sent by Hyperterminal is the up-arrow (I mean the keyboard command).
I can not send the equivalent command as a string via RS232 with LabVIEW.
Can you give me some advice?
thanks
06-14-2012 10:17 AM
I am not sure, but it could be '\38'.
I have not tried it.
You can try sending \38 over the serial port.
Do you know how to communicate with the serial port using LabVIEW?
Non sono sicuro, ma potrebbe essere '\38'.
Non l'ho provato.
Si può provare l'invio \38 attraverso la porta seriale.
Non si sa come comunicare con la porta seriale utilizzando LabVIEW?
06-14-2012 10:24 AM
\38 is the colon
I am not sure how he'll be able to do this.
According to the discussion at http://stackoverflow.com/questions/2876275/what-are-the-ascii-values-of-up-down-left-right
there aren't ASCII codes for the arrow keys.
06-14-2012 11:17 AM - edited 06-14-2012 11:18 AM
OOps...
I got it from this site:
http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
This site has some interesting suggestions:
Or the bottom of this page:
http://www.yellowpipe.com/yis/tools/ASCII-HTML-Characters/index.php