11-08-2011 12:16 PM
The following Formula Node code
if ( Res == "Full" )
{
MS1 = 0;
MS2 = 0;
mcstep = 1;
}
Produces this error.
Error on line 1 is marked by a '#' character: "if ( Res == "Full"# ) { MS1 = 0; M"
Res comes from a Numeric Cntrol with Enum Properties.
It isn't obvious to me why this code produces a miiising right parenthesis error. What needs to be done to eliminate this error?
Howard
Solved! Go to Solution.
11-08-2011 12:23 PM
It's not complaining about the parenthesis, it's complaing about "Full". You need to compare the number. Of course, you could code it in LabVIEW instead of a forumla node as well.