You may have walked into the VBA trap:
http://ultimaserial.com/exd.html
Personally, I prefer this approach
http://ultimaserial.com/exd2.html
--- In ultimaserial_group@yahoogroups.com, "throrope" <throrope@...>
wrote:
>
> I did an upgrade from microsoft that required me to re-install
> ultimaserial. So I went with the latest on the web. Now my
> application captures "Cells(3, 5) = UltimaSerial.DigitalInput(0)" as a
> 1 regardless of the actual condition and even with no leads on any of
> the D's. I didn't use SetDIODir in the past and all defaulted to
> input. Is there something differant now? In the past I asked about
> the syntax of SetDIODir and example command to set all to input, but
> never got past the binary thing. Can anyone post a command within " "
> that will set all to input within VBA in Excel? Or, do I have a
> differant problem?
>