Exemple #1
0
        public override int GetOutBit()
        {
            uint outputIO = 0;
            int  re       = CPci9014.p9014_get_do(0, ref outputIO);

            for (int i = 0; i < arrayDI.Length; i++)
            {
                arrayDO[i] = ((outputIO >> i) & 0x0001) == 0;
            }
            return(re);
        }