Add property ChannelConfig (or SignalConfig) ?
Currentl DAQ API (restricted access) defines a property ChannelConfigDAQ
which is used to lookup channel names and several other channel related information.
It is planned to introduce a channel lookup service which most likely would make the major usecase of this property obsolete.
Though currently the property still offers some static channel-specific information, which afaik will not be covered by the lookup-service. Here an overview:
- channelNames
- Covered by lookup service
- channelDataRates
- in Hz. Purpose: client does not require to parse the channel name to figure out the frequency
- channelUnits
- SI Unit of the channel. Currently part of the property
Acquisition
. Since we anyhow have more channel-specific static information, it might make sense to remove it fromAcquisition
.
- SI Unit of the channel. Currently part of the property
- triggerEvents
- triggerEventsEnabled
- A list of events which can be used as trigger, and wheater triggering is enabled for specific events (only for triggered channels). Do we dont want to restrict the events to choose from in the future ? For sure we still need a list of events which currently is used as trigger.
- status_labels
- The meaning of each status bit. Required, if we dont want to hard-code them all.
I suppose such static information as well could be added to the lookup service, instead of providing it in a separate property. I dont have a strong preference on that .. to be discussed.
Since the existence of a lookup service for channels was already decided, it most likely would make sense to use the channelname
as filter for a possible property ChannelConfig
.