LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i have a text code. i want to import to labview and display on waveform chart

Solved!
Go to solution
 
0 Kudos
Message 1 of 10
(3,276 Views)

Please put a little more detail about your question in the actual body of the message.

 

What do you mean by "text code"?   I assume you mean you have a text file of data.  If so, look at the read from spreadsheet file function.

Message 2 of 10
(3,268 Views)

thanks for that. i have the text file displaying on the chart now.

i am also looking to filter this signal. i am using a butterworth filter. the problem is when i am trying to put the values in from the spreadsheet it will only let me put in values from the first row. i am looking to put values in from all rows but when i connect the filters to all rows it reports an error. any ideas?

thanks

 

0 Kudos
Message 3 of 10
(3,223 Views)
It's hard to come up with ideas without seeing the code.Smiley Wink
0 Kudos
Message 4 of 10
(3,220 Views)

attached the file there. in the read from spreadsheet function i am looking for all rows instead of first row but it wont let me.

thanks

 

0 Kudos
Message 5 of 10
(3,218 Views)

Turn on context help (Ctrl-H) and hover over the function.

 

You have your wire connected to the "First Row" output rather than the "All Rows" output.

0 Kudos
Message 6 of 10
(3,211 Views)
yeah i have seen that. when i put the wire through all rows it becomes a broken wire(see vi). the only way the vi will work is through the single row. i am looking for it to go through all rows. am i using the wrong type of filter? or should that matter.
0 Kudos
Message 7 of 10
(3,207 Views)
Then your problem is a little different then you stated.  The problem is that you want to take 2-D data array and feed it into a filter that takes 1-D data.  You will want to put those functions in a for loop.  You can feed the 2-D array into the For loop and have autoindexing turned on.
Message 8 of 10
(3,199 Views)
Solution
Accepted by topic author Barry1985
thanks very much. that is what i am looking for. thanks again
0 Kudos
Message 9 of 10
(3,195 Views)

Good.  I am happy to hear that.

 

But please mark my reply as the solution to your question.

0 Kudos
Message 10 of 10
(3,166 Views)