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.
Solved! Go to Solution.
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?
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"…)
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.
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.
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…
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.
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.