beautypg.com

Setprotocolerrormask (nprotocolerrormask), Setvoltagemasks (nvoltagemasks), Setinterfacemode (ninterfacemode) – Teledyne LeCroy TA700_800_850 User Manual User Manual

Page 206: Setportnumber (nportnumber), Rotocol, Rror, Oltage, Asks, Nterface, Umber

background image

Catalyst Enterprises Inc.

Library Exported Interfaces

192

SetProtocolErrorMask (nProtocolErrorMask)

Parameters

nProtocolErrorMask

Specifies the new Protocol Error mask.
For example if you want to unmask Protocol error No 11, you must
set the 11

th

bit to 1 before passing the nProtocolErrorMask to this

method:

Mask = (__int64)1 <<10;
If (Unmask)
nProtocolErrorMask |= mask;
else
nProtocolErrorMask &= ~ mask;

SetVoltageMasks (nVoltageMasks)

Parameters

nVoltageMask

Specifies Voltage Mask. The TA700 monitors the critical voltages on
the PCI bus. A 5% drop in voltage for selected voltages and turns the
SYS status LED from green to red. If the bit set for a voltage in the
Voltage Mask this capability will be disabled for that voltage

bit 0: Board +5 Volt
bit 1: Bus +5 Volt
bit 2: Bus +3.3 Volt
bit 3: Bus +12 Volt
bit 4: Bus +12 vaux Volt‡
bit 5: Top Connector +5 Volt‡
bit 6: Top Connector +5 Volt‡

SetInterfaceMode (nInterfaceMode)

Parameters
nInterfaceMode

Specifies the new Interface Mode for Next run.

Pass 0 for EPP Port.
Pass

≥ 1 for USB Port

SetPortNumber (nPortNumber)

Parameters

nPortNumber

Sets the new Iport Number for the Next run. For example, you can
have more than one EPP or USB port, so nPortNumber specifies the
number of each port, this number is one base.