NI LabVIEW,CVI,数据采集等产品讨论区

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

搜索指定的字符

已解决!
转到解答

 

如何实现在TXT文件中按给定的查找条件,去找到指定的字符,比如要找R1或value 等于指定值,我要统计出现的次数以及测试日期(Time).最后把数据导出到指定TXT 文件中呢?谢谢!

 

 

txt 文件如下:

 

Com value      min  max   Time

 

R1      1.85K     1.5k  1.9k  2009-10-25

R2      2.33K     2.1k  2.9k  2009-10-18

C363  10u         9u    11u    2009-10-16

R911  15K        12k   16k    2009-10-11

L7      8h          7h     9h     2009-10-10

R911  15.5K     12k   16k   2009-10-4

R2      2.83K     2.1k  2.9k  2009-10-1

R1      1.65K     1.5k  1.9k  2009-10-2

 L7     8.8h          7h     9h 2009-10-15

C363  12u         9u    11u    2009-10-16

 

 

 

 

 

0 项奖励
1 条消息(共 6 条)
6,229 次查看
Sorry for duplicate... please refer to below reply...
Message Edited by ian fung on 10-27-2009 09:40 AM
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
2 条消息(共 6 条)
6,208 次查看

Hope this function VI helps in one way or another... you need to to the rest of the post-processing...

 

PS: The txt document must be of tab-delimited

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
3 条消息(共 6 条)
6,207 次查看
thank you
0 项奖励
4 条消息(共 6 条)
6,191 次查看

Hi,Ian F

 

but the block diagram had been add password,I can't see any example in this VIs.

0 项奖励
5 条消息(共 6 条)
6,186 次查看
解答
已被主题作者 碧海蓝天 接受

Oops! My apologies...

Here it goes 😛 

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
6 条消息(共 6 条)
6,161 次查看