11-15-2022 03:34 AM
Hello,
I would like to know how to create a array into VFG optimally. I know how to do but I don't think I have the right method. Do you have an example Do you have any examples that I can use as inspiration ?
Thank you for your helps
Regards
11-15-2022 04:44 AM
Just for my curiosity: what does VFG mean?
11-15-2022 06:06 AM
@MaSta wrote:
Just for my curiosity: what does VFG mean?
Some possible acronyms:
Victorian Frog Group
Vista Financial Group
Virtual Facility Group
Versuchsanstalt Für Getreideverarbeitung
Very fast-growing
Visual Flight Guide
Virtual Fighter Group
Voice Frequency Generator
Valley Fig Growers
Virtual Facility Groups
Virtual Focus Groups
My bet is however on:
Variable Frequency Generator
But even if I'm right I would have no ideas what the OP wants exactly. It depends a lot on the type, make and model of such an instrument, to know what would need to be done.
11-15-2022 06:32 AM
Sorry,
VFG it's in French, I think it's FGV in english (Function Variable Fonctional).
11-15-2022 10:17 AM
Maybe a Functional Global Variable?
11-15-2022 10:58 AM
@GSXR100038 wrote:
Hello,
I would like to know how to create a array into VFG optimally. I know how to do but I don't think I have the right method.
Show us how you currently do it (whatever it is!) and if there is a better way, we will tell you.
What's wrong with your current way (performance? convoluted code? incorrect result? does not always work? something else?)
11-15-2022 02:38 PM
11-15-2022 02:48 PM
@altenbach a écrit :Show us how you currently do it (whatever it is!) and if there is a better way, we will tell you.
Hi,
Thank you, Finally I managed to do something. I don't know if it's correct but it works for me (see in this attached). I use to synchronize 2 loops which do not have the same sampling frequency.
11-15-2022 03:39 PM - edited 11-15-2022 03:45 PM
It could look similar to the following:
11-16-2022 12:58 AM
@altenbach a écrit :
- You did not include the typedef, so I had to disconnect it
- Since the stored array is always size=3, you can wire the "Value_in" directly to the replace array subset. No need to index and build a new array. The array will always be size=3, no matter the array size of "Value_in".
Thank you, let me a little time to watch please, after I'll be back.