02-11-2008 10:43 AM
02-11-2008 10:50 AM
Hi hiNi
you can transform your data to Byte array and run through a for loop. See the attachemt for an example.
Mike
02-11-2008 10:50 AM - edited 02-11-2008 10:53 AM
02-11-2008 10:51 AM
Sooo... it seems you only want to remove the odd numbered spaces. right?
To remove all spaces, just do a global replace using "search and replace string" and replace "space" with and empty string. 😉
02-11-2008 12:16 PM
02-11-2008 12:35 PM
02-13-2008 09:38 AM
Hello MikeS81,
When I tried to put in a longer string:
01 04 81 04 91 04 14 32 00 00 02 3F 20 00 00 00 2D FF A0 00 10 00 04 00 00 17 07 30 07 75 01 A1 07 93 00 10 1F CE 01 F9 1C 95 01 A4 00 0D 1F F2 00 1D 3E 67 04 40 3B BA 01 A5 3F E0 69 20 00 00 26 22 00 00 DA 9A 2D FD D2 82 26 22 8E CC C8 00 00 B6 3D 68 3F 3B 60 3C AE 12 24 02 3B 00 00 00 2A 28 00 80 00 04 3A FF 01 3C 40 C8 24 92 14 21 00 03 F0 00 08 64 04 0A 00 79 01 00 00 00 00 00 00 F4 00 00
After I ran your Unbenannt 5.vi, this was the output that I got:
0104 8104 9104 1432 0000 0232 0000 0002 0001 0000 4000 0170 7300 7750 1107 9300 1010 1919 5014 0001 2001 3670 4403 0153 0692 0000 0262 2000 0922 8226 2288 0000 6368 3360 3122 4023 0000 0022 8008 0000 4301 3408 2492 1421 0003 0000 8640 4000 7901 0000 0000 0000 4000 0
As you can see, the last word does not correspond to the original word of F4 00. I looked at your code, however, I can't seem to be able to fix it. Do you have a quick solution to this problem.
Thanks,
hiNi.
02-13-2008 09:47 AM
Hi hiNi,
i change it for you. The only thing to change was the A..F ASCII Code in the Case structure.
Mike
02-13-2008 09:56 AM
02-13-2008 11:38 AM - edited 02-13-2008 11:41 AM
