キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/4
3,530件の閲覧回数

Hi Peter_Y,

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

 

Mike

0 件の賞賛
メッセージ2/4
3,515件の閲覧回数

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 件の賞賛
メッセージ3/4
3,498件の閲覧回数

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 件の賞賛
メッセージ4/4
3,470件の閲覧回数