epics-modules / ip

APS BCDA synApps module: ip
http://epics-modules.github.io/ip/
Other
3 stars 9 forks source link

Oxford 800 - status from specified controller #28

Closed prjemian closed 4 years ago

prjemian commented 4 years ago

Controls for the Oxford CS800 receive status updates every second as UDP broadcasts from the controller on port 30304. There is an assumption that only one controller is broadcasting on the subnet. When there are two (or more controllers), the status of each controller will be fed to the EPICS PVs from the stream protocol.

Need to differentiate which controller owns the status packet received and filter out the status updates from the other (unwanted) controllers.

The UDP packet has the IP number in the header block while the controller number is in the data block.

Can the stream protocol match the controller ID with a desired value?