# Read records # Digital I/O records for individual anagates record( bi, "$(PREFIX)$(PORT):input_pin" ) { field( DESC, "Status of Input pin") field( DTYP, "BaseIU") field( INP, "@$(PORT)//DIGITAL//INP") field( SCAN, "$(SCAN)") field( ZNAM, "OFF" ) field( ONAM, "ON" ) } record( bi, "$(PREFIX)$(PORT):output_pin" ) { field( DESC, "Status of Output pin") field( DTYP, "BaseIU") field( INP, "@$(PORT)//DIGITAL//OUT") field( SCAN, "$(SCAN)") field( ZNAM, "ON" ) field( ONAM, "OFF" ) } record( bo, "$(PREFIX)$(PORT):output_pin_set" ) { field( DESC, "Set Output pin") field( DTYP, "BaseIU") field( OUT, "@$(PORT)//DIGITAL//OUT") field( SCAN, "Passive") field( ZNAM, "ON" ) field( ONAM, "OFF" ) } record(stringin, "$(PREFIX)$(PORT):stat_ip") { field(DTYP, "BaseIU") field(DESC, "Static IP Address") field(SCAN, "$(SCAN)") field(INP, "@$(PORT)//ANAGATE/IP/") } record(longin, "$(PREFIX)$(PORT):nchan") { field(DTYP, "BaseIU") field(DESC, "Number of Bases") field(SCAN, "$(SCAN)") field(INP, "@$(PORT)//ANAGATE/NBASES/") } record( bi, "$(PREFIX)$(PORT):status" ) { field( DESC, "Status of pins on this bus") field( DTYP, "BaseIU") field( INP, "@$(PORT)/0/STATUS//HVA") field( SCAN, "$(SCAN)") field( ZNAM, "OFF" ) field( ONAM, "ON" ) } record( bo, "$(PREFIX)$(PORT):pwonoff" ) { field( DESC, "Set all HV pins on this bus") field( DTYP, "BaseIU") field( OUT, "@$(PORT)/0/STATUS//HVA") field( SCAN, "Passive") field( ZNAM, "OFF" ) field( ONAM, "ON" ) }