Home
Community
Discussion Forums
Most Active Software Boards
LabWindows/CVI
Topic
LabWindows/CVI
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
change state of a binaryswitch
change state of a binaryswitch
Bensai
Member
06-08-2007
04:59 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Hi all,
i set with a binaryswitch a connection to on or off.
but in an other panel/menubar is also binarswitch for the same function.
is it possible to change/set the state of a binaryswitch via command?
thanks
0
Kudos
Message
1
of 2
(2,954 Views)
Reply
Re: change state of a binaryswitch
RobertoBozzolo
Proven Zealot
06-08-2007
07:37 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
You set it simply using SetCtrlVal (panelHandle, PANEL_BINARYSWITCH, 0); and reset it passing 0 as the last parameter.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0
Kudos
Message
2
of 2
(2,944 Views)
Reply
All Forum Topics
Previous Topic
Next Topic