|
fdhwlib
2.0.25
|
The feshell program contains an instruction set to control the gpsserver.
The interface GpsUnit and TCP/IP-based access to the is used to communicate with the gpsserver and to monitor the gpsclock. Use the feshell command "help gps" to find out more about the syntax of the commands.
06:56:32-Karlsruhe-1>help gps GPS Clock commands: gpsserver [cmd] [unit] [debug] Start/Stop/Test gpsserver gpsstatus Display the status of the gpsclock gpstiming sec [n] Get the timing of n seconds gpscapture [n] Display n captured time stamps gpsleapsec Get the number of leap seconds gpsinit Reset and initialize gpsclock gpsconnect [inifile] Connect to the server gpsdisconnect Disconnect the gps server gpsset [par][arg] Set parameter -> help gpsset ver Display the version number of the gpsserver
For the feshell command "gpsset" an extended help page is available.
06:56:35-Karlsruhe-1>help gpsset
gpsset <cmd> <arg-list> Set Parameter
gpsset gen <no> at <start>|in <start>|now|off <n> <period1> <period2> [<pulse> <mode>]
Set gate generator number <no> (1..4)
with start gps second or time expression,
n number of pulses (0..256)
(0 means continuous pulses),
period1 period1 lenth [s] (1..256),
period2 period2 lenth [min] (1..256),
pulse begin end [us],
mode 0 veto, 1 external
Examples: Generate 10 external trigger every 5s
gpsset gen 1 at 744800649 10 5 300 400 1
gpsset gen 1 at 21:15:00 10 5 Same but starting at 21:15h
gpsset gen 1 now 10 5 Starting now
gpsset gen 1 in 1:30 0 5 Continuously pulse every 5s
gpsset gen 1 off Stop gate generator 1
gpsset input <no> <mode> <act> Set mode of input signal <no> (1..4)
mode 0 veto, 1 external
act 0 disabled, 1 active
gpsset lidar <freq> Set lidar frquency (0,20,333Hz)
gpsset inhibit Set inhibit
gpsset relinhibit Release inhibit
gpsset adjust [mode] Adjust auger second counter
mode 0 disabled, 1 once, 2 active
Status message:
06:56:58-Karlsruhe-1>gpsstatus
______________________
/ Karlsruhe | GpsClock \
-------------------------------------------------------------------------------
+ Status: Ok Clock : 08.09.2006 07:04:01 LeapSecs 14
Inhibit: No Position: 8.43 E 49.09 N, 175.59m
Eyestat : Karlsruhe (Id 5)
Adjust : Yes (Auger-Oncore 0s)
+ Gate Generator:
Ch | Start [s] | N T[s][min] Pulse [us] Mod | Act
1 | 12:00:30 07.09.2006 841676444 | 0 1 0 0- 10 ext | no
2 | 04:56:32 07.09.2006 841651006 | 1 1 0 250000-250010 ext | no
3 | 04:56:32 07.09.2006 841651006 | 1 1 0 500000-500010 ext | no
4 | 04:56:32 07.09.2006 841651006 | 1 1 0 750000-750010 ext | no
+ Lidar: 0 Hz
+ Input: | 1 2 3 4 |
Mode/Act | ext/ no ext/ no ext/ no veto/ no |
+ Timing parameter : -> gpstiming time
+ Capture inputs : -> gpscapture interval
07:04:01-Karlsruhe-1>
Information about the Gpsserver interface can be found in the class documentation GpsUnit.