Boards that Support the Function
Operation Sets
whether to use DMA, FIFO
and BusMaster.
The current version does not support BusMaster and DMA.
Format
(VB.NET)
Dim Dmamode, Dmach, Ret As Integer
Ret = GpDma(Dmamode, Dmach)
(C)
DWORD Dmamode, Dmach, Ret;
Ret = GpDma(Dmamode, Dmach);
(C#)
uint Dmamode, Dmach, Ret;
Ret = gpib.Dma(Dmamode, Dmach);
(Python)
Dmamode, Dmach, Ret = ctypes.c_ulong(), ctypes.c_ulong(), ctypes.c_ulong()
Ret.value = GpibPy.GpDma(Dmamode, Dmach)
Mode Master mode/Slave mode
Parameters
Dmamode : Use of DMA, FIFO and BusMaster (transfer mode)
0 : DMA, FIFO and BusMaster OFF
1 : DMA ON (The current version does not support DMA.)
2 : FIFO ON
3 : BusMaster ON (The current version does not support BusMaster.)
Dmach : DMA Channels
1 - 3
Ret : Return value
0 : Normal completion
80 : GpIni() hasn't execute
140 : Asynchronous function is executing now
210 : Cannot initialize DMA channel
255 : Parameter error
(See "Return Values" for details.)
Notes
For receiving by DMA, FIFO, BusMaster, use at least either one of a delimiter or EOI.
The current version does not support BusMaster and DMA.