enable 1047

Supporting Visual Studio on Windows
mrcw
Phidgetsian
Posts: 5
Joined: Sun Sep 04, 2011 3:57 am
Contact:

enable 1047

Postby mrcw » Sun Sep 04, 2011 4:24 am

hi

I've been trying to enable encoder 0 using

encoder.encoders[0].Enabled = true;

but the program doesn't like 'Enabled'. I've tried various combinations ,but I still can't enable the encoder.

Any ideas?

thx

erik
King of the Lab
Posts: 476
Joined: Fri Mar 06, 2009 12:42 pm
Location: Calgary, Canada
Contact:

Re: enable 1047

Postby erik » Tue Sep 06, 2011 8:35 am

Since we have two different encoder boards, only the 1047 has the functionality to enable or disable encoders. Due to this, you will need to use:

Code: Select all

encoders.encodersWithEnable[0].Enable = true;


Return to “C#.NET”

Who is online

Users browsing this forum: No registered users and 2 guests