National Instruments PC-OPDIO-16 Manuale Utente

Pagina di 92
NI-DAQ Function Reference
Chapter 6
PC-OPDIO-16 User Manual
6-10
© National Instruments Corporation
Get_NI_DAQ_Version
Format
status = Get_NI_DAQ_Version (version)
Purpose
Returns the version number of the NI-DAQ library.
Parameter
Direction
Name
Type
Description
Output
version
U32
version number assigned
Using This Function
Get_NI_DAQ_Version
 returns a 4-byte value in the version parameter.  The upper two bytes
are reserved and the lower two bytes contain the version number.  Always bitwise 
AND
 the
4-byte value with FFFF in hex before using the version number.  For version 4.8.0, the lower
2-byte value is 480 in hex.
Note to C Programmers:
version is a pass-by-reference parameter.