LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Spliting text

Solved!
Go to solution

Why don't you post whatever VI you have so far?Smiley Wink

 

It is a lot easier for people to review your VI and suggest fixes, then it is for people to code up a program for you from scratch!

0 Kudos
Message 21 of 33
(1,777 Views)

Hi jeyanthi,

see the attachment. It's only one solution, maybe it helps.

 

Mike

0 Kudos
Message 22 of 33
(1,753 Views)

hi Mike

 

Can i have the example in labview 8.0 ..plz thank you

0 Kudos
Message 23 of 33
(1,744 Views)

Hi jeyanthi,

here we go.

 

Mike

Message 24 of 33
(1,740 Views)

Thanks Mike it works. I need another help..

0.5 1090120 2355
1.0 1090121 0000
0.5 1090121 0010
1.0 1090121 0100

0.5 1090121 1200
1.0 1090122 2005
0.5 1090122 2010
1.5 1090125 2140

2.0 1090125 2145
1.5 1090125 2150

Above data is the result data i get ..now how to do this

if the data is

1.0 1090121 0100
0.5 1090121 1200

The result should be recorded in every 5min as below:

1.0 1090121 0100

0    1090121 0105

0    1090121 0110

0    1090121 0115

0    1090121 0120

0    1090121 0125

.

.

.

0.5 1090121 1200

And if the data is like this...Miss some dates of data

0.5 1090122 2010
1.5 1090125 2140

the output must be in:

0.5 1090122 2010

0    1090123 0000

0    1090124 0000

1.5 1090125 2140

How to do this .. need help

 

0 Kudos
Message 25 of 33
(1,701 Views)

Hi jeyanthi,

 

It sounds to me like you could use some instruction. You might want to consider taking a LabVIEW class (maybe Basics I and II?).

 

As for your specific question, you just need to architect your program to put in all the in between five minute blank chunks of data when it finds a gap. For instance, you could subtract timestamps to find out the time between then write in the between bits before writing the current reading.

Jeff | LabVIEW Software Engineer
0 Kudos
Message 26 of 33
(1,655 Views)

Hi

 Thank you, can i get a small example plz...

Attending the class would be a great idea have told my management abt it..but need to pay erm have to ask my  boss first

0 Kudos
Message 27 of 33
(1,641 Views)
hi i able to insert the 0 for the days not rain .. im only confuse inserting 0 data to every 5 min gap
0 Kudos
Message 28 of 33
(1,627 Views)

Jeyanthi,

 

Try this type of thing out. You may want to do the same type of thing in both false cases for incrementing.

Vince M
Applications Engineer
0 Kudos
Message 29 of 33
(1,576 Views)

Hi

 Thanks ..but i didnt receive any output all i get is empty array at the end cos my quotion and reminder function returns 0 value....

 

Erm.. need more guide

0 Kudos
Message 30 of 33
(1,563 Views)