LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

mathscript error

Dear friends,
 
I just want to use mathscript to finish a simple function as:
MASK0=hex2dec('00');      
WIRE_bit(1:32)=bitget(MASK0,1:32);
I think the WIRE_bit should be 0, however the result show that it is 1.
Then I change the code into:
MASK0=hex2dec('F0');      
WIRE_bit(1:32)=bitget(MASK0,1:32);
This time I can get the expected results.
The attchment is the vi and the result picture. Who can give me a answer?
 
Best Regards
Jim 
Download All
0 Kudos
Message 1 of 3
(6,708 Views)

This is a documented bug in LabVIEW 8.2. It works correctly in LabVIEW 8.5.

(Look for ID=3ZREKDKQ and ID=45RB7L1Y here: http://zone.ni.com/devzone/cda/tut/p/id/6448)



Message Edited by altenbach on 04-27-2008 09:35 PM
Message 2 of 3
(6,703 Views)
Thank you dear friend.
 
0 Kudos
Message 3 of 3
(6,697 Views)