Table of Contents
Dumper
Introduction
The Dumper library can be used to write free text, without any protocol and in combination with Text objects, to a serial device.
Setup
Interface ID
Unique ID to address this library.
Port
The serial device name.
Baudrate
The communication speed.
Hardware Flow
CTS is recommended when dumping files.
Text setup
- Setup the Text Interface.
- The IID must point to this library.
- The Address must be set greater then zero.
- Setup Dynamic Text.
File URL
The Dumper can interpret file URL's, which the text of the Text object starts with, in the following format:
file:///test.txt
The file content will be written to the serial device with 1KB buffers. (Hardware flow!)
The file must be local in the Rocrail server context.
If no URL in this format is found the text of the Text object will be send directly to the serial device as is.
Output
The output commands for ON/OFF can be defined as a text string.
- The IID must point to this library.
Reader
If some serial data is send by the device it will be traced out after a linefeed character, '\n', is detected.