Streaming Analog Outputs

I’m trying to implement streaming analog outputs (analogous to streaming digital outputs, for which the StreamingOutput* API functions exist). I assume I would use the same APIs for analog outputs? I mean, they just take a target memory address.

The quirk about these functions is that they seem designed for digitals. However, since the ones that operate on an address (instead of an IOPoint*) accept an “on mask,” I could just use the target analog value (a 32-bit integer, per NetworkNode::AnalogOutSet) as the on mask and use 0 for the off mask.

Is this the appropriate way to stream analog values?

Hi @todd_mm,

Yes. Ultimately it will just applies the masks to the address when executed.

1 Like