LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to use AlicatSimplifiedExample.vi multiple times in the same project

Hi All,

 

I am NEW to LabView. At my office we are using Alicats and I am able to use an Alicat with the AlicatSimpliedExample.vi to read out data.

 

In total we have 4 Alicats and I thought that I can easily copy the AlicatSimpleExample.vi 4 times into my project. Unfortunately this is not the case and the ControlPanel is not able to talk to the Alicats when using different UnitIds.

 

How can I make multiple copies of the AlicatSimpleExample.vi running in my project? On my system all devices are showing up under one single com port.

 

Appreciate your help,

--Roman

0 Kudos
Message 1 of 6
(279 Views)

I assume your VI is from the LabVIEW driver set downloaded from here. I cannot find any file named "AlicatSimpleExample.vi".  Is it any of these? (Note that there are examples for multiple instruments.)

 

altenbach_0-1738431131850.png

 

 

It is not entirely clear what you are doing, for example the word "project" has a very defined meaning.

What kind of error messages do you get? How are things connected?

 

If you are new to LabVIEW, did you try any of the basic learning resources listed at the top of the forum?

0 Kudos
Message 2 of 6
(247 Views)

Thanks for your response!

 

Exactly, I want to re-use some of these examples and modify them accordingly. By creating subvi's I was able to have some progress. 

 

Now, I am able to have mutliple of these controllers for different Alicats. The UI looks a little bit messy but I guess this is part of the journey learning the tool.

 

--Roman

0 Kudos
Message 3 of 6
(179 Views)

Hi All,

 

I want to take advantage of the Alicat example "Alicat Simplified Driver Example_Multiple Devices with Setpoint".

 

What is the easiest way to copy the example into my own VI?  When I copy the block diagram, I lose the structure in the front panel. I feel also some wiring gets lost. Any suggestions?

 

Thanks

0 Kudos
Message 4 of 6
(210 Views)

Hi Roman,

 


@RomanWB wrote:

What is the easiest way to copy the example into my own VI? 


Use the example VI as subVI of your own MainVI…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(148 Views)

Hi Gerd,

 

I was able to setup my project using a similar example.

 

Thanks for helping,

--Roman

0 Kudos
Message 6 of 6
(105 Views)