Forum Discussion
ArtemS
Alumni
14 years agoHello,
Yes, you can read the device name from a variable and then obtain the corresponding object through the WaitChild or Eval method.
Robert is absolutely correct. As always :)
The code would look like this:
Happy automation.
Yes, you can read the device name from a variable and then obtain the corresponding object through the WaitChild or Eval method.
Robert is absolutely correct. As always :)
The code would look like this:
...
Set Device_Name_Object = javaw.WaitChild(Project.Variables.DeviceNameStr , 0)
If Not Device_Name_Object .Exists Then
Log.Error("Device object not found.")
End If
...
Happy automation.