08-28-2018 12:39 PM
Hello everyone,
I have created a project in Veristand 2017 with several digital outputs. I am trying to control those outputs with a procedure. Right now, I only added one procedure to set the some of the digital outputs to 1. But the procedure seems not executed at all when I deploy the project. (I have created some indicators to show the output values, but they all stay at their initial value 0) Any suggestions on what is going on?
Solved! Go to Solution.
08-28-2018 01:38 PM
Hi TengWu,
How are you calling the procedure? Is the procedure set as the Startup procedure or are you triggering an alarm to call the procedure? Normally an Alarm calls a procedure (and that procedure can call other procedures). The exception is if you set the procedure to be called as the startup procedure.
08-28-2018 06:56 PM
Thanks for the reply. It might be the issue. Could you please tell me where to configure it to a startup procedure? Attached is the screenshot of adding a new procedure, I didn't find the option to configure it into a startup procedure.
08-29-2018 09:12 AM - edited 08-29-2018 09:13 AM
Hi Tengwu,
Select "Procedures" in the tree not the specific procedure. Then, on the bottom of the page, there is a check box to "On Start execute procedure". You can select the procedure to run at start here.
Andy
Product Support Engineer
08-29-2018 09:14 AM
Hi,
I have attached a screen shot. You need to click on the Procedures root, on the right side the procedures help and execution will show up. At the bottom there is a check box that says "On Start Execute Procedure", check this and then you can select what procedure the VeriStand System Definition will run when it is deployed.
08-29-2018 09:17 AM
You just beat me to posting the same thing Andy. You are faster on the draw than me today 😉