– "CR": ASCII character 13 (carriage return)
– "LF": ASCII character 10 (line feed)
– "CRLF": Uses both CR and LF in sequence.
Description
Example
exfeed = Open Datafeed(
Connect( Port( "com1" ), Baud rate( 4800 ), Parity( "even" ), DataBits( 8 ) ),
Set Script(
ex = exfeed << Get Line;
Show( ex );
)
);
exfeed << Write( "Ready" );
/* Example - send a message to external device over the serial port to trigger data messages. This can be used to send control messages to a sensor or other attached device.*/
Description
Sends a quoted string to the data feed device. If EOL has been set for the data feed, the quoted strings are terminated by the specified EOL value. If EOL has not been set, the line is terminated with CRLF.
Example
exfeed = Open Datafeed(
Connect( Port( "com1" ), Baud rate( 4800 ), Parity( "even" ), DataBits( 8 ) ),
Set Script(
ex = exfeed << Get Line;
Show( ex );
)
);
exfeed << Write Line( "Ready" );
/* Example - send a message to external device over the serial port to trigger data messages. This can be used to send control messages to a sensor or other attached device.*/
Description
Sends a list of quoted strings to the data feed device. If EOL has been set for the data feed, the quoted strings are terminated by the specified EOL value. If EOL has not been set, the line is terminated with CRLF.
Example
exfeed = Open Datafeed(
Connect( Port( "com1" ), Baud rate( 4800 ), Parity( "even" ), DataBits( 8 ) ),
Set Script(
ex = exfeed << Get Line;
Show( ex );
)
);
exfeed << Write Lines( {"Ready", "Set", "Go"} );
/* Example - send a message to external device over the serial port to trigger data messages. This can be used to send control messages to a sensor or other attached device.*/