LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data file output???

  I have a program Testing Interface (attacked below), which run perfectly fine (you can double check by remove the logging part).  Now I want it output data to the excel (or txt) file, I try several way but it does not work.  Can anyone give me a relate example or a hint?  Thanks very much.

0 Kudos
Message 1 of 12
(3,744 Views)

"MNU Data file.vi" is missing.

0 Kudos
Message 2 of 12
(3,742 Views)

And include the code that you say does not work. Can't fix something that is not there.

0 Kudos
Message 3 of 12
(3,733 Views)

  Thank you very much for your quick replies.  The "MMU Data File" is the file which will use to build an excel (or text file) to store information (log file).  It was not there for original program, and the program is running perfectly without it (I attack original file below).  My point is trying to write the "MMU Data File" (or you name it) to store information.

0 Kudos
Message 4 of 12
(3,723 Views)

You have said you tried different ways and none of them  worked. If you want it to work, you should show us what you did. Otherwise, all I can tell you is to use Write to Spreadsheet File.

0 Kudos
Message 5 of 12
(3,719 Views)

Hi,

You can bundle your data in a cluster and use"Write cluster to ini" vi. I hope this is the correct name. Its an OpenG vi.

With this you can have your data in a text file.

 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 6 of 12
(3,708 Views)

  Thanks gak, I'll try your method.

  I uploaded my "MMU Data File" below.  Please take a look.

0 Kudos
Message 7 of 12
(3,699 Views)

Hi 2145879205,

I modified your vi a bit.

It works.Check this.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 8 of 12
(3,692 Views)

 


@Gak wrote:

Hi 2145879205,

I modified your vi a bit.

It works.Check this.


 

????

 

The main VI has 2 2D DBL and 1 1D U32 arrays that are being passed to the subVI. The posted subVI and 'working' subVI have nothing in common with the main.

0 Kudos
Message 9 of 12
(3,688 Views)

Hi Dennis,

I told him what he can do log his data in previous post. Author of this post mentioned that he tried different ways. I think the vi he posted recently is result of one of his efforts, So I modified it so that It will give him Idea about how to write in a text file.

That was my intention. I hope I made myself clear.Smiley Wink

 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 10 of 12
(3,685 Views)