07-21-2011 02:15 PM
Dear friends,
Anyone can read the attached file (. txt) with LabVIEW? Matlab can?
thanks
Solved! Go to Solution.
07-21-2011 02:24 PM
07-21-2011 02:24 PM
@Prof. Arne Saknussemm wrote:
Matlab can?
LabVIEW can read it too! 😄
Looks like a binary file, so we need to know the format. Who wrote the matlab code to read it?
07-21-2011 02:44 PM - edited 07-21-2011 02:45 PM
07-22-2011 05:09 AM
Dear Friend Knight of NI,
Excuse me my ignorance on LabVIEW.
With his tip, I developed the attached .vi to open the binary file (1.txt). Still does not work!!! Any suggestions to improve?
I await your valuable help!!!
Thanks
07-22-2011 07:48 AM
Define work 🙂
altenbach's solution will open your file.
In order to decode it, we need to know how the file was encoded. Without that information, we really can't go any further.
So, we eagerly await your help in identifying the file format 🙂
07-22-2011 08:31 AM
Dear Friend Taki1999,
The attached file (1.txt) is binary. Okay?
thanks
07-22-2011 09:27 AM
Not OK.
@Prof. Arne Saknussemm wrote:
Dear Friend Taki1999,
The attached file (1.txt) is binary created by <Fill in the Blank> Program using <Fill in the Blank> Protocol where the first N bytes are header information and the packing of structure is X items of Y Bytes with Z endianess. Okay?
thanks
07-22-2011 10:24 AM - edited 07-22-2011 10:28 AM
I asked this before, but why can't you simply show us the matlab code that can successfully read the file?
I am sure it can be translated to LabVIEW verbatim (well, that's probably the wrong word here. 🐵
(Also, why do you keep attaching the same 2.5MB file? Three times so far! Once is enough!)
07-22-2011 04:59 PM
Dear friend Taki1999
The answers will be answered to you SOON!
Thanks