VISA Type Definitions
This topic lists and describes the VISA data types.
VISA Data Type |
Definition |
Description |
|
ViUInt32 |
unsigned long |
A 32-bit unsigned integer. |
|
ViPUInt32 |
ViUInt32 * |
The location of a 32-bit unsigned integer. |
|
ViAUInt32 |
ViUInt32 * |
The location of a 32-bit unsigned integer. |
|
ViInt32 |
signed long |
A 32-bit signed integer. |
|
ViPInt32 |
ViInt32 * |
The location of a 32-bit signed integer. |
|
ViAInt32 |
ViInt32 * |
The location of 32-bit signed integer. |
|
ViUInt16 |
unsigned short |
A 16-bit unsigned integer. |
|
ViPUInt16 |
ViUInt16 * |
The location of a 16-bit unsigned integer. |
|
ViAUInt16 |
ViUInt16 * |
The location of a 16-bit unsigned integer. |
|
ViInt16 |
signed short |
A 16-bit signed integer. |
|
ViPInt16 |
ViInt16 * |
The location of a 16-bit signed integer. |
|
ViAInt16 |
ViInt16 * |
The location of 16-bit signed integer. |
|
ViUInt8 |
unsigned char |
An 8-bit unsigned integer. |
|
ViPUInt8 |
ViUInt8 * |
The location of an 8-bit unsigned integer. |
|
ViAUInt8 |
ViUInt8 * |
The location of an 8-bit unsigned integer. |
|
ViInt8 |
signed char |
An 8-bit signed integer. |
|
ViPInt8 |
ViInt8 * |
The location of an 8-bit signed integer. |
|
ViAInt8 |
ViInt8 * |
The location of an 8-bit signed integer. |
|
ViAddr |
void * |
A type that references another data type. |
|
ViPAddr |
ViAddr * |
The location of a ViAddr. |
|
ViChar |
char |
An 8-bit integer representing an ASCII character. |
|
ViPChar |
ViChar * |
The location of a ViChar. |
|
ViByte |
unsigned char |
An 8-bit unsigned integer representing an extended ASCII character. |
|
ViPByte |
ViByte * |
The location of a ViByte. |
|
ViBoolean |
ViUInt16 |
A type that is either VI_TRUE or VI_FALSE. |
|
ViPBoolean |
ViBoolean * |
The location of a ViBoolean. |
|
ViBuf |
ViPByte |
The location of a block of data. |
|
ViPBuf |
ViPByte |
The location of a block of data. |
|
ViString |
ViPChar |
The location of a NULL-terminated ASCII string. |
|
ViPString |
ViPChar |
The location of a NULL-terminated ASCII string. |
|
ViStatus |
ViInt32 |
Values that correspond to VISA-defined completion and error codes. |
|
ViPStatus |
ViStatus * |
The location of the completion and error codes. |
|
ViRsrc |
ViString |
A ViString type. |
|
ViPRsrc |
ViString |
A ViString type. |
|
ViAccessMode |
ViUInt32 |
Specifies the different mechanisms that control access to a resource. |
|
ViBusAddress |
ViUInt32 |
Represents the system dependent physical address. |
|
ViBusSize |
ViUInt32 |
Represents the system dependent physical address size. |
|
ViAttr |
ViUInt32 |
Identifies an attribute. |
|
ViVersion |
ViUInt32 |
Specifies the current version of the resource. |
|
ViPVersion |
ViVersion * |
The location of ViVersion. |
|
ViAttrState |
ViUInt32 |
Specifies the type of attribute. |
|
ViPAttrState |
void * |
The location of ViAttrState. |
|
ViVAList |
va_list |
The location of a list of variable number of parameters of differing types. |
|
ViEventType |
ViUInt32 |
Specifies the type of event. |
|
ViPEventType |
ViEventType * |
The location of a ViEventType. |
|
ViEventFilter |
ViUInt32 |
Specifies filtering masks or other information unique to an event. |
|
ViObject |
ViUInt32 |
Contains attributes and can be closed when no longer needed. |
|
ViPObject |
ViObject * |
The location of a ViObject. |
|
ViSession |
ViObject |
Specifies the information necessary to manage a communication channel with a resource. |
|
ViPSession |
ViSession * |
The location of a ViSession. |
|
ViFindList |
ViObject |
Contains a reference to all resources found during a search operation. |
|
ViPFindList |
ViFindList * |
The location of a ViFindList. |
|
ViEvent |
ViObject |
Contains information necessary to process an event. |
|
ViPEvent |
ViEvent * |
The location of a ViEvent. |
|
ViHndlr |
ViStatus( *) |
A value representing an entry point to an operation for use as a callback. |
|
ViReal32 |
float |
A 32-bit single-precision value. |
|
ViPReal32 |
ViReal32 * |
The location of a 32-bit single-precision value. |
|
ViReal64 |
double |
A 64-bit double-precision value. |
|
ViPReal64 |
ViReal64 * |
The location of a 64-bit double-precision value. |
|
ViJobId |
ViUInt32 |
The location of a variable that will be set to the job identifier. |
|
ViKeyId |
ViString |
The location of a string. |