Exemple #1
0
        private uint Send_Pointer_of_Array(IntPtr pointer, long nr_of_samples)
        {
            uint errorCode = Drv.spcm_dwDefTransfer_i64(H_Device, Drv.SPCM_BUF_DATA, Drv.SPCM_DIR_CARDTOPC, 0, pointer, 0, 2 * (ulong)nr_of_samples);

            Communication_LOG += "Set Pointer for Data:\n" + errorCode.ToString() + "\n";
            return(errorCode);
        }
Exemple #2
0
        public void DefineTransfer(uint bufType, uint direction, uint notifySize, IntPtr buffer, ulong boardOffset, ulong bufferLength)
        {
            var errorCode = Drv.spcm_dwDefTransfer_i64(handle, bufType, direction, notifySize, buffer, boardOffset, bufferLength);

            HandleError(handle, errorCode);
        }