LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPEN/READ ATTACHED FILE

Solved!
Go to solution

Dear friends,

Anyone can read the attached file (. txt) with LabVIEW? Matlab can?

thanks

0 Kudos
Message 1 of 42
(1,482 Views)
Looks like binary data. Do you have specs on the file format?
0 Kudos
Message 2 of 42
(1,474 Views)

@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?

 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 3 of 42
(1,472 Views)

Try this... 😮

 

 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 4 of 42
(1,459 Views)

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

 

 

Download All
0 Kudos
Message 5 of 42
(1,426 Views)

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 🙂

0 Kudos
Message 6 of 42
(1,409 Views)

Dear Friend Taki1999,

The attached file (1.txt) is binary. Okay?

thanks

0 Kudos
Message 7 of 42
(1,401 Views)

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


 

0 Kudos
Message 8 of 42
(1,393 Views)

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!)


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 9 of 42
(1,384 Views)

Dear friend Taki1999

The answers will be answered to you SOON! Smiley Happy

 

Thanks

0 Kudos
Message 10 of 42
(1,361 Views)