Adtec API Help

# NETSET NST NS ## Description:
      Display or Modify the netset configuration. If no argument is given, then
      all netsets will be displayed. If an argument is given, the setting is either
      displayed or changed immediately.
      If only the CHANNEL number is given all netsets will be displayed for the
      given CHANNEL. If only the CHANNEL and INDEX are given then the single
      netset's contents will be displayed.
      To get or set an ARGUMENT the CHANNEL and INDEX must be given. When setting
      an ARGUMENT the VALUE must be given.
## Form:
      Command Handler: DPID
      NETSET|NST|NS [CHANNEL] [INDEX] [ARGUMENT] [VALUE]
      Argument List:
      Terse    Verbose      Description
       NONE     CHAN        Get/Set assigned channel to insert on.
       NONE     INPUT       Get/Set assigned input on DTMF board to receive
                            triggers on.
       NONE     MODE        Get/Set mode of netset object. (INACTIVE or INSERTNET)
       NONE     DAYSON      Get/Set days on.
       NONE     TIMEON      Get/Set time on.
       NONE     TIMEOFF     Get/Set time off.
       NONE     TYPE        Get/Set type of netset object.
                            (GPI, DTMF_TONE, SCHED_TIME, SCTE35)
       NONE     STARTCOND   Get/Set condition for start event. TONE use valid tone
                            sequence. GPI use OPEN/CLOSE. Else use NONE
       NONE     STOPCOND    Get/Set condition for sop event. TONE use valid tone
                            sequence. GPI use OPEN/CLOSE. Else use NONE
       NONE     PREROLL     Get/Set preroll time in milliseconds.
       NONE     POSTROLL    Get/Set postroll time in milliseconds.
       NONE     ENDBY       Get/Set the type of condition to end insertion by.
                            (SPOT, SPOTAVAIL)
       NONE     AVAIL       Get/Set the amount of time available to insert spots
                            in seconds.
## Response:
      MODIFY NETSET RESPONSE
        Verbose- "OK\r\n" to acknowledge receipt of command, or
                 "ERROR- [Description]\r\n" if error, ending command
        Terse-   "0\r\n" to acknowledge receipt of command, or
                 "[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
        "\r\n" concludes modify responses (empty line)

      DISPLAY NETSET RESPONSE
        Verbose- "OK\r\n" to acknowledge receipt of command, followed by
                 "[ARGUMENT] = [VALUE]\r\n", or
                   "ERROR- [Description]\r\n" if error, ending command
        Terse-   "0\r\n" to acknowledge receipt of command, followed by
                 "[TERSE NUMERIC VALUE]\r\n", or
                 "[NON-ZERO NUMERIC VALUE]\r\n" if error, ending command
        "\r\n" concludes display responses (empty line)
## Examples:
      Verbose command to retrieve all current settings:
      *.DPID NETSET <enter>
         Response is: OK\r\n
                      Channel =  2\r\n
            NetSetIndex =  0\r\n
            Type =      gpi\r\n
            Start Condition = CLOSED\r\n
            Input =  2\r\n
            \r\n
            {etc...}\r\n

      Terse command to retrieve all current settings:
      *.DPID NS <enter>
         Response is: 0\r\n
                      0  2  gpi      CLOSED 2\r\n
            {etc...}\r\n

      Verbose command to retrieve all current settings for a given CHANNEL:
      *.DPID NETSET <CHANNEL> <enter>
         Response is: OK\r\n
                         Channel         = 0\r\n
                         Index           = 0\r\n
                         Input           = 0\r\n
                         Mode            = INSERTNET\r\n
                         Days On         = ALL\r\n
                         Time On         = 00:00:00\r\n
                         Time Off        = 23:59:59\r\n
                         Type            = GPI\r\n
                         Start Condition = #123\r\n
                         Stop Condition  = *123\r\n
                         Preroll(ms)     = 7000\r\n
                         Postroll(ms)    = 0\r\n
                         Avail Time      = 00:00:00\r\n
                         Endby           = SPOT\r\n
            {etc...}\r\n

      Terse command to retrieve all current settings for a given CHANNEL:
      *.DPID NS <CHANNEL> <enter>
         Response is: 0\r\n
                      0  2  gpi      CLOSED 2\r\n
            {etc...}\r\n

      Verbose command to retrieve current settings for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> <enter>
         Response is: OK\r\n
                      Channel =  2\r\n
            NetSetIndex =  0\r\n
            Type =      gpi\r\n
            Start Condition = CLOSED\r\n
            Input =  2\r\n

      Terse command to retrieve all current settings for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> <enter>
         Response is: 0\r\n
                      0  2  gpi      CLOSED 2\r\n

      Verbose command to retrieve current channel setting for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> CHAN <enter>
         Response is: OK\r\n
                      Channel =  2\r\n

      Terse command to retrieve current channel setting for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> CHAN <enter>
         Response is: 0\r\n
                      0\r\n

      Verbose command to retrieve current assigned input setting for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> ASSIGNINPUT <enter>
         Response is: OK\r\n
                 AssignInput =  0\r\n

      Terse command to retrieve current assigned input setting for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> CHAN <enter>
         Response is: 0\r\n
                      0\r\n

      Verbose command to retrieve current assigned type setting for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> TYPE <enter>
         Response is: OK\r\n
            Type = tone\r\n

      Terse command to retrieve current assigned type setting for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> TYPE <enter>
         Response is: 0\r\n
            gpi\r\n

      Verbose command to retrieve current start condition for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> STARTCOND <enter>
         Response is: OK\r\n
            Start Condition = DTMF *678\r\n

      Terse command to retrieve current start condition for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> STARTCOND <enter>
         Response is: 0\r\n
                  GPI CLOSED\r\n

      Verbose command to retrieve current stop condition for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> STOPCOND <enter>
         Response is: OK\r\n
            Stop Condition = DTMF *678\r\n

      Terse command to retrieve current stop condition for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> STOPCOND <enter>
         Response is: 0\r\n
                  GPI OPEN\r\n

      Verbose command to retrieve preroll time in milliseconds for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> PREROLL <enter>
         Response is: OK\r\n
            Preroll = 3050\r\n

      Terse command to retrieve preroll time in milliseconds for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> PREROLL <enter>
         Response is: 0\r\n
            3050\r\n

      Verbose command to retrieve postroll time in milliseconds for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> POSTROLL <enter>
         Response is: OK\r\n
            Postroll = 0\r\n

      Terse command to retrieve postroll time in milliseconds for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> POSTROLL <enter>
         Response is: 0\r\n
            0\r\n

      Verbose command to retrieve end by condition for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> ENDBY <enter>
         Response is: OK\r\n
            Endby = NetAvailSpot\r\n

      Terse command to retrieve end by condition for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> ENDBY <enter>
         Response is: 0\r\n
            NetAvailSpot\r\n

      Verbose command to retrieve avail time for a given CHANNEL and INDEX:
      *.DPID NETSET <CHANNEL> <INDEX> AVAIL <enter>
         Response is: OK\r\n
            Avail = 0\r\n

      Terse command to retrieve avail time for a given CHANNEL and INDEX:
      *.DPID NS <CHANNEL> <INDEX> AVAIL <enter>
         Response is: 0\r\n
            0\r\n

      Verbose command to change setting:
      *.DPID VIDEO NTSC <enter>
         Response is: OK\r\n

      Terse command to change setting:
      *.DPID VI 0 <enter>
         Response is: 0\r\n
## Notes:
      None.
## Products Supporting Command: DPI 1200 Created By: Adtec Digital Inc