annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

OPEN/READ ATTACHED FILE

Résolu !
Accéder à la solution

Dear friends,

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

thanks

0 Compliments
Message 1 sur 42
4 594 Visites
Looks like binary data. Do you have specs on the file format?
0 Compliments
Message 2 sur 42
4 586 Visites

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

 

0 Compliments
Message 3 sur 42
4 584 Visites

Try this... 😮

 

 

0 Compliments
Message 4 sur 42
4 571 Visites

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

 

 

Tout télécharger
0 Compliments
Message 5 sur 42
4 538 Visites

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 Compliments
Message 6 sur 42
4 521 Visites

Dear Friend Taki1999,

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

thanks

0 Compliments
Message 7 sur 42
4 513 Visites

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 Compliments
Message 8 sur 42
4 505 Visites

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

0 Compliments
Message 9 sur 42
4 496 Visites

Dear friend Taki1999

The answers will be answered to you SOON! Smiley heureux

 

Thanks

0 Compliments
Message 10 sur 42
4 473 Visites