On success, the function returns the number of bytes written to VM-USB
Function returns a negative number on a failure.
7.8 VME_read_32
The VME_read_32 function reads a 32 bit word from a VME address.
short VME_read_32{
HANDLE hDevice,
USHORT Address_Modifier,
LONG VME_Address,
LONG Data
};
Parameters
hDevice
[in] Handle to the XX-USB device.
Address_Modifier
[in] VME Address modifier
VME_Address
[in] VME address to read Data from
Data
[in] data read from the VM_USB
Return Values
On success, the function returns the number of bytes read from VM-USB
Function returns a negative number on a failure
7.9 VME_write_16
The VME_write_16 function writes a 16 bit word to a VME address.
short VME_write_32{
HANDLE hDevice,
USHORT Address_Modifier,
LONG VME_Address,
LONG Data
};
Parameters
hDevice
[in] Handle to the XX-USB device.
Address_Modifier
[in] VME Address modifier
VME_Address
WIENER, Plein & Baus GmbH
51
www.wiener-d.com