Understand when attributes are updated during run time
- Last UpdatedNov 04, 2024
- 1 minute read
At run time, the SRO allows you to capture sample data, sample characteristic data, and result data.
During OnScan, the number of result data (measurements) for a sample characteristic logged in the MES database is read into the SRO. The SRO determines whether to log further measurements for the current sample, based on the number of results logged in the MES database and the characteristic configuration in the SRO.
During normal execution, the object receives notification of new samples for the entity that contains the object. When a new sample is detected, the recent sample attributes are updated along with the recent sample ID, for all characteristics contained within the recent sample.
If a characteristic is marked as automatic, the object begins to collect data for the characteristic as soon as a new sample arrives. During each scan, the object records data for an automatically collected characteristic. Once the maximum sample size is met for an automatically collected characteristic, the recording stops. During the collection process, if the object detects a new sample, the recording of data for a sample ID stops.