Author Topic: BOOL Error on NV Memory Component  (Read 10987 times)

MNewberry

  • Guest
BOOL Error on NV Memory Component
« 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

Offline Slashe

  • PLUS+1 Novice
  • *
  • Posts: 4
  • Karma: +0/-0
Re: BOOL Error on NV Memory Component
« Reply #1 on: March 09, 2011, 06:34:03 AM »
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)

MNewberry

  • Guest
Re: BOOL Error on NV Memory Component
« Reply #2 on: March 09, 2011, 01:58:37 PM »
That's what I don't get- I have it set to U16.

MNewberry

  • Guest
Re: BOOL Error on NV Memory Component
« Reply #3 on: March 09, 2011, 02:15:25 PM »
The "In1" is wired directly from a multifunction input AnIn Parameter.



« Last Edit: March 09, 2011, 02:21:15 PM by MNewberry »

Volker

  • Guest
Re: BOOL Error on NV Memory Component
« Reply #4 on: March 09, 2011, 02:56:25 PM »
You have routed the boolean output of the compare Block to the input of the second compare Block.
Thats your Fault.

MNewberry

  • Guest
Re: BOOL Error on NV Memory Component
« Reply #5 on: March 09, 2011, 03:06:41 PM »
Thank you!