beautypg.com

Daqadctransferstart, Daqadctransferstop, Daqclose – Measurement Computing Personal Daq rev.6.0 User Manual

Page 150

background image

B-18 API Commands

Appendix B,

887095

Personal Daq User’s Manual

daqAdcTransferStart

DLL Function

daqAdcTransferStart(DaqHandleT handle);

C

daqAdcTransferStart(DaqHandleT handle);

Visual BASIC

VBdaqAdcTransferStart&(ByVal handle&)

Delphi

daqAdcTransferStart( handle:DaqHandleT )

Parameters

Handle

Handle to the device to initiate an ADC transfer

Returns

DerrNoError

No error

See Also

daqAdcTranferSetBuffer, daqAdcTransferGetStat, daqAdcTransferStop

Program References

ADCEX1.C, FREQEX1.C, PULSEEX1.C, MULTEX1.C, DAQEX.FRM (VB), DAQEX.PAS (Delphi)

Used With

All devices

Description

daqAdcTransferStart

allows you to initiate an acquisition transfer. The transfer will be performed under the current active acquisition.

If no acquisition is currently active, the transfer will not initiate until an acquisition becomes active (via the daqAdcArm function). The
transfer will be characterized by the current settings for the transfer buffer. The transfer buffer can be configured via the
daqAdcSetTransferBuffer

function.


daqAdcTransferStop

DLL Function

daqAdcTransferStop(DaqHandleT handle);

C

daqAdcTransferStop(DaqHandleT handle);

Visual BASIC

VBdaqAdcTransferStop&(ByVal handle&)

Delphi

daqAdcTransferStop( handle:DaqHandleT )

Parameters

handle

Handle to the device for which the Adc data transfer is to be stopped

Returns

DerrNoError

No error

See Also

daqAdcTransferSetBuffer, daqAdcTransferStart, daqAdcTransferGetStat

Program References

None

Used With

All devices

Description

daqAdcTransferStop

allows you to stop a current buffer transfer, if one is active. The current transfer will be halted and no more data

will transfer into the transfer buffer. Though the transfer is stopped, the acquisition will remain active. Transfers can be re-initiated with
daqAdcStartTransfer

after the stop, as long as the current acquisition remains active. The acquisition can be halted by calling the

daqAdcDisarm

function.



daqClose

DLL Function

daqClose(DaqHandleT handle);

C

daqClose(DaqHandleT handle);

Visual BASIC

VBdaqClose&(ByVal handle&)

Delphi

daqClose(handle:DaqHandleT)

Parameters

handle

Handle to the device to be closed

Returns

DerrNoError

No error

See Also

daqOpen

Program References

ADCEX1.C, FREQEX1.C, PULSEEX1.C, MULTEX1.C, DIGEX1.C, INITEX1.C, DAQEX.FRM (VB),

DAQEX.PAS (Delphi)

Used With

All devices

Description

daqClose

is used to close a Personal Daq device. Once the specified device has been closed, no subsequent communication with the

device can be performed. In order to re-establish communications with a closed device, the device must be re-opened with the daqOpen
function.

This manual is related to the following products: