TMM-100
ADDENDUM:
LabView DRIVERS & VIs
TEA
TMM-100_User_Manual_r4.doc Rev3
7-4
Scan_Read.vi
Scan read checks if there are bytes at the serial ports and returns whatever characters are
ready to be read. This VI must be used in a loop and the buffer should be used with a shift
register as shown in the example. As the buffer string is built the lines are picked off and or-
ganized into a table. The first line contains the header of the selected sensor, and the last
line contains the end char #>. In the example both first and last lines are removed, and the
data put in a table.
Input String: Buffer to be used for parsing the rows during a scan
Output String: Chars read at the serial port
Scan Start.vi
Initiates a Scan that has previously been set up with the Scan Cycle and Scan Limit com-
mands, and the channels of interest have been added to the list. After the scan has started
the TMM module will periodically send the data to the computer and the data must be read
out using the Scan Read.vi
To abort a running scan use the Scan Stop vi
Stop Scan.vi
Aborts a scan started by the Start Scan command.
Set_Get_Echo.vi
This VI can set or get ECHO. Echo will return the typed commands if using in the terminal
mode.
ECHO on will repeat back the command send to the TMM-100 module.
Input Boolean: True=Echo ON, False= Echo Off