07-11-2013 09:16 AM
I'm getting declaration errors for the called sequence. ("The variable 'Crank' was accessed without being declared.") An "expression" with only the sequence file alias didn't work either (deleted auto variables in parentheses on the line). The variables are already declared in the called sequence, which works otherwise. -Thanks.
07-12-2013 10:55 AM
Hello
Can you post the sequence in question that is showing you these errors? That will help us determine what is causing the error.
07-12-2013 02:57 PM
Hi. I created SetspdX first with all its variable declarations. I was hoping to use an expression line in TestX to call SetspdX and let it rip, since I don't need to pass anything to it. But VS gives me Setspdx(var1, var2, etc.). tried local, and dummy variables too. Why can't I just execute it by typing 'Setspdx' ? thanks. -KB
07-12-2013 05:16 PM
KB
Its because you have all your variables as parameters. In your sequence call you need to assign them to a system channel or set them to constants. You can also move them all to be local variables and then update the parameter list for the sequence call.
09-20-2013 03:55 PM
When a sequence called by another sequence fails (Pass=false), how can I make the profile respond and stop? (I checked the box.) - Thanks.
09-23-2013 03:16 PM - edited 09-23-2013 03:16 PM
Hey KB,
You can check the value by calling the sequences in the fx box. In example to call a sequence named Util1 you need to attach () to the end to let it know its a function
So the expression would be if(Util() == true) or you can also just say if(Util()) to be obscure.
Thanks,