|
| | ngcbIFC2 () |
| | Constructor without name.
|
| |
| | ngcbIFC2 (const char *name) |
| | Constructor with name.
|
| |
| virtual | ~ngcbIFC2 () |
| | Destructor.
|
| |
| int | Fd () |
| | Return device file descriptor.
|
| |
| int | Sim (int level) |
| | Set simulation level.
|
| |
| int | Open (const char *name) |
| | Open interface by name.
|
| |
| int | Close () |
| | Close interface.
|
| |
| void | Keeper (int seconds) |
| | Set line keeper interval (seconds)
|
| |
| int | Reset () |
| | Reset device.
|
| |
| int | Ping () |
| | Ping device.
|
| |
| int | Timeout (int seconds) |
| | Set timeout.
|
| |
| int | SetTime (uint64_t sec, uint64_t nsec) |
| | Set device time (seconds and nanoseconds since UNIX epoch)
|
| |
| int | RPC (int mod, int target, int req, void *payload, unsigned int size, unsigned int *status) |
| | RPC.
|
| |
| int | ReadAddr (ngcb_route_t route, int addr, int *buffer, int size, int *result) |
| | Read from address.
|
| |
| int | WriteAddr (ngcb_route_t route, int addr, const int *buffer, int size, int *result) |
| | Write to address.
|
| |
| int | Status (int *devStatus) |
| | Get last communication status.
|
| |
| int | Connect () |
| | Connect through to device.
|
| |
| int | Disconnect () |
| | Disconnect from device.
|
| |
| int | Connected () |
| | Connected to device.
|
| |
| int | TsuStartAt (uint64_t sec, uint64_t nsec) |
| |
| int | TsuStart () |
| | Start TSU trigger immediately.
|
| |
| int | TsuStop () |
| | Stop TSU trigger.
|
| |
| int | TsuTrigger () |
| | Manual TSU trigger.
|
| |
| int | TsuSnapshot () |
| | Take TSU snapshot.
|
| |
| int | TsuStatus (int *value) |
| | Get TSU status.
|
| |
| int | TsuConfig (ngcb_tsu_t *cfg) |
| | Get TSU configuration.
|
| |
| int | TsuRunning () |
| |
| void | Lock () |
| | Lock device access.
|
| |
| void | Unlock () |
| | Unlock device access.
|
| |
| int | _ReadAddr (ngcb_route_t route, int addr, int *buffer, int size, int *result) |
| | Read from address.
|
| |
| int | _WriteAddr (ngcb_route_t route, int addr, const int *buffer, int size, int *result) |
| | Write to address.
|
| |
| int | _Ping (char *erms) |
| | Ping protocol.
|
| |
| | ngcbIFC () |
| | Constructor without device name.
|
| |
| | ngcbIFC (const char *name) |
| | Constructor with device name.
|
| |
| virtual | ~ngcbIFC () |
| | Destructor.
|
| |
| char * | ErrMsg () |
| | Pointer to last error message.
|
| |
| void | ErrState (const char *msg, int errorId=0, void *origin=NULL) |
| | Go to error state with error message.
|
| |
| void | Result2Err (char *s, int resultCode) |
| | Convert result code to error string.
|
| |
| void | Verbose (const char *format,...) __attribute__((format(printf |
| | Verbose message.
|
| |
| void void | Log (const char *format,...) __attribute__((format(printf |
| | Log message.
|
| |
| void void const char * | SofwVersion () |
| | Software version.
|
| |
| char * | Name () |
| | Device name.
|
| |
| char * | Type () |
| | Interface type.
|
| |
| char * | Arg () |
| | Driver interface process arguments.
|
| |
| int | Instance () |
| | Get interface instance.
|
| |
| void | Instance (int instance) |
| | Set interface instance.
|
| |
| int | Open () |
| | Open interface with current name.
|
| |
| void | DefaultTimeout (int seconds) |
| | Set default timeout.
|
| |
| int | SetTime (double time=0.0) |
| | Set device time (seconds since UNIX epoch, time <= 0.0 sets system time).
|
| |
| int | BigEndian () |
| | Get endianess.
|
| |
| int | SyncFwd (int flag) |
| | Forward SYNC signal.
|
| |
| int | SyncWithData (int flag) |
| | SYNC with data-valid.
|
| |
| int | SyncSize (int size) |
| | Set SYNC packet size.
|
| |
| int | Configure (const char *s) |
| | Configure interface device via interface setup identification string.
|
| |
| int | Configure () |
| | Configure interface according to give device setup.
|
| |
| const char * | Setup () |
| | Return actual interface setup identification string.
|
| |
| int | Standby () |
| | Bring interface to STANDBY state.
|
| |
| int | Online () |
| | Bring interface to ONLINE state.
|
| |
| int | Off () |
| | Bring interface to OFF state.
|
| |
| int | PythonTask (const char *script) |
| | Execute Python task.
|
| |
| int | ReadAddr (const ngcb_route_t &route, int addr, int *buffer, int size) |
| | Read from address.
|
| |
| int | WriteAddr (const ngcb_route_t &route, int addr, const int *buffer, int size) |
| | Write to address.
|
| |
| int | WriteBuffer (const int *buffer, int size, int *result) |
| | Write formatted buffer to device.
|
| |
| int | Event (ngcbEVT *evt) |
| | Activate device event.
|
| |
| int | ReadAddr (int addr, int *buffer, int size=1) |
| | Read buffer from first board.
|
| |
| int | WriteAddr (int addr, const int *buffer, int size) |
| | Write buffer to first board.
|
| |
| int | WriteAddr (int addr, int value) |
| | Write to register on first board.
|
| |
| int | ReadAddr64 (const ngcb_route_t &route, int addr, uint64_t *buffer, int size) |
| | 64-bit read
|
| |
| int | WriteAddr64 (const ngcb_route_t &route, int addr, const uint64_t *buffer, int size) |
| | 64-bit write
|
| |
| int | ReadAddr64 (int addr, uint64_t *buffer, int size=1) |
| | Read 64-bit buffer from first board.
|
| |
| int | WriteAddr64 (int addr, const uint64_t *buffer, int size) |
| | Write 64-bit buffer to first board.
|
| |
| int | WriteAddr64 (int addr, uint64_t value) |
| | Write to 64-bit register on first board.
|
| |
| int | CheckEvent (ngcbEVT *evt, int *result) |
| | Check if device event conditions are met.
|
| |
| int | Wait (ngcbEVT *evt, int interval, int *result) |
| | Wait for event.
|
| |
| void | Poll () |
| | Poll event list.
|
| |
| int | SetChanIp (int idx, ngcb_chan_ip_t ip) |
| | Set RTMS channel IP configuration.
|
| |
| int | SetChanMudpi (int idx, ngcb_chan_mudpi_t mudpi) |
| | Set RTMS channel MUDPI configuration.
|
| |
| int | SetChanRtms (int idx, ngcb_chan_rtms_t rtms) |
| | Set RTMS channel RTMS configuration.
|
| |
| int | SetRtmsNet (ngcb_rtms_net net) |
| | Set RTMS common parameters.
|
| |
| int | GetChanIp (int idx, ngcb_chan_ip_t *ip) |
| | Get RTMS channel IP configuration.
|
| |
| int | GetChanMudpi (int idx, ngcb_chan_mudpi_t *mudpi) |
| | Get RTMS channel MUDPI configuration.
|
| |
| int | GetChanRtms (int idx, ngcb_chan_rtms_t *rtms) |
| | Get RTMS channel RTMS configuration.
|
| |
| int | GetRtmsNet (ngcb_rtms_net *net) |
| | Get RTMS common parameters.
|
| |
| int | SetChanEnable (int idx, int flag) |
| | Enable/disable RTMS channel.
|
| |
| int | GetChanEnable (int idx, int *flag) |
| | Get RTMS channel status (enabled/disabled)
|
| |
| int | SetChanSrc (int idx, int src=0, int flag=-1) |
| | Enable/disable channel source.
|
| |
| int | GetChanSrc (int idx, int src, int *flag) |
| | Get enabled-flag per source and channel.
|
| |
| int | GetChanDrop (int idx, int src, int *flag) |
| | Get channel source drop flag.
|
| |
| int | ClearChanDrop (int idx) |
| | Clear channel drop flags.
|
| |
| int | SetChanBits (int idx, int bits) |
| | Set number of enabled bits on channel.
|
| |
| int | GetChanBits (int idx, int *bits) |
| | Get number of enabled bits on channel.
|
| |
| int | SetChanShift (int idx, int shift) |
| | Set channel bit shift.
|
| |
| int | GetChanShift (int idx, int *shift) |
| | Get channel bit shift.
|
| |
| virtual int | Pid () |
| | Driver interface process id.
|
| |
| virtual int | Port () |
| | Driver interface process command port.
|
| |
| virtual const char * | Host () |
| | Driver interface process host.
|
| |
| virtual int | Timeout () |
| | Get timeout.
|
| |
| virtual void | RpcCopy (void *dest, const void *src, size_t size, size_t items) |
| | Copy RPC payload.
|
| |
| virtual int | Str2Payload (const char *cmd, unsigned char *payload, unsigned int max, char *erms) |
| | Parse string to RPC payload.
|
| |
| virtual int | Read (int *buffer, int size) |
| | Read buffer from device.
|
| |
| virtual int | Write (const int *buffer, int size) |
| | Write buffer to device.
|
| |
| virtual int | Event (ngcbEVT *evt, int *result) |
| | Activate device event.
|
| |
| virtual int | ExecServer () |
| | Launch driver interface process.
|
| |
| virtual int | KillServer () |
| | Terminate driver interface process.
|
| |
| virtual int | Running () |
| | Driver interface process is running.
|
| |
| virtual int | HandleFdEvt () |
| | Handle event on file descriptor.
|
| |
| virtual ClientConnection * | GetConnection () |
| | Get client connection.
|
| |