cppagent icon indicating copy to clipboard operation
cppagent copied to clipboard

How to set initial dataitem value in the stream

Open neildes2 opened this issue 1 year ago • 2 comments

How can i get a value loaded into a dataitem that never changes. Like a Constant. I tried initial value in the example below but it doesn't seem to be its intention.

Specification values are not reported in the stream.

           <DataItem id="Pcount" type="PART_COUNT" category="SAMPLE" units="COUNT">
              <InitialValue>125</InitialValue>  
            </DataItem>

neildes2 avatar Apr 12 '24 14:04 neildes2

I'll check to make sure it's working.

wsobel avatar Apr 24 '24 21:04 wsobel

We need to decide on the behavior. When the device is unavailable it should be unavailable. When the device becomes available it will assume the initial value.

wsobel avatar Apr 28 '24 16:04 wsobel