LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing ASCII characters in MAX testpanel

Hello everyone. I have to test my device in Visa Testpanel MAX, to see if there is a communication between the PC and my weight gauge, but the commands are written in box form. How can i write those commands in the command box in test panel ?. I want to write this one:labb.png

 

The info about the commands is in page 60 in this manual:

 

http://www.ld-didactic.de/ga/6/667/6677797/6677797e.pdf

 

 

 

Thanks in advance

 

 

Best regards

Oesen
0 Kudos
Message 1 of 4
(3,105 Views)

Try \1BfX_\r\n

 

\1B is hex 1B or decimal 27, the ascii character for Escape.  The I/O test panel in MAX is set up to display \codes.

0 Kudos
Message 2 of 4
(3,087 Views)

It still says error :/:

 

vigtigt.png

 

I have defined my Baud: 9600, Databits: 7, Parity: Even, Stopbits: 1 

 

Handshake is defined to be software handshake by "XON" and "XOFF". 

 

as in the manual:

 

vigtigt2.png

 

 

Best regards

Oesen
0 Kudos
Message 3 of 4
(3,076 Views)

You are really not paying attention to the manual or to previous posts. What you wrote is not at all correct. That page describes the format. You have to replace the f and X with the correct values and it is not at all sensible to try to do a read after sending the command. In order to do a read, you MUST send a command that tells the instrument to return some data!

0 Kudos
Message 4 of 4
(3,062 Views)