NovaStar Program Reference / Data Collection / starpt


Overview

The starpt program files data reports for a station and sensor ID.

Command Line Usage

The command line syntax is:

starpt [options] STA SID DATA [D-T]

Command line parameters are:

Parameter Description Default
STA Station remote tag, ID, or tag
SID Station sensor ID or data position number or point type SHEF PE code
DATA Data report value
D-T Optional date and time of the report
MM/DD/YYYY-HH:MM:SS
YYYY/MM/DD-HH:MM:SS
where / can be [/+-., ]
- or : are any non digit
Current date and time
-a Disable alarm checking
-c Send calibrated data
-C Force calibration of floating point data
-d [#] Increse or set the diagnostic display level
-f Force replacing reports already in database
-i Read reports from standard input
-l # Log file:
0 = nssyslog
1 = nsrecdata.log
2 = nsautointer.log
0
-Oflags Data report flags:
A = data report alarmed
B = data series break
E = data report verified
M = maintenance data report
Q = data report questioned
V = data report valid
-q Quiet - no messages
-R #secs Interval that prevents filing of repeat reports
-S # Source number for report flag none
-s #[smhd] Add time offset to report time 0
-te D-T Stopping time for data filing Current date and time
-ts D-T Starting time for data filing 01/01/1980

Examples

starpt -C 100 0 1.23 2017/07/04-08:09:10

This will file a data report for the station with ID 100, sensor ID 0, and a data value of 1.23, with forced calibration of floating point data, in novastar database table data_2017_07.

Scheduling

Explain whether run on a schedule...

NovaStar Administrator Interface

Explain how to access, including screen shots...

Troubleshooting

Explain, including log file name/location...