Home
Community
Discussion Forums
Most Active Software Boards
LabVIEW
Topic
LabVIEW
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
How can I use a boolean to determine whether to incr or decr a variable?
How can I use a boolean to determine whether to incr or decr a variable?
rkoivisto
Member
10-21-2005
10:08 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
I need to use a switch on the front panel to determine whether the program increments a variable or decriments the variable. I'm not sure how to do that. What I would like is an enable on a +1 or -1 function.
0
Kudos
Message
1
of 3
(2,434 Views)
Reply
Re: How can I use a boolean to determine whether to incr or decr a variable?
nislyj
Member
10-21-2005
10:29 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
You could use a case structure with a boolean input. Put the decriment in one case, and the incriment in the other.
Sr. Development Technician
Timken Research
The Timken Co.
0
Kudos
Message
2
of 3
(2,429 Views)
Reply
Re: How can I use a boolean to determine whether to incr or decr a variable?
Dennis_Knutson
Knight of NI
10-21-2005
10:30 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Simple.
Increment or Decrement.JPG 5 KB
0
Kudos
Message
3
of 3
(2,427 Views)
Reply
All Forum Topics
Previous Topic
Next Topic