Machsupport Forum
Mach Discussion => Mach Screens => Flash Screens => Topic started by: kevlar129bp on April 13, 2011, 01:44:35 PM
-
Could one of you fine folks help me retrieve a parameter from Mach, and store it in a text box on the Flash screen?
Hope that makes sense?
Thanks guys,
Chris
-
Sorry for the delay, I did not see the post.
you can call a VB command to either set a Userlabel,LED,DRO OR write to a text file which Flash then could load.
I.E.
loadSettings =
'value = GetParam("Boundry")'+"\r"+
'if value = 1 then'+"\r"+
'SetUserLED(1816,1)'+"\r"+
'else'+"\r"+
'SetUserLED(1816,0)'+"\r"+
'end if'
fscommand("VBMacro", loadSettings);
Let me know if you want to read a file in Flash will give an example.
-
Hey cool zealous, I think that's what I was after. May take me a bit to try it out...way too many projects right now ;). I'll keep you posted.
Thanks again,
Chris