ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reg Event Callback

I need count number of frames that occur.To count frames I use Reg Event Callback.To activate this func properly I need connect Event callback to VI.ref.My question is how I nedd modify Event callback to get the number of events.
0 Kudos
Message 1 of 3
(3,064 Views)


@Evgeni wrote:
I need count number of frames that occur.To count frames I use Reg Event Callback.To activate this func properly I need connect Event callback to VI.ref.My question is how I nedd modify Event callback to get the number of events.

You need to give quite some more information. What you tell us here is like if I would ask you to help me repair my car. No model, no nothing and no way for you to know what is defect. I'm sure you would have a hell of a problem to even know if you could help me.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 3
(3,059 Views)

hi there

do you mean something like this (see attachment)? there are lots of ways to count the events, i show you my favorite one (uses a construct called "FGV" aka "functional global variable" aka "LV2 global")

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 3 of 3
(3,053 Views)