All Channel Fields Available From Protocol I/o Types


Recommended Posts

I'm using the strNotes field in channels to store information needed by my protocol.  Unlike Channel, ChannelName, and so on, Notes can't be used directly, so I have to do

 

evaluate(ChannelName + ".strNotes")

 

since ChannelName is accessible, which works OK but would be cleaner (and faster) if it could be addressed directly.

 

Also, the (user device) docs say "local" scoped variables will be visible throughout the protocol (or maybe it only applies to devices)  but not visible outside the protocol, but anything I declare that way seems not to be visible in other protocol functions nor in I/O types.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.