LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String to dynamic/numeric data

Hi,

 

I am wondering if anyone can explain to me how to convert my string data (output, see vi) to dynamic/numeric so that it is able to be displayed on a graph.

 

The reason that I need to do it this way, rather than make a graph while recording the data, is that I need to create a historical records of the data to future references, so a graph is perfect.

 

Any help much appreciated

 

Chaz

0 Kudos
Message 1 of 8
(4,293 Views)
This is very basic Labview. Go to the string functions palette. You will also find all examples you need in the labview examples folder.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 8
(4,292 Views)
And you only need to read your file once. The way it's set up now your vi will read it continuously.
PaulG.
Retired
0 Kudos
Message 3 of 8
(4,285 Views)
Here is a tip. Right click on "label" marked string below the function. You select the output type here (string,integer,double). It may solve your problem


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 8
(4,280 Views)

Hi Chaz,

you don't need dynamic data, numeric values are enough. Which column do you wanna plot into a graph. Use the index array function to get the column you need and convert it to numeric. You can connect the result directly to a graph indicator.

 

Mike

Message 5 of 8
(4,278 Views)

I need to keep it as string in the array due to the fact that i need the date & time to display...

 

Chaz

0 Kudos
Message 6 of 8
(4,273 Views)

Also i need to display column 3-6 as column 1 is date & column 2 is time.

 

Chaz

0 Kudos
Message 7 of 8
(4,254 Views)

xXChazXx

We have all been new to labview sometime. Like you are now. But I think you should spend some more to familiarize your self with Labview. One way to learn Labview is to browse trough the labview examples. If you are looking for a specific example use the find example under help (menu bar). I am also sure your school has some Labview books. This is only a friendly tip 🙂

Good luck



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 8 of 8
(4,252 Views)