I'm trying to read a json file from my computer's local disk into a readConfigFile.vi. and I want to use the data in that vi for some other VIs which need parameters from that config file.
Can anyone give me some hints on how to do it nicely?
Global value can do that work, but i think no one will suggest treat every parameters as a global value.
right now i can read that json file and load it into a strict typedef cluster. but cannot figure out what the best way to make that cluster available for all the other Vis
Solved! Go to Solution.
a simple way could be to use a FGV (Functional Global Variable) aka AE (ActionEngine). It's a "cheap" way of encapsulation, half-way to OO…