CMD-line

• overview
• file
• options
• CMD-line
• other

If MSVistaSensor.jar will be launched without arguments, it will start graphical user interface (GUI).

To use the CMD-line version MSVistaSensor you will have to run MSVistaSensor.jar in the following way:

java -jar MSVistaSensor.jar <inputfile#1.xml|csv> <inputfile#2.xml|csv> <output.xml|csv>

e.g.:
java -Duser.language=en -jar MSVistaSensor.jar inputfile1.xml inputfile2.csv exportsensors.xml

In this example you will merge inputfile1.xml and inputfile2.csv into file exportsensors.xml which can be imported via SSIM client into your MSVista Collector configuration.
If the input files could not be read, or if the resulting output file would contain sensorName doublettes, the program aborts and gives you clues why the import/export has failed:

↑ ←

  • wrong number of parameters (you will have to provide 3)
  • unknown filename extension
  • "malformed" XML- or CSV-file
  • found sensorName doublettes
  • I/O error
  • etc ...

(The parameter -Duser.language=en forces console to provide English locale output)

↑ ←