(Windows only) Sends one line to the end of the data feed queue. Queue Line is primarily useful for testing your script without requiring it to be attached to a device. You can essentially simulate the data coming from the device to make sure the rest of your code handles the values properly when it's really attached to a working device.
exfeed = Open Datafeed(
Connect( Port( "com1" ), Baud rate( 4800 ), Parity( even ), DataBits( 8 ) ),
Set Script(
ex = exfeed << Get Line;
Show( ex );
)
);
exfeed << Write( "Ready" );
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" );
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"} );