取消
显示结果 
搜索替代 
您的意思是: 

Spliting text

已解决!
转到解答

Why don't you post whatever VI you have so far?眨眼表情

 

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 项奖励
21 条消息(共 33 条)
1,998 次查看

Hi jeyanthi,

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

 

Mike

0 项奖励
22 条消息(共 33 条)
1,974 次查看

hi Mike

 

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

0 项奖励
23 条消息(共 33 条)
1,965 次查看

Hi jeyanthi,

here we go.

 

Mike

24 条消息(共 33 条)
1,961 次查看

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 项奖励
25 条消息(共 33 条)
1,922 次查看

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 项奖励
26 条消息(共 33 条)
1,876 次查看

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 项奖励
27 条消息(共 33 条)
1,862 次查看
hi i able to insert the 0 for the days not rain .. im only confuse inserting 0 data to every 5 min gap
0 项奖励
28 条消息(共 33 条)
1,848 次查看

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 项奖励
29 条消息(共 33 条)
1,797 次查看

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 项奖励
30 条消息(共 33 条)
1,784 次查看