Reading all Digital In bits as one complete byte

Legacy support with Phidget21
Jim Mack
Fresh meat
Posts: 3
Joined: Mon Sep 02, 2013 6:26 pm
Contact:

Reading all Digital In bits as one complete byte

Postby Jim Mack » Sun May 24, 2015 12:52 pm

Using the 8/8/8 with COM, I see .InputState as a property, but that only reads one bit. I'm trying to poll all 8 DIs in one gulp. Is there a "read raw" method or a "all bits" property I can use for this?

Alternatively, is there a way to do this outside the COM DLL? In this application it will be painful, and possibly error-prone, to assemble a model of the input byte by sequentially reading each bit.

Return to “VB 6.0”

Who is online

Users browsing this forum: No registered users and 1 guest