01-13-2024 11:08 AM - edited 01-13-2024 11:09 AM
So the most interesting is probably the second word in each set of 8 bytes. If we interpret it as little endian 16 bit integers, here's how the data looks like.
Does this pattern look interesting in terms of the experiment or in terms of what you expect?
01-13-2024 11:24 AM
01-14-2024 10:15 AM
Yes, this looks like the open circuit voltage that I expected to receive over the period the data was recorded.
01-14-2024 10:41 AM - edited 01-14-2024 10:44 AM
I suspect that the groups not starting with x0030 are some kind of marker values indicating a new dataset. Here's how you could graph the data without them.
Of course many thing might need to get tweaked once more information is exposed. For example, it could be that all we need is parse the third byte as U8 since the fourth byte is always zero unless we are dealing with a "marker".
01-14-2024 11:00 AM
@altenbach wrote:
For example, it could be that all we need is parse the third byte as U8 since the fourth byte is always zero unless we are dealing with a "marker".
Here's how the code for that could look like. Same result:
There are dozens of other ways to do all that, of course. So adapt to your situation as needed.
01-14-2024 12:34 PM
Thanks, can you kindly attach the vi in the snippet?
01-14-2024 12:45 PM
@aj_dee wrote:
Thanks, can you kindly attach the vi in the snippet?
it is just a picture, not a snippet! (The term "snippet" has a very special meaning in LabVIEW)
Here's the VI.
01-14-2024 02:02 PM
You know, you are asking @Altenbach and others who might be "intrigued" by this question of "data unencumbered by the code that generated it" for help, but have provided almost no information about "what you expect" to see, and from where these data have been derived. One assumption is these are data you generated with some LabVIEW (?) code, so you know something about what to expect (i.e. "1 channel of 16-bit analog data sampled at 1 kHz" or some other description, even better, the LabVIEW code that produced these data).
To me, just looking at what appear to be 337 8-byte records, I'm going to hazard a guess at the source:
The data appear to be 337 samples consisting of the following 4 16-bit (or "word") quantities: When I say "row" or "column", I'm using the index 0 for the "initial" row or column.
That's my last contribution "for free". Time for you to be more forth-coming about the source and meaning of these data. Did you (yourself) obtain them using LabVIEW? From what sort of instrument? What do the numbers signify? Show us the LabVIEW code (as real LabVIEW files, preferably a zip-compress copy of the Project Folder, even more preferably saved in LabVIEW 2019 or 2021 (at the latest).
Bob Schor
01-14-2024 02:06 PM
@Bob_Schor wrote:
I'm going to hazard a guess at the source...
... or basically what I said yesterday. 😄
01-14-2024 02:24 PM
@altenbach wrote:
@Bob_Schor wrote:
I'm going to hazard a guess at the source...
... or basically what I said yesterday. 😄
I agree with you (with a little more explanation, including the suggestion that the A/D is using offset binary, and probably only Channel 1 is an A/D signal, no idea what the others represent). I do think the O.P. is abusing the help we are trying to provide ...
Bob Schor
P.S. -- note Message 19 in this chain ...