LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string to array urgent~!

how to make this?? ( inside the picture)
0 Kudos
Message 41 of 51
(1,140 Views)
if i wan use write to spreadsheet to ile instead of write to characters to file, how can i make the connection?
0 Kudos
Message 42 of 51
(1,138 Views)
another question, what's the difference between write characters/spreadsheet to file ?

btw, how to edit the post i had submit?

0 Kudos
Message 43 of 51
(1,134 Views)


@elo85 wrote:
how to make this?? ( inside the picture)


Follow the instructions in the attached image

Message Edited by JoeLabView on 09-09-2007 08:39 AM

0 Kudos
Message 44 of 51
(1,116 Views)


elo85 wrote:

1.  if i wan use write to spreadsheet to ile instead of write to characters to file, how can i make the connection?

2.  another question, what's the difference between write characters/spreadsheet to file ?

3.  btw, how to edit the post i had submit?


1.  As I recall, you are using LabVIEW 7.0.  In this version, you have to wire a numeric array to the Write To Spreadsheet File.vi.  Otherwise, you will get an error and a broken wire, as shown in the attached image.

2.  You are probably referring to the content of the file.  The difference on the block diagram is shown in the 2nd image below.  The Write To Speadsheet File converts the numeric data to string and Tab delimits the data.  If you do this conversion, and delimit the data (tab, space, etc), then you essentially do something similar and can simply use the write character to file.  In the next post, I'll show the insides of the Write to Spreadsheet VI..  Hopefully you'll see the resemblance.  Hopefully, it won't confuse you, and code those days were rather messy 😞

3.  To edit your message, click on the Options at the right top corner of your post and select Edit Message.  You only have (5??) minutes to do so (from the time of the original post).


Message Edited by JoeLabView on 09-09-2007 09:01 AM

0 Kudos
Message 45 of 51
(1,111 Views)
See attached images..  Hopefully they won't confuse you 😉  I cleaned up the image for clarity of reading only..  The "messy one (at top) is the original VI from the Functions Palette.
 
 

Message Edited by JoeLabView on 09-09-2007 09:11 AM

Download All
0 Kudos
Message 46 of 51
(1,110 Views)
what I mention is the difference of the output between speadsheet and characters to file?
izit the same?
0 Kudos
Message 47 of 51
(1,104 Views)
this is my block diagram, hopefully everything run smoothly without any problem.
tomorrow I'll try to plug to the source measure unit to see whether can get the graph in jpeg file and the save the data.



0 Kudos
Message 48 of 51
(1,098 Views)


elo85 wrote:
what I mention is the difference of the output between speadsheet and characters to file?
izit the same?

If you delimit the data using Tab (\t) for characters to file, then they will essentially be the same.  We're talking about the contents of the datafile, right?  In other words, if you open the data file using (let's say) Notepad, or better Wordpad, then they will look the same.

Actually, a fun exercise is to try both.  Look at the output file and compare.  It's a good learning exercise.  You can then play with different delimiters, etc..  and play with the formatting.. (something to do on a rainy Sunday afternoon 😄 )

0 Kudos
Message 49 of 51
(1,102 Views)
Another good exercise is to follow the directions at the bottom of the diagram for Write to Spreadsheet File to make a copy that can have a string array as an input.
Message 50 of 51
(1,087 Views)