The ulincmd utility (normally installed into "Program Files\Eurotherm\psw" folder) can be used to initiate commands with LIN instruments. It runs against an instrument folder in a project which requires:
- The network folder above to have an online port configured (properties page).
- The instrument folder has the correct database name and node number.
The commands that can be used with ulincmd are:
ulincmd.exe /<command>[silent] <path to instrument folder> [file name] where <command> can be start - start the instrument. stop - stop the instrument. savedbf - save the loaded database onto the instrument's filing system. savebackup - save a backup of the loaded database. sync - synchronize dual processors. desync - de-synchronize dual processors. download - download the files in list.ujd (or optional [file name] which can be a file or other .ujd file) to the instrument. Will optionally load the default DBF and run it (always does it when silent). upload - as per download but from instrument to PC. Always overwrites when silent. loadthis - download a database [file name] and then load into the instrument. copy - as per download without loading the default DBF. getstatus - returns 0 for running 1 for stopped 2 for empty 3 for all other states/errors. e.g. "c:\program files\eurotherm\psw\ulincmd.exe" /copysilent "c:\europs\project 1\elin1\inst\" mylist.ujd
The word "silent" appended to any command suppresses all dialog boxes. If there is a choice that would normally be made from a dialog then the default action is taken (and is listed with the individual commands above).
Note that the command names are CASE SENSITIVE, so no upper case letters please.