Пример #1
0
        } // End GenericCanTransmitSingle

        // CAN Transmit for multiple transmissions
        public static void CanTransmitMultiple(CanData can)
        {
            can.handle = BusInterface.ReturnHandle(can.hardware);
            ECOMCanWrite writeCan = new ECOMCanWrite();

            Thread t2 = new Thread(delegate()
            {
                writeCan.ECOMWriteMultiple(can);
            });

            t2.IsBackground = true;
            t2.Start();
        }  // End GenericCanTransmitMultiple
Пример #2
0
        // CAN Transmit for multiple transmissions
        public static void CanTransmitMultiple(CanData can)
        {
            can.handle = BusInterface.ReturnHandle(can.hardware);
            ECOMCanWrite writeCan = new ECOMCanWrite();

            Thread t2 = new Thread(delegate()
            {
                writeCan.ECOMWriteMultiple(can);
            });
            t2.IsBackground = true;
            t2.Start();
        }