From Serious Documentation
Jump to: navigation, search

Node: linkvar

Property Data Type Description
direction** LINKDIR Most Protocols need to understand if this is an input or output variable

**available only in SHIPTide; cannot be accessed from Sail scripts at run-time.

The direction can be a bit confusing: it is always with respect to SHIPEngine. So an "output" direction means the data is supplied by SHIPEngine to the remote end of the linkset, regardless of whether the linkset is a master or slave in a master/slave environment. Similarly, and "input" direction means that the data is coming into the variable from the remote end of the linkset. Remember that "in" and "out" are with respect to your GUI in SHIPEngine.