LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cleaner block diagrams

Yes, vt92 is a terminal type, but I'm not quite that nerdy.  😉 

Virginia Tech -- 1992.   Go Hokies!
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 21 of 27
(1,483 Views)

Does anybody know what this part does in Ben's Overview.vi?



Message Edited by altran on 02-05-2008 06:36 PM
0 Kudos
Message 22 of 27
(1,419 Views)
Functionally probably the same as

Matt W


Message Edited by Matt W on 02-05-2008 07:29 PM
0 Kudos
Message 23 of 27
(1,408 Views)
I had just seen this function for the first time myself recently.  Here is the thread where I asked about it and got a response that it is related to the state diagram toolkit.
0 Kudos
Message 24 of 27
(1,403 Views)
It is basically a special (more elegant) type cast. It casts the I32 to the
enum. I think you get the convertion function if you install some addon, not
sure which. It is however always present in LabVIEW, so you can always use
it...

It does the same thing as converting the I32 to the type of the enum (U16
per default), and then casting it with a type cast.

Regards,

Wiebe.


0 Kudos
Message 25 of 27
(1,385 Views)

Adding to the above...

Yes that node is part of the State Diagram Editor. That part I am sure about. The rest is educated guesses.

That node is an XNode (names starts with ";D" which is rumoured to be Jeff K winking at you. ) that runs at development time. In the case of this particualr node it invokes a front panel containing a Picture control that allows you to compose your State Diagram by click and dragging states and the transistion between those states. It is a wonderful tool that automates all of the mundane tasks associated with designing and developing a state diagram. THese mundane task include;

1) Creating and updating the enum describing all of the states.

2) Ensuring all transitions are as indicated by the diagram.

3) Establishing the priority of transitions (in the event the condition for more than one transition are true at the same time).

I also believe that it was the inital release of the SDE that installed a non-password protected version of that VI, thereby giving us the first glimpses of LabVIEW Scripting as well as letting us see how XNodes are implemented. To learn more about Scripting and XNodes, please see the "Rusty Nails" section of LAVA "IN HOC SIGNO VINCES"*.

So to summarize my response to the orignal follow-up Q,

It is a fancy type cast that automatically adapts to SDE edits.

Ben

*"IN HOC SIGNO VINCES" = Wherever particular people congregate.

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 26 of 27
(1,381 Views)
Ben,

I think I got it mixed up with the Convert Enum or something, that has been
around much longer.

Does the ;D still work in 8.5?

Regards,

Wiebe.


0 Kudos
Message 27 of 27
(1,356 Views)