View Single Post
  #3   Spotlight this post!  
Unread 23-01-2009, 02:31
s0crates s0crates is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Australia
Posts: 52
s0crates is on a distinguished road
Re: Labview toggle switch

Here's what I wrote to solve that problem. toggle2.vi is a subvi that takes one input - a boolean value of whether or not the non-toggle switch is pressed. When it detects a change from 0 to 1 or from 1 to 0, it toggles the output. It does this by storing the previous input.

-jonathan
Pigmice Team 2733
Attached Files
File Type: vi toggle2.vi (9.0 KB, 1328 views)
Reply With Quote