View Single Post
Unread October 10th, 2019, 04:02 AM   #7
JesperMP
Lifetime Supporting Member + Moderator
Denmark

JesperMP is offline
 
JesperMP's Avatar
 
Join Date: Feb 2003
Location: Copenhagen.
Posts: 13,964
For hardware inputs and outputs (*), and for single-element data, I use 1 variable per pin.
For anything complex I define the data by UDTs.

*: Not to confuse everyone, but it is possible to define UDTs for hardware inputs and outputs. I have never used it.
__________________
Jesper
See my profile interests for Q&A
  Reply With Quote