Enable, Disable inputs

Supporting Visual Studio on Windows
Posts: 13
Joined: Sun Aug 02, 2009 9:55 pm

Enable, Disable inputs

Postby Biggermens » Sun Jul 09, 2017 10:43 am

Hello everyone

Its been a very long time since i played with my phidgets, i decided to take them out and play around with them again :)

I am trying to enable and disable one specific input or output from working with a button

I know this is wrong but its just to give you a idea of what i am looking for, I am using VB 2008 with phidgets21.dll

Thanks everyone in advance :)

Code: Select all

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

 If phidgetIFK.inputs(0) = Disable then
            phidgetIFK.inputs(0) = enable
            else if
            phidgetIFK.inputs(0) = Disable
        End If
End Sub

Return to “VB .NET”

Who is online

Users browsing this forum: No registered users and 1 guest