Beispiel #1
0
        } // End GenericCanTransmitSingle

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

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

            t2.IsBackground = true;
            t2.Start();
        }  // End GenericCanTransmitMultiple
        //************************************
        // CAN Transmit for multiple transmissions
        //************************************
        public static void CanTransmitMultiple(CanData can)
        {
            can.handle = BusInterface.ReturnHandle(can.hardware);
            KvaserWriteCan writeCan = new KvaserWriteCan();

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