LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send ASCII string

I´m trying to communicate with a machine over ethernet and trying to figure out how to send ASCII symbols that you can´t type on the keyboard.

First string to send is "STX320ETX". Without qoutation and STX and ETX should be the ASCII symbols for STX and ETX not the text itself.

Trying to use the Instrument I/O Assistantfor this.

 

From ASCII table. 

STX = 002

ETX = 003 

 

How do I do this?

0 Kudos
Message 1 of 4
(3,272 Views)

Hi Peter_Y,

you can use a U8 constant with 2 or 3 as value and "type cast" it to string.

 

Mike

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

So you can´t describe ASCII symbols directly in Instrument I/O Assistant? So Labview knows its supposed to send the ASCII symbol not the numbers.

 

 

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

Hi Peter_Y,

sorry, i didn't realized that you try to use it with the Instrument I/O Assistant and I can't check it at the moment.

 

Mike

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