A.2.9 controller_gethwrevision, A.2.9, Controller_gethwrevision – ADLINK PXIe-3975 User Manual

Page 61

Advertising
background image

PXI Trigger I/O Function Reference

49

PXIe-3975

Return Code

ERR_NoError
ERR_Query_Revision

A.2.9

CONTROLLER_GetHwRevision

Description

Acquires the Controller Hardware version and revision num-
ber and the version of the trigger module CPLD

Supported Controllers

PXIe-3975

Syntax

C/C++

I16 CONTROLLER_GetHwRevision( U8* cpldMajor,
U8* cpldMinor, char* hwRevBuf,U32 hwRevBuf-
Size)

Visual Basic

CONTROLLER_GetHwRevision (cpldMajor As Byte,
cpldMinor As Byte, hwRevBuf As String,
hwRevBufSize As Long) As Integer

Parameters

cpldMajor

Returns the major version number of the pxi trigger module
CPLD

cpldMinor

Returns the first minor version number of the pxi trigger
module CPLD

hwRevBuf

Character buffer of size declared by the caller of size
hwRevBufSize, returns a null-terminated string representa-
tion of the hardware revision

Advertising