LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Limited number of inputs due to connector pane

Solved!
Go to solution
Highlighted

I am doing a code where I replaced the global variable with an FGV. But the limitation here for me is I am limited to the connector pane inputs. Right now I am using 8 inputs, so I use 8 inputs of the connector pane. In the future if we added more inputs it will be not possible with the FGV. So what is the best way to overcome this problem. 

0 Kudos
Message 1 of 23
(579 Views)
Highlighted

Why you need 8 inputs for FGV?
You need only 2+1:
mode + data for inputs
data out.

0 Kudos
Message 2 of 23
(571 Views)
Highlighted

You have me very concerned on how you are using the FGV.  Why replace the Global Variables?  Can you show an example of your FGV and how you are using it?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 3 of 23
(568 Views)
Highlighted

Hi govindsankar,

 

why are you limited to just 8+8 I/O connections? There is a connector pattern with 28 connectors!

 

(Just being ironic. You are doing something wrong with your "FGV"…)

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win10+cRIO
Message 4 of 23
(546 Views)
Highlighted

As requested I have attached a small program where I uses FGV. It uses 8 inputs and 8 outputs. I didnt use the error. If use error it will become 9.

0 Kudos
Message 5 of 23
(538 Views)
Highlighted

Hi Gerdw,

 

Yes I know there are more connector panes, but I am just saying in the future what if I have more than 28 inputs. That is my doubt. 

0 Kudos
Message 6 of 23
(536 Views)
Highlighted

Hi govindsankar,

 

I am just saying in the future what if I have more than 28 inputs.

You don't even need your current 8+8 I/O connectors. (Atleast you should not.)

 

Unfortunately you attach your VIs just in LV2018, which I can't open right now…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win10+cRIO
0 Kudos
Message 7 of 23
(528 Views)
Highlighted

You don't have a doubt.  You have a question.

 

If you need more than 28 connectors, then you have a very disorderly program.  You should be using clusters to combine pieces of data that should be naturally grouped together.  In your current FGV, you have 8 identical datatypes.  Those should be in an array.

0 Kudos
Message 8 of 23
(527 Views)
Highlighted

I am attaching my code in LabVIEW 2014. Please chek it out. 

0 Kudos
Message 9 of 23
(520 Views)
Highlighted

In my original code, I am using cluster. I have 24 inputs, i group them into 8 clusters having 3 inputs each, so I have 8 inputs. In this program, I just used 8 numeric to show everyone how I am doing the program to correct my mistake.

0 Kudos
Message 10 of 23
(519 Views)