Anders Björk Posted August 5, 2006 Report Share Posted August 5, 2006 Is it possible to programatically access indicators and controls in global variables? In customers a project I have a global variable that contains "fields" like ChannelAUpdated ChannelBUpdated ChannelACorrected ChannelBCorrected Is there a way to build a string for the global I want to access and process that string with my argument? Or do I need to build separate cases for the same operations. BR Anders Quote Link to comment
LAVA 1.0 Content Posted August 6, 2006 Report Share Posted August 6, 2006 Is it possible to programatically access indicators and controls in global variables? In customers a project I have a global variable that contains "fields" like ChannelAUpdated ChannelBUpdated ChannelACorrected ChannelBCorrected Is there a way to build a string for the global I want to access and process that string with my argument? Or do I need to build separate cases for the same operations. BR Anders Using the VI Server/Application Control functions you can access control/indicators on any VI using their name as a reference. You do have to use the Variant data type to handle different data types. Download File:post-3370-1154819808.zip Quote Link to comment
Anders Björk Posted August 7, 2006 Author Report Share Posted August 7, 2006 Using the VI Server/Application Control functions you can access control/indicators on any VI using their name as a reference. You do have to use the Variant data type to handle different data types. Thanks, I have tried and inspected the VI you sent. I will test to implement this idea later in the week. Anders 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.