Log in

View Full Version : Non-retriggerable one-shot Labview example


marccenter
28-01-2014, 22:45
Dear Labview CD users,

Has anyone created a FRC Labview non-retriggerable one-shot Labview VI yet?

The function once triggered, completes its' action based on a preset timer amount.

I am contemplating using this function for our shooter. A student presses a button to activate the function. A global variable is used to pass the time and power level to the specified PMW motor controller. Does such a block already exist in the Labview environment or in a Labview library somewhere?

Regards,

sanelss
29-01-2014, 00:41
I don't know if it already was out there but I decided to go ahead and write it.

The actual vi:
https://drive.google.com/file/d/0B4fOsi0gJv2feVFITmF3YjdlUnc/edit?usp=sharing

A vi demonstration how it can be used, it's very simple and shows how powerful such a simple vi can be. makes it extremely easy to setup a sequence of timed events either one after another or in parallel all with different durations.
https://drive.google.com/file/d/0B4fOsi0gJv2fb1c3NmVtUWg4YWM/edit?usp=sharing

sanelss
29-01-2014, 00:45
I don't know if it already was out there but I decided to go ahead and write it.

The actual vi:
https://drive.google.com/file/d/0B4fOsi0gJv2feVFITmF3YjdlUnc/edit?usp=sharing

A vi demonstration how it can be used, it's very simple and shows how powerful such a simple vi can be. makes it extremely easy to setup a sequence of timed events either one after another or in parallel all with different durations.
https://drive.google.com/file/d/0B4fOsi0gJv2fb1c3NmVtUWg4YWM/edit?usp=sharing


Here is what it would look like using the vi i made to do the task you requested http://imgur.com/SAxApmS