How do I use the $invokeObject? #1795
Unanswered
Github-User-002
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
Hi, the $invokeObject is to invoke some public function of Gauge (client script), Pipe Gauge currently don't support it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Pipe should support (multiple) boolean operations because there are valves that direct flows in many systems ie. pump must be on AND valve open or more/less than some value. Cumbersome to have to script to check every second to change a fuxa variable if both events are true. This is true of many animations in complex systems |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to start and stop pipes programmatically via script:
const motorRunning = $getTag($getTagId('Run_DI_vacon')).value;
const valvePos = $getTag($getTagId('HR_POSVTRANS')).value;
// test and command the pipes
if (valvePos > 25 && motorRunning) {
$invokeObject('Pipe_c1', 'turnCounterClockwise');
}
....
How do I do this?
what is the intention of $invoceObject ??
I tried both client and server execution
Beta Was this translation helpful? Give feedback.
All reactions