DscQMMSetLoadRegister

Universal Driver Documentation
This function loads the supplied data into the specified counter's Load register. The Load register is used to specify a counter's initial value as well as to set the reload value when the counter reaches its terminal count during repetitive counting modes. The data is not actually loaded into the counter's count register until a Load or Load and Arm command is issued with dscQMMCounterControl().

Function Definition

BYTE dscQMMSetLoadRegister(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 load value, range 0-65535

Return Value

Error code or 0.


This page was last modified 12:10, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.