LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Server Reference/Indicator

I am trying to find out how to create what is boxed (with black boxes) in the attached jpg from the attached vi. I know that the one on the right is a VI server reference, but I"m not entirely sure what is going on with this Vi except that. It is taking data an updating the waveformchart on a datachange which I'm not sure where that is coming from. Also, the box on the left, I  have no idea how to create and link to the actual waveform chart.
Download All
0 Kudos
Message 1 of 8
(3,597 Views)
I think I may have figured it out. Is the DBL created when you create the waveform chart? If so, I've got it. However, I am trying to recreate this vi from scratch and I cannot wire the input terminal of the Array size. It continues to give me a black dotted line which means one of two things. I'm not sure hwo ti fix this.
0 Kudos
Message 2 of 8
(3,594 Views)
Again, I found my problem (it helps if you leave and come back sometimes). It was a subVI that was causing the problem with the input of the array. Thanks.
0 Kudos
Message 3 of 8
(3,585 Views)
How is it that in the VI that was uploaded, when you double click the VariantRef at the top inside the main while loop, it highlights on the front panel, but you cannot select it on the front panel? How was this created?
Thanks

Message Edited by rlg50 on 07-02-2007 03:52 PM

0 Kudos
Message 4 of 8
(3,584 Views)

A waveform chart can be one of any number of types and that's actually determined by what you wire into it. In this case, the chart was dropped and then a 2D DBL array was wired into it.

What you're seeing on the right is a reference, which allows you to work with a specific control (this specific chart, in this case) in other VIs (or even other computers). It was created by right clicking the chart and selecting Create>>Reference.

As for why you can't select the indicator, that's because it was hidden (there is no point in showing a reference control in a GUI). You can show it by right clicking the terminal and selecting Show Indicator.

There are many problems in general with this VI and you don't seem to have a lot of LV experience. To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
Message 5 of 8
(3,581 Views)
Why is it that when I open a VI that is named i.e. project.vi, it will open project 1.vi and then if I close it and open it again, it opens project 2.vi and so forth. How do you get the original file out of memory in order to open it again and not a variant (file name) of it.
0 Kudos
Message 6 of 8
(3,575 Views)
It's because the file you're opening is set for reentrant execution. Press Ctrl-M to open the base VI.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 7 of 8
(3,568 Views)
To be more accurate, it's not set as reentrant, but as a template (vit). If you change the extension to .vi, you should be able to open it.

___________________
Try to take over the world!
Message 8 of 8
(3,547 Views)