
public class PTPInfoReader extends Object
The main program sets up notification for updates to the "tinfo" variable in the MAIN program of the currently running PLC program, which should be The PTP program of the CCS solution in the CCS Electronics GitHub repository. The PLC program will update the structure at tinfo once a second with the above data, which the Java program will write to stdout. The format is CSV with the first line containing the column headings. All the numbers are in nanoseconds. Each non-header line will start with the TAI time of the system running this Java program followed by the PLC time info variables in the order listed above.
| Modifier and Type | Class and Description |
|---|---|
static class |
PTPInfoReader.TimeInfo |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PTPInfoReader.TimeInfo |
getInfo() |
static void |
main(String[] args) |
public void close()
public PTPInfoReader.TimeInfo getInfo() throws InterruptedException
InterruptedExceptionpublic static void main(String[] args) throws org.lsst.ccs.drivers.commons.DriverException, InterruptedException
org.lsst.ccs.drivers.commons.DriverExceptionInterruptedExceptionCopyright © 2019 LSST. All rights reserved.