It’ve noticed that a device reference is always stored in a variable of type device as an array and is surrounded by square brackets like [:dev0:,:dev1:, … ,:devn:]. When it’s an array with a single item, it’s [:dev0:]. However, when passed to a called piston, it’s gets messed up. And I don’t know how to “remove” the brackets, if there’s a way of doing it.
a) to pass a device from one piston to another, I must use a string with the name of the device in it
b) to get a device attribute, use a string variable with the NAME of the device in it using one of the following tested options at tests TEST 2, TEST 4 and TEST 5
c) at the TEST 1 it seems that the string is used instead of the device itself
d) using the device variable surrounded by square brackets notation does not work (TEST 3)
I’m a newbie with WebCoRE and for me it’s a bit confusing how it works, but, it works!