Sign in to follow this  
Followers 0
cschlue

Using Variable Tags In Factory talk Studio ME 7.00

2 posts in this topic

Is it at all possible to use a "Variable Tag"? An example would be i have a macro that runs on the close of a display that checks if a {Part_selection_A\Selected} tag is greater than 0, The tag is set by Interlocked Buttons on a part selection screen. If the tag is greater than zero I want to write {Part_Selection_A\Part_%} to the tag, and the % would be Equal to the same value of {Part_selection_A\Selected} I'm trying to avoid writing the same macro over and over again just to change one number.

Share this post


Link to post
Share on other sites
The short answer is, Yes. You may have to re think the method you are currently using though. Have a look at Parameter Files. They are explained quite well in the help section and in the default file. Instead of writing on close, you would populate your display with the variable tags on open. This is usually accomplished when clicking a Goto Display Button. In the button's display properties, you can select a Parameter File to use.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0