Vme_Output_Settings - Wiener VM-USB User Manual

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

Advertisement

0 – Not latched
1 – Is latched
Return Values
On success, the function returns the number of bytes from from the VM_USB.
Function returns a negative number on a failure

7.5 VME_Output_settings

The VME_Output_settings function allows the user to setup the NIM outputs on the front
panel of the VME_USB. Details about the output settings are found in section 3.4.5
short VME_Output_settings{
HANDLE hDevice,
USHORT Channel,
USHORT code,
USHORT invert,
USHORT latch
};
Parameters
hDevice
[in] Handle to the XX-USB device.
Channel
[in] The NIIM output channel you wish to modify. Valid values are:
1 – O1
2 – O2
code
[in] Determines what event the output is linked to. Valid valuesare 0-7 and are
described in section 2.4.5
invert
[in] Determines whether or not the output is inverted. Valid values are:
0 – Not inverted
1 – Is inverted
latch
[in] Determines whether or not the output is latched. Valid values are:
0 – Not latched
1 – Is latched
Return Values
On success, the function returns the number of bytes from from the VM_USB.
Function returns a negative number on a failure
7.6 VME_scaler _settings
Configures the internal VM-USB scaler (SelSource register)
WIENER, Plein & Baus GmbH
49
www.wiener-d.com

Advertisement

Table of Contents
loading

Related Products for Wiener VM-USB

Table of Contents