Search Results

by flavioluz
Mon Feb 08, 2021 4:32 am
Forum: All Other Phidgets
Topic: Controling LED intensity using VINT Port
Replies: 4
Views: 7388

Re: Controling LED intensity using VINT Port

Thank you for that explanation. I can now change the LED intensity. The difference is that in VINT port, the output voltage is 2.5v max and the LED needs more to be brighter. In an LED controller we can give a higher voltage.
by flavioluz
Thu Feb 04, 2021 5:48 am
Forum: All Other Phidgets
Topic: Controling LED intensity using VINT Port
Replies: 4
Views: 7388

Re: Controling LED intensity using VINT Port

I've already set the DutyCycle to 1 or less and there's no change in led brightness. using: outp.DutyCycle = value; outp.State = value > 0; or outp.BeginSetDutyCycle(value, delegate (IAsyncResult result) { try { outp.EndSetDutyCycle(result); outp.State = value > 0; } catch (PhidgetException ex) { Co...
by flavioluz
Tue Feb 02, 2021 1:29 pm
Forum: All Other Phidgets
Topic: Controling LED intensity using VINT Port
Replies: 4
Views: 7388

Controling LED intensity using VINT Port

Hello, Using a LED directly in a VINT port, the LEDForwardVoltage of DigitalOutput allways give's this error: 'outp.LEDForwardVoltage' threw an exception of type 'System.NullReferenceException'

If I don't set this, the LED works ok but in low intensity.

Can anyone help?

Thank you
by flavioluz
Wed Oct 28, 2020 9:24 am
Forum: C#.NET
Topic: PhidgetSBC4 and BLDCMotor PhidgetException
Replies: 1
Views: 12846

Re: PhidgetSBC4 and BLDCMotor PhidgetException

Found the cause, we can only use MotorPositionController or BLDCMotor at a time. If we open() both, the last one will give an phidgetexception when is used. Just a note, the Phidget API could return an error on Open() when already in use as a different type. This way it's clear to the user what's ha...
by flavioluz
Tue Oct 27, 2020 12:49 pm
Forum: C#.NET
Topic: PhidgetSBC4 and BLDCMotor PhidgetException
Replies: 1
Views: 12846

PhidgetSBC4 and BLDCMotor PhidgetException

Hello, I have a PhidgetSBC4 and a BLDCMotor. In Phidget Control Panel, it works fine. In my Visual Studio 2019 C# program, when I Open the BLDCMotor the TargetVelocity passes from 0 before open() to invalid after open(). I can only change it back to 0 if in the open() I use a 5000ms timeout, any oth...