
CHAPTER
3
Digital Input/Output Configuration
The functions in this chapter configure the operation mode of digital input/output. These configurations
will be applied to next continuous digital input/output functions, say d64h_continue_readport(),
d64h_continue_writeport() and d64h_continue_pattern_write(). And these specific settings will be
reset after calling d64h_di_async_clear() and d64h_do_async_clear().
When the trigger-source is configured as TRIG_SOURCE_INT_PACER, the desired sampling-rate will
be generated with the internal clock-source (20MHz) and dividers. Therefore, the actual sampling-rate
is not exactly equal to desired sampling-rate. For instance, for the 1024000Hz desired sampling-rate,
data acquisition is performed with the 1052631.8Hz frequency actually.
3.1 d64h_di_config
VC6
short d64h_di_config(BYTE bCardID, U16 wTrigSource, U16 wExtTrigEnable, U16
wTrigPolarity, U16 wI_REQ_Polarity)
VB6
d64h_di_config(ByVal bCardID As Byte, ByVal wTrigSource As Integer, ByVal wExtTrigEnable
As Integer, ByVal wTrigPolarity As Integer, ByVal wI_REQ_Polarity As Integer) As Integer
Description:
This function configures the functionality of the following continuous digital-input.
Parameters:
bCardID: The specific Card ID that is configured with the on-board Dip-Switch.
wTrigSource: TRIG_SOURCE_INT_PACER, TRIG_SOURCE_EXT_STROBE or
TRIG_SOURCE_HANDSHAKE.
wExtTrigEnable: DI_WAITING or DI_NOWAITING.
PCI-D64HU Function Reference Version
15
Summary of Contents for PCI-D64HU
Page 5: ...PCI D64HU User s Manual Ver 1 0 Dec 2009 5 1 4 Block Diagram...
Page 17: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...
Page 69: ...PCI D64HU Function Reference Version 53...
Page 73: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...