I probably could have been a little clearer. The data is coming from an A/D test set. The A/D has so many bits per sample, let's say 10 bits/sample. What the setup does is take the data and store it in labview. To save, you hit a save button and then it presents you with a menu to add header information, which is simply placed at the beginning of the file. Then it takes the samples, which are two's complement, sign extends to fill up the MSByte (in this case resulting in two bytes) and saves all of the samples as one long string of binary data... MSbyte0,LSbyte0,MSbyte1,LSbyte1,MSbyte2,LSbyte2,... ...,MSbyten,LSbyten
Do you still recommend unpack as opposed to ord... I suppose it would be more compact with unpack.