LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to count total number of cycles of a waveform in labview

thank you so much this could really helpful to me....

0 Kudos
Message 11 of 16
(1,406 Views)

I am new Labview user, is there anyone can tell me when I can find this icon in labview. Thanks

 

danielx2024_0-1728952785856.png

 

0 Kudos
Message 13 of 16
(129 Views)

@danielx2024 wrote:

I am new Labview user, is there anyone can tell me when I can find this icon in labview. Thanks

 

danielx2024_0-1728952785856.png

 


Please refrain from hijacking unrelated posts.

 

BTW, that is a Compound Arithmetic block configured to logical AND with second input negated.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 14 of 16
(122 Views)

It looks only count cycle number of chunk data. Is there any way accumulate the cycle number? Thanks

0 Kudos
Message 15 of 16
(90 Views)

Hi Daniel,

 


@danielx2024 wrote:

It looks only count cycle number of chunk data.


The presented code will do exactly what it is made for: count the number of cycles in the input waveform.

 


@danielx2024 wrote:

Is there any way accumulate the cycle number?


I guess you want to "accumulate" the number of periods when you call this code several times?

Yes, that's possible!

You just need to keep track of the period count in your calling (main) VI and accumulate in there.

 

Suggestion: Learn about using shift registers!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 16
(86 Views)