caproto.server.PvpropertyFloat¶

- class caproto.server.PvpropertyFloat(*, pvname: str, group: PVGroup, pvspec: PVSpec, doc: str | None = None, record: str | Type[T_RecordFields] | None = None, logger: Logger | None = None, **kwargs)[source]¶
Read-write FLOAT data for pvproperty (32 bits).
Methods
auth_read(hostname, username, data_type, *)Get DBR data and native data, converted to a specific type
auth_write(hostname, username, data, ...[, ...])Data write hook for clients.
calculate_length(value)Calculate the number of elements given a value
check_access(hostname, username)This always returns
AccessRights.READ|AccessRights.WRITE.get_field(field)Get a field by name.
is_compatible_array(value)Check if the provided value is a compatible array.
post_state_change(state, new_value)This is called by the server when it exits its StateUpdateContext.
pre_state_change(state, new_value)This is called by the server when it enters its StateUpdateContext.
preprocess_value(value)Pre-process values destined for verify_value and write
publish(flags)Publish data to appropriate queues matching the SubscriptionSpec.
read(data_type)The top-level read method, with a specific requested data type.
subscribe(queue, sub_spec, sub)Subscribe a queue for the given subscription specification.
unsubscribe(queue, sub_spec)Unsubscribe a queue for the given subscription specification.
update_fields(value)This is a hook to update field instance data.
verify_value(value)The top-level dbr-facing "write" method.
write(value, *[, flags, verify_value, ...])Write data from native Python types.
write_from_dbr(data, data_type, metadata, *)Write data from a provided DBR data type.
write_metadata([publish, units, precision, ...])Write metadata, optionally publishing information to clients.
Attributes
alarmThe ChannelAlarm associated with this data
data_typedefault_valueepics_timestampEPICS timestamp as (seconds, nanoseconds) since EPICS epoch.
lengthThe number of elements (length) of the current value
lower_alarm_limitRead-only access to lower_alarm_limit data
lower_ctrl_limitRead-only access to lower_ctrl_limit data
lower_disp_limitRead-only access to lower_disp_limit data
lower_warning_limitRead-only access to lower_warning_limit data
max_lengthThe maximum number of elements (length) this channel can hold
precisionRead-only access to precision data
severityAlarm severity
statusAlarm status
timestampUNIX timestamp in seconds.
unitsRead-only access to units data
upper_alarm_limitRead-only access to upper_alarm_limit data
upper_ctrl_limitRead-only access to upper_ctrl_limit data
upper_disp_limitRead-only access to upper_disp_limit data
upper_warning_limitRead-only access to upper_warning_limit data
valueRead-only access to value data
field_instfieldsgettergrouplognameputterpvnamepvspecrecord_typescanshutdownstartupmax_subscription_backlog