LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write real and imaginary parts in text file

Hi all

 

I am a rookie in Labview and I have a question.

 

I want write a .txt file with 3 columns where:

 

first column is the frequency

second column is the real part of FRF, and

third column is the imag. part of FRF

 

Can someone help me?

 

Thanks

 

Carreira

0 Kudos
Message 1 of 5
(3,022 Views)

You want this:

spreadsheet.PNG 

 

Not this:

txt.PNG

 

Depending on your version of LabVIEW, the 'write to spreadsheet file' should be polymorphic

Cory K
0 Kudos
Message 2 of 5
(3,013 Views)

You can also remove the 'open/create file' function.

The 'write to spreadsheet file' will create a new file if it does not already exist.

Cory K
Message 3 of 5
(3,010 Views)

Thanks Cory K

 

I made the changes that you said, but the program still have error because "build array" output is a 2D array of 3 element cluster and the "write to spreadsheet file" input is a 2D array.

How can I make this conversion of data?

Im send my code for better understanding.

 

Carreira

0 Kudos
Message 4 of 5
(2,996 Views)
this may help:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 5 of 5
(2,992 Views)