Attach and Detach Details

Use rvptsAttach() to attach and rvptsRelease() to release the connection.

Always attach to unit RVPTS_UNIT_MAIN. The others are for internal RVP use. You must also specify your client type. Readers are generic, but for writers, there are several choices because we need to switch sources, and we need to know who the sources are.

For commands, see program /rda/tsapi_lib/. The same directory includes the rvpts_example.c example.

Other programs using the TimeSeries API are:

  • ts/export/tsexport.C
  • ts/export/tsimport.C
  • ts/switch/tsswitchMainWin.C
  • ts/exec/TsArchExec.C
  • ts/exec/tsclientshell.C
  • ts/archive/tsarchAS.C