I am currently creating and assembly line model which contains several lines with sensors. As the scenarios keep changing really fast, I am creating these lines via SimTalk.
The issue is that I want to assing a method to these sensors via SimTalk. I tried doing:
path.sensorID(1).Control := ControlPath
but it doesn't work.
Can you help me with that?
Solved! Go to Solution.
in this way you call the method and the result will be set as the path
there are different ways:
you can pass the path/name as string
path.sensorID(1).Control := "ControlPath"
or as reference
path.sensorID(1).Control := &ControlPath
freelance simulation specialist