NovaStar Program Reference / Data Collection / sendrpt


Overview

The sendrpt program files data reports.

Command Line Usage

The command line syntax is:

sendrpt [options] ID[/r#] DATA [D_T]

Command line parameters are:

Parameter Description Default
ID File data report for the remote or point ID or tag
ID/r# File rating data for the remote or point ID or tag
DATA File this data report value
D-T File this data report date and time
MM/DD/YYYY-HH:MM:SS
YYYY/MM/DD-HH:MM:SS
wher / 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 [#] Increase 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
O = data report rating over the rating table limit
Q = data report questioned
U = data report rating under the rating table limit
V = data report valid
-q Quiet - no messages
-R #secs Interval that prevents filing of repeat rports
-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

sendrpt -C 100 1.23 2016/12/25-01:02:03

This will file a data report for point ID 100 with a data value of 1.23, with forced calibration of floating point data. The report is filed in the novastar database table data_2016_12.

Scheduling

Explain whether run on a schedule...

NovaStar Administrator Interface

Explain how to access, including screen shots...

Troubleshooting

Explain, including log file name/location...