LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why the output strings are error codes?

Hi,
I have made some bit twiddling operations.but the output are error codes after running every time.for example,the output strings are error codes when I make bit twiddling to the input binary "0111100010000111".Could anybody tell me the reason why bit twiddling deos not work?
yours sncerely
0 Kudos
Message 1 of 7
(3,117 Views)
What bit twiddling are you doing and what kind of error codes are you getting? As one of your previous questions pointed you to the bit twiddling challenge, it's certainly possible to do in LabVIEW but a bit more information is required. Posting an example VI with help a lot.
Message 2 of 7
(3,117 Views)
Thank you,Knutson.I have attached the example and the result here. The version is labview7.0.
0 Kudos
Message 3 of 7
(3,117 Views)
I don't have any software installed that can handle rar, would help if you would post a zip
0 Kudos
Message 4 of 7
(3,117 Views)
I have posted two .zip files to show the error codes and the original code--diagram.Thank u.
Download All
0 Kudos
Message 5 of 7
(3,117 Views)
It seems you are using a string input to enter a number. The "String to Byte Array" gives you an array of the ASCII codes of the Input string. I don't think that is what you want. You should either use a numeric control or a "String to Integer" to get a number an the but it in an U8 array.

Hope this helps
Chris
0 Kudos
Message 6 of 7
(3,117 Views)
Dear Chris de,
Thank u.What I get is what I want.
Gemstone
0 Kudos
Message 7 of 7
(3,117 Views)