キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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.
すべてをダウンロード
0 件の賞賛
メッセージ1/8
3,848件の閲覧回数
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 件の賞賛
メッセージ2/8
3,845件の閲覧回数
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 件の賞賛
メッセージ3/8
3,836件の閲覧回数
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 件の賞賛
メッセージ4/8
3,835件の閲覧回数
 

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!
メッセージ5/8
3,832件の閲覧回数
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 件の賞賛
メッセージ6/8
3,826件の閲覧回数
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.
メッセージ7/8
3,819件の閲覧回数
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!
メッセージ8/8
3,798件の閲覧回数