mariuszl2 Posted July 16, 2012 Report Share Posted July 16, 2012 Hi, I`ve run into a problem. I created a VI that modifies the behaviour of a switch. It will be used in the touch panel user interface. I want to be able to save it as a subvi or a control so i can just drop it on the front panel of the main VI. How can i do that? Here`s what I`ve created: switch.vi Quote Link to comment
Ton Plomp Posted July 16, 2012 Report Share Posted July 16, 2012 For that purpuse I would use an XControl. It's meant as an intelligent control, and could hold the code you need. Ton Quote Link to comment
mariuszl2 Posted July 16, 2012 Author Report Share Posted July 16, 2012 Damn, gonna have to learn how to make them Anyone knows any good tutorials? Apart from the one on NI site. Quote Link to comment
mariuszl2 Posted July 17, 2012 Author Report Share Posted July 17, 2012 (edited) I`ve created a primitive xcontrol that reacts moreless as I wanted. It is a slider, it has a bool output, that is ON when You click and drag your mouse up. It also tourns ON when You press it abowe the zero value, but switches OFF when You release the mouse button. But there is one problem, when it is ON it switches of when you just click on it instead of having to do a swiping down motion. Does anyone has any idea how can I do that? Here`s my XControl: http://www.sendspace.com/file/emvvoz Edited July 17, 2012 by mariuszl2 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.