Enable, Disable inputs

Supporting Visual Studio on Windows
Post Reply
Biggermens
Phidgetsian
Posts: 14
Joined: Sun Aug 02, 2009 9:55 pm
Contact:

Enable, Disable inputs

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests