11-17-2023 11:58 AM
I have an eem "none" event applet that uses a wait action. I'd like to be able to pass in the number of seconds to wait as an agument to the applet. I'm able to use applet agruments ($_none_arg1, etc.) within CLI commands where a WORD is expected, but this doesn't seem to work when the command parser is expecting a numeric value. Is there something I need to do to escape the argument in order to get the parser to accept it?
Solved! Go to Solution.
12-15-2023 06:51 AM
Based on my continued familiarization with EEM, it appears that the eem CLI parser isn't equipped to accept "$" variables representing numberic values. Thinking about it, this would require run-time evaluation of these values, which is not a reasonable ask of the eem applet environment.
11-17-2023 12:15 PM
action xxx cli command "event timer countdown time xxx"
did you try this ?
11-17-2023 02:33 PM
The parser doesn’t like $_none_arg2 as a value for “time”.
11-17-2023 02:58 PM
11-21-2023 05:11 AM
I will try that when I have access to the equipment again. I hope it works, but my concern is that the CLI parser only wants to see numeric characters for that argument, and doesn't know how to derefernce any variable starting with $.
12-01-2023 06:18 AM
Tired, that didn't work. The parser only wants to take a numeric value, so it appears that's either as designed/needs a feature enhancement request.
12-01-2023 03:53 PM
Hello,
can you post the entire EEM script you are using ?
12-15-2023 06:51 AM
Based on my continued familiarization with EEM, it appears that the eem CLI parser isn't equipped to accept "$" variables representing numberic values. Thinking about it, this would require run-time evaluation of these values, which is not a reasonable ask of the eem applet environment.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide