Vme_Dgg - Wiener VM-USB User Manual

Hide thumbs Also See for VM-USB:
Table of Contents

Advertisement

[in] VME offset to read from, as specified in Section 3.4
Data
[out] Data read from the specified register
Return Values
On success, the function returns the number of bytes read from the VM-USB
Function returns a negative number on a failure

7.3 VME_DGG

The VME_DGG function allows the user to setup the characteristics of the Delay and
Generator channels of the VM_USB.
short VME_DGG{
HANDLE hDevice,
USHORT channel,
USHORT trigger,
USHORT output,
LONG delay,
USHORT gate,
USHORT invert,
USHORT latch
};
Parameters
hDevice
[in] Handle to the XX-USB device.
channel
[in] The DGG channel you wish to modify. Valid values are:
0 – For DGG channel A
1 – For DGG channel B
trigger
[in] Determines the start of the DGG. Valid Values are:
0 – Channel Disabled
1 – NIM input 1
2 – NIM input 2
3 – Event Trigger
4 - End of Event
5 - USB Trigger
6 - Pulser
output
[in] Determines the NIM ouput used for the DGG channel. Valid values are:
0 – NIM O1
1 – NIM O2
delay
[in] 32 bit word in steps of 12.5ns between trigger and start of gate consisting of
lower 16 bits: Delay_fine
WIENER, Plein & Baus GmbH
47
www.wiener-d.com

Advertisement

Table of Contents
loading

Related Products for Wiener VM-USB

Table of Contents