PLUS+1 User Forum
PLUS+1 Tools => PLUS+1 GUIDE => Topic started by: MNewberry on March 09, 2011, 12:01:43 AM
-
I'm getting a Compile Error when wiring a Non-volatile Memory component to analog functions (>, <, Scale, etc.). Examples include: *** ERROR 22 *** [CHPARGU2] ILLEGAL TYPE: BOOL ON COMPONENT: Greater, ENTRY A2
Can anyone tell me what I'm doing wrong?
Thanks,
Matt
-
You have to change NV memory datatype. Now you most propably have Boolean value connected to component which requires integer signal (U8, U16, S16… for example)
-
That's what I don't get- I have it set to U16.
-
The "In1" is wired directly from a multifunction input AnIn Parameter.
(https://docs.google.com/uc?id=0B9UmKWtSAUH3OTU3NTAxODEtMGY3ZS00MzYyLTk2YTItOGUwZGM0N2QwZTA2&export=download&hl=en)
(https://lh5.googleusercontent.com/3i5KFjtXq7fBYwB0Sa8o390qCC7UIRkEfUJoCwsU3wVmhip1CPtcye8Ty9HfuMmM0z61QEZC7DKymXPuXqCvSKGwUA=s512)
-
You have routed the boolean output of the compare Block to the input of the second compare Block.
Thats your Fault.
-
Thank you!