ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Ascii object

I've been trying to use the ascii object to make a dialup connection and send
a simple string to the device at the other end. The problem is the string
needs to finish with a carriage return.

Is it possible to send carriage return and line feed commands as part of
an Ascci frame?

Alex
0 Kudos
Message 1 of 2
(3,559 Views)
Hello Alex,

You can use \r with your string to send a carriage return. Similarly, \f
sends a formfeed and \n sends a newline. See online help under ASCII Object
for other control characters.

Regards,

Khalid


-------------------------------------
"Alex Bonfield" wrote:

I've been trying to use the ascii object to make a dialup connection and
send a simple string to the device at the other end. The problem is the string
needs to finish with a carriage return.

Is it possible to send carriage return and line feed commands as part of
an Ascci frame?

Alex
0 Kudos
Message 2 of 2
(3,559 Views)