LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am having difficulty writing excel files from my code

I have attached a copy of my code. I am trying to record the date that is genereted from a radiophone. When I write the file, all the data appears on the same line. Need help to figure out what is wrong.

Message Edited by gitz on 06-29-2006 04:53 PM

0 Kudos
Message 1 of 4
(2,771 Views)

Instead of End of Line constant as the last character you append in the header string, use a Carriage Return constant instead.

It also looks like you may need to delimit your data with tabs, if that was your intent

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 4
(2,756 Views)

I am New to the Labview programming, and I have really struggled with this. I have never written a code before my deadline is tomorrow.  Can you please help me make the changes you specified?

Thanks in advance.

0 Kudos
Message 3 of 4
(2,748 Views)
Go to the block diagram
Hit Cntl H to turn on help
position mouse over the end of line constant (look at help to confirm you have the right one, it has the 2 pink arrows on it)
right click the mouse, select Replace
Choose the string functions in the pallette (it has the abc in the pink rectangle)
Click on the left facing arrow in the pink box (again look at the help window to verify you have the carriage return constant)
Thats it. You can hit Cntl H again to turn off help.
 
Good luck
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 4
(2,742 Views)