progor Posted August 21, 2008 Report Share Posted August 21, 2008 Hallo, I need to write and read Global variable in test.vi knowing path of Global.vi and a variable name (level). It's simple to call dynamicaly subVi because it has conectors - how to do it with Globals :question: in attachment (LV8.5) simple example what and how I need to be done. thank's for all replays. _____ progor Quote Link to comment
PaulL Posted August 21, 2008 Report Share Posted August 21, 2008 Interesting.... I was able to write to the values of your 'Global.vi' using exactly the same steps you did to write to your subVI.vi. 'Ctrl Val.Get All' with 'Global.vi' didn't work (returned an empty array--not sure why) but 'Ctrl Val.Get' with the 'Control Name' specified (the more likely use case) worked fine. I'm using LabVIEW 8.6. So I think you are just about there (if you still opt to use LabVIEW native globals). Paul Quote Link to comment
progor Posted August 22, 2008 Author Report Share Posted August 22, 2008 you are write - I did it Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.