Jump to content
  • 0

AD3 setting drive strength w/ FDwfDigitalIODriveSet()


JuanThePawn

Question

I'm trying to set the drive strength of an AD3 DIO with FDwfDigitalIODriveSet(), e.g.:

 

+       int slew = 0;
+       double amp = 0.008;
+       FDwfDigitalIODriveSet(dev, 0, amp, slew);
+       FDwfDigitalIODriveGet(dev, 0, &amp, &slew);
+       printf("amp: %f slew %d\n", amp, slew);

.. but Get() gives no indication that my setting took effect:

amp: 0.000000 slew 0

Am I using the API properly? (I also tried specifying amp = 8.0, just in case the method expects mA, not A).

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...