LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown VI

I was going through a book where there was a block diagram posted and I saw a VI that to this point have not been able to figure out what it is called or where it is located.
I created a VI icon of what it looks like, you can find it attached.
Some more info, this VI receives a integer and an enumerated type control and I think it outputs the string of the enum at the integer received index.
I am using LabVIEW 7.0 Professional.

Does anyone knows what this VI is called and where it is located?

Thank you
Message 1 of 6
(3,419 Views)
For some reason the attachment did not "Attach", so here it is again
Message 2 of 6
(3,414 Views)
It is an "Integer To Enum" converter.
I found it by accident in the State Diagram Editor.
Could not find any documentation for it, nor its location on any palette.
Anyway, it's attached here.

Happy Wiring !
Chilly Charly    (aka CC)
Message 3 of 6
(3,386 Views)
HI CC and TWago!

Excellent Q!

That VI is indeed what CC suspected.

It is not found on any of the palettes but can be found at

C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\addons\statediagram\;DNI_IntToEnum.vi

As far as i know, it is the only VI added when the SD Editor is installed.

If you try to do an open of this VI, you will find that the diagram is not locked!

It looks like it is doing LV scripting but I am not sure. I suspect that this VI is involved in the taks involved in miantianing the state names in the SD.

This VI also has another strange feature. It does not show up in the hiarchy screen.

I suspect there is a bit somewhere in the code for this VI that marks it as a system function.

Since the VI is open you can conduct a curious (but useless) experiment.

Copy the VI as a new name some where fresh.

Open the new VI, gut it and then save it.

You now will have a container from which you can build "hidden VI's" that do not show in the hiarchy.

So what do you do with it?

I am still trying to answer that Q.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 6
(3,370 Views)
Ben and CC,

Thank you for your replies.
I really felt frustrated after going through all the pallets and help and could not find it.
I do not have the state diagram toolkit, I think that is probably why I didn't have any information about it.

Cheers
0 Kudos
Message 5 of 6
(3,358 Views)

@Ben wrote:
...This VI also has another strange feature. It does not show up in the hiarchy screen.
I suspect there is a bit somewhere in the code for this VI that marks it as a system function.
Since the VI is open you can conduct a curious (but useless) experiment.
Copy the VI as a new name some where fresh.
Open the new VI, gut it and then save it.
You now will have a container from which you can build "hidden VI's" that do not show in the hiarchy.
So what do you do with it?
I am still trying to answer that Q.
Ben



Ben, you asked what to do with a hidden VI. I have no clear answer for this either, but attached is the tool to set the 'hide/show' property of a VI. It is part of the first (and then still free) distribution of the GOOP toolkit. Its BD is PW protected.
Message 6 of 6
(3,326 Views)