Quote:
|
Originally Posted by Joe Hershberger
The only thing to watch out for (I'm not sure how much it is used in the dashboard application) is that you can also access those controls and indicator using a Local Variable node (see the data communication palette) or a property node to change or access the value of them.
|
Actually when writing the Dashboard Display VI I tried to show the use of both methods. Realize that many bytes are duplicated in multiple data frames - this means there are possibly 4 different frames where updated information can come from. Look at the "packet number" byte, it's included in each and every frame. Unfortunately when you create a front-panel numeric indicator (like that of the "packet number" indicator) you only get one block-diagram node for that indicator (so it's only possible to write to that front-panel object
directly in one place on the block diagram). I want the packet number to be updated in the same front-panel numeric indicator each time a new packet comes in, so I have to reference the front-panel numeric indicator in multiple locations (since it is present in every frame type). Some of the ways I write to the numeric indicator are
directly (RC Data frame 2), through a
local variable (RC Data Frame 3 and OI Data Frame), and through a
reference (RC Data Frame 1); there are even more ways than this!
The
6-hour Learning LabVIEW training course (FREE!) guides you through much of this and more.
-Danny