12-08-2016 01:33 PM - edited 12-08-2016 01:34 PM
Hi,
I have a problem with visa interface controll.
I would like to communicate with the RFID reader via a serial converter.
Beginning of the message is STX, ascii 0x02 and end ETX, ASCII 0x03. message is 2 bytes long.
So that it is obvious.
1.PNG (78 KB)
2.PNG (82 KB)
3.PNG (73 KB)
see the attachment
12-08-2016 01:41 PM
12-08-2016 01:46 PM - edited 12-08-2016 01:46 PM
I want to read messages from RFID card.STX and ETX are the start and end character messages with RFID cards.
12-08-2016 01:47 PM - edited 12-08-2016 01:47 PM
Well, here's some general tips:
Make sure your serial port settings are correct.
You want to send non-printable characters, so use \xx where "\" is the \ character and "xx" is the two-digit hex ASCII code. (See here.)
12-08-2016 01:52 PM
well connected ... I checked with TeraTerm ... by default this is the start and end character card ... I can not change ...Which is my alternative?
12-08-2016 02:11 PM - edited 12-08-2016 02:13 PM
You have your VISA terminal set to use XON/XOFF flow control and that is using the STX and ETX characters. Perhaps that is confusing the communication protocol which is supposed to be STX at the beginning and ETX at the end of the message data. Get rid of flow control. Most devices nowadays don't require it.
Can you attach your LabVIEW code? Using the VISA interactive control in MAX can be good for some simple things to test out communication, but I don't think it is appropriate for your situation.
PS: What happened with your first message? The text is very small. And why all the blank boxes in that message, and one more with the last message. Be careful with the buttons on the editor toolbar. It seems you used the "Insert Code" button on that multiple times for no reason.
12-08-2016 02:35 PM
Stupid mistake .... I changed my USB port and works!!!
12-08-2016 02:39 PM - edited 12-08-2016 02:41 PM
Please stop using the insert code box you picked for your message.
Just type your message.