LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

formular node

I  am trying to use the formular node.  There is a problem when I use the arithmetic shift right and shift left with formular node.  The result show differently with using the labview code when the binary number length is 31.  I attached the example.  I need some one help explain what I am doing wrong.  This problem also happen for orther operator  such as "or, and" I am using labview 2009.  the same thing also happen to LV 8.5

thanks

tphan

0 Kudos
Message 1 of 5
(2,540 Views)

Can you upload into LabVIEW 8.0?

 

Thanks

0 Kudos
Message 2 of 5
(2,535 Views)

I don't have LV8.0 but I have LV 6.1.. Hope this works on LV8.0

Tphan

0 Kudos
Message 3 of 5
(2,522 Views)
This is still the same bug as this. I'm surprised it's still there in LV 2009. If you change your "b" variable to "int32" it should work.
0 Kudos
Message 4 of 5
(2,516 Views)

Hmm.  I would say it getting worse in 8.5.  Try this.  It working in LV6.1 but not in LV8.5  .  The formular mimics the rotation function in labview.  All the input is int32.

Tphan

0 Kudos
Message 5 of 5
(2,505 Views)