TMconsole is able to measure temperature using TM, TMU and TME thermometers (with RS232, USB and Ethernet) and save it into a file on the disk. The application is a console application which is run using a command line.
Features and functions
- Communication with thermometers: TM (RS232 thermometer), TMU (USB thermometer) or TME (Ethernet thermometer)
- Saving measured temperatures into a file on the disc
- The application does not have any graphical interface - this is a console application which is run using a command line.
Usage examples
- TMConsole.exe /COM
Test of all available COM ports in the system.
- TMConsole.exe /COM1 /File="{DATETIME(yymmdd_hhmmss)}.txt"
Command for measuring and saving temperature into a text file named according to the current date and time.
- TMConsole.exe -COM1 -File="{DATETIME(yymmdd)}.txt" -format="{DATETIME(hh:mm:ss)} - {VALUE} C{CHR($0D)}{CHR($A)}"
Command for measuring and saving temperature into a text file named according to the current date. The format of the text file is user-defined.
- del temperature.txt
TMConsole.exe -COM1 -File="temperature.txt"
Command for measuring and saving temperature into a text file named according to the current date. The original file will be replaced by a new one.
File formatting
It is possible to use the following strings within the commands to define file names or output file formats:
- {DATETIME(hh:mm:ss)} - To format the current date and time. YYYY - year as a 4-digit number; NN - month as a 2-digit number; DD - day as a 2-digit number; hh - hours (two positions); mm - minutes (two positions); ss - seconds (two positions)
- {VALUE} - This string will be replaced by the measured temperature.
- CHR($0D)} - To insert CR character.
- CHR($0A)} - To insert LF character. (CR and LF characters represent a new line.)
- CHR($09)}- To insert Tabulator character.
- CHR($XX)}- To insert any character from the ASCII table of characters. Enter the character number as a hexadecimal number.
Images
TM console logo
Example of a window with the command line