hades1876
Computer
- May 11, 2005
- 2
Hy guys!
I'm an 18 year old just-starting engineer from austria, and just started using labview 7.1.
Now, I need help in a probably very simple but very specific problem:
I read 4096 byte from a serial port, and do have to "cut 'em down" in strings of 4 byte each.
So, I'm looking for a solution to:
1.
take the 4096 byte string and split the first 4 byte off. (not that difficult, due to the "Search/Split String"-function)
2.
hand these 4 bytes to the rest of the program (ok, still easy.. simply wire the output to the rest of the block-diagram)
3. (actually, this is where the my probs start)
Now, take the 4092 byte, the rest of the original string, and perform the same operation as above until the whole original string is split in 4 byte strings (=until this "cut-4-byte-off-operation" was performed 1024 times)
I hope my english's not too bad, and I thank you very much for spending your precious time!
Thanks a lot! Martin
Solutions welcome under mkdsohm@gmail.com
I'm an 18 year old just-starting engineer from austria, and just started using labview 7.1.
Now, I need help in a probably very simple but very specific problem:
I read 4096 byte from a serial port, and do have to "cut 'em down" in strings of 4 byte each.
So, I'm looking for a solution to:
1.
take the 4096 byte string and split the first 4 byte off. (not that difficult, due to the "Search/Split String"-function)
2.
hand these 4 bytes to the rest of the program (ok, still easy.. simply wire the output to the rest of the block-diagram)
3. (actually, this is where the my probs start)
Now, take the 4092 byte, the rest of the original string, and perform the same operation as above until the whole original string is split in 4 byte strings (=until this "cut-4-byte-off-operation" was performed 1024 times)
I hope my english's not too bad, and I thank you very much for spending your precious time!
Thanks a lot! Martin
Solutions welcome under mkdsohm@gmail.com