LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

formula node: "integer type required"

THX dude ... it works 😄 ... have a nice day ... 🙂
0 Kudos
Message 11 of 17
(3,232 Views)

Hi everyone,

 

I'm having the same problem.

 

The error appear regarding my last block (see figure attached), where I have:

 

if(x>0 & a>0)
y=a;
else y=-b;

 

Anyone can give me some hint?

 

Thanks

0 Kudos
Message 12 of 17
(3,020 Views)

wow, this thread was raised from the dead FOUR times.  is that some sort of record?  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 13 of 17
(3,009 Views)

Look at the help files for the formula node.  If you are looking for the AND operator, it is && not a single &.  The single & is for working on integers for bitwise AND operations, which is why it is giving you the error saying an integer is necesseary.

0 Kudos
Message 14 of 17
(3,006 Views)

Hi there,

 

Thanks for the answer, now it is working fine.

I'm actually working with a german version and sometimes it is hard for me to understand the error messages.

 

Regards.

0 Kudos
Message 15 of 17
(2,988 Views)

Billko, you are not helping.

Message 16 of 17
(2,949 Views)

@Capt Joe wrote:

Billko, you are not helping.



First post and you're the rooster already?  However, I should probably give you a kudo for it.  😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 17 of 17
(2,932 Views)