LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

taking binary information from a text file and removing every nth digit

I'm trying to "resample" data by removing every nth character of a txt file and then save it to a new txt file.  I tried putting the characters into an array and divide from there but I cannot figure out how to easily break up the initial string.  Any suggestions?
0 Kudos
Message 1 of 4
(2,751 Views)
Use a For Loop with a shift register like this:
 
 
The True case is just the input from the shift register wired to the output (straight line).  In this example, every 3rd character of the string is removed.

Message Edited by tbob on 11-09-2006 11:02 AM

- tbob

Inventor of the WORM Global
Message 2 of 4
(2,749 Views)
what is ur problem. ru trying to turn a string into an array? if so here is what u need to do.
pls say what u need help with and i will be happy to help.
Message 3 of 4
(2,742 Views)
This is exactly what I needed.  Thanks!!
0 Kudos
Message 4 of 4
(2,737 Views)