niHSDIO_error_message

NI Digital Waveform Generator/Analyzer

niHSDIO_error_message

Specific Function

C Function Prototype

ViStatus niHSDIO_error_message (ViSession vi, ViStatus errorCode, ViChar[ ] errorMessage);

Purpose

Takes the error code returned by NI-HSDIO functions, interprets it, and returns it as a user readable string.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function.
errorCode ViStatus The error code returned from the device.
errorMessage ViChar[ ] Message string

Note  The string must contain at least 256 characters.

Return Value