options - femanov/pycx4 GitHub Wiki

Options can be passed as kwargs to any context or channel on creation. Flag options are false by default

context options:

  • other_opp_flag - Don't support CXCF_FLAG_OTHEROP rflag
  • ignore_update - Ignore UPDATE events (intended for cx-starter)

channels options:

  • private - Force registration of distinct dataref, even if this name is already present; additionally, later registrations wouldn't alias to this one
  • no_rd_conv - Don't perform {R,D}-conversion
  • shy - Drop written-but-not-sent data upon disconnects
  • find_only - Check if channel is registered; return its ref upon success or DATAREF_ERROR upon absence
  • on_update - Notify about this channel's updates immediately, not upon CYCLE (this flag is passed to server by CX plugin)
  • no_wr_wait - Don't buffer writes until {R,D} info is received