From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-06-2018 06:51 AM
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.
12-06-2018 07:18 AM
Why you need 8 inputs for FGV?
You need only 2+1:
mode + data for inputs
data out.
12-06-2018 07:22 AM
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?
12-06-2018 07:52 AM
12-06-2018 08:05 AM
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.
12-06-2018 08:07 AM
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.
12-06-2018 08:17 AM
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…
12-06-2018 08:17 AM
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.
12-06-2018 08:32 AM - edited 12-06-2018 08:34 AM
I am attaching my code in LabVIEW 2014. Please chek it out.
12-06-2018 08:34 AM
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.