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

i m using 1 counter so how timer overflow can be avoided?

for my application to measure the time duration using hardware counter, i m using 6602 -32bit 8counter card.

 

i have to use only 1 counter to measure the time duration, but with 32bit counter i can count 216ms time duration, after that overflow will be started. with second counter i can avoid it easily, but i dont have to use 2 counter so, how programtically i can do that........

 

 

Kidnly guide me on that...

 

waiting for ur reply.

PRASHANT SONI
SOFTWARE ENGINEER-LabVIEW
0 项奖励
1 条消息(共 5 条)
2,852 次查看

Hi Prashant,

 

when you don't want to use a second (HW) counter you should count the overflows in software...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
2 条消息(共 5 条)
2,831 次查看

but it is the requirement bcoz other counter is already engaged so i don't have any unused counter .......i want to use some software logic to avoid overflow.

PRASHANT SONI
SOFTWARE ENGINEER-LabVIEW
0 项奖励
3 条消息(共 5 条)
2,821 次查看

so how i can do it with software.....if have any sample VI...than please share

PRASHANT SONI
SOFTWARE ENGINEER-LabVIEW
0 项奖励
4 条消息(共 5 条)
2,820 次查看

Hi Prashant,

 

"if have any sample VI"

No, don't have.

 

but:

- IF "overflow occured" THEN count++

- "overflow occured" when actual count < previous count (assuming you always count up)

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
5 条消息(共 5 条)
2,815 次查看