Is there a way to pass more than one variable from a PY file back to VC?
For example, I can use:
result = 1.2345 in a Python script and when I return to the LCB, I can see "result" using:
OSD.ShowText {LastResult}
but what if I want to return 2 results, say res1 and res2?
I tried executing, in Python,
vc.callAction("Results.SetVar","res1","abcd") and also
res2 = "defg"
and then tried to access either of them in the LCB, using:
OSD.ShowText {var.res1} or
OSD.ShowText {var.res2}
Neither worked- I guess I'm looking for a kind of Results.GetVar action?