08-20-2013 07:14 AM - edited 08-20-2013 07:14 AM
Hi All,
I am kind of new to Labview, I am trying to simulate a hardware stroke counter. the problem is i can't find a way of making a signal which generate a pulse once every two seconds and then a counter which counts the number of pulses that has been done!
it must be really simple but I don’t seem to get my head around it. can anyone help me please?
Thanks a lot for your help.
Best regards
Solved! Go to Solution.
08-20-2013 07:55 AM
08-20-2013 04:07 PM
Hi GerdW
thank you very much for your help.
i am kind of new to Labview and can't find few things in the pallet which is on this code.
can you possibly tell me the names of functions you are using or share the code or an example code with me please?
sorry for the hustle and thanks alot for your help.
best regards
08-20-2013 04:35 PM
@Fezz wrote:
Hi GerdW
thank you very much for your help.
i am kind of new to Labview and can't find few things in the pallet which is on this code.
can you possibly tell me the names of functions you are using or share the code or an example code with me please?
sorry for the hustle and thanks alot for your help.
best regards
The code is a snippet. You can drag it (or save it) to a convenient location, then drag it onto a block diagram and it becomes code! 🙂
08-20-2013
04:42 PM
- last edited on
05-06-2025
02:14 PM
by
Content Cleaner
Gerd's attached image is actually a VI snippet. You should be able to save it locally on your desktop and then drag the image into LabVIEW (doesn't usually work dragging the image directly from a web browser unless you make use of a plugin).
In case that doesn't work though:
Wait Until Next ms Multiple
The metronome icon.
Increment PtByPt
The icon that has the increment (+1) icon inside it.
While Loop
The gray box around the whole thing.
Oh and the Green arrows on the edges of the while loop are a shift register, you can create this through the right-click menu when you right-click on the edge of the while loop.
Best Regards,
08-22-2013 06:41 AM
Thank you so much for your help.
the code works perfectly 🙂
best regards