Page 1 of 1

Enable, Disable inputs

Posted: Sun Jul 09, 2017 10:43 am
by Biggermens
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