DscQMMReadHoldRegister

Universal Driver Documentation
This function returns the 16-bit data in the selected counter's hold register. The counter data must first be latched by a Save or Save and Disarm command using dscQMMCounterControl() or dscQMMSingleCounterControl().

Function Definition

BYTE dscQMMReadHoldRegister(DSCB board, BYTE counter, WORD* value)

Function Parameters

NameDescription
boardThe handle of the board to operate on
counterCounter no., 1-5 for QMM-5, 1-10 for QMM-10
value16-bit value from the counter's hold register, range 0-65535

Return Value

Error code or 0.


This page was last modified 01:13, 31 Jan 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.