Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ viVPrintf(3) — HP-UX Instrument Control Library G.03.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

viVPrintf(3)

HP-UX

NAME

viVPrintf − Converts, formats, and sends params to a device

SYNOPSIS

viVPrintf(ViSession vi, ViString writeFmt, ViVAList params);

 

Description

 
This function converts, formats, and sends params to the device as specified by the format string.  This function is similar to viPrintf, except that the ViVAList parameters list provides the parameters rather than separate arg parameters.
 

Parameters

 
 

vi An input parameter.  Unique logical identifier to a session. 
 

writeFmt An input parameter. The format string to apply to parameters in ViVAList. See viPrintf for description. 
 

params An input parameter.  A list containing the variable number of parameters on which the format string is applied.  The formatted data is written to the specified device. 
 
 

Return Values

 
This is the functional return status.  It returns either a completion code or an error code as follows.
 

VI_SUCCESS Parameters were successfully formatted. 
 
 

VI_ERROR_INV_SESSION VI_ERROR_INV_OBJECT The given session or object reference is invalid (both are the same value). 
 

VI_ERROR_IO Could not perform write function because of I/O error. 
 

VI_ERROR_TMO Timeout expired before write function completed. 
 

VI_ERROR_INV_FMT A format specifier in the writeFmt string is invalid. 
 

VI_ERROR_NSUP_FMT A format specifier in the writeFmt string is not supported. 
 

VI_ERROR_ALLOC The system could not allocate a formatted I/O buffer because of insufficient resources. 
 

See Also

 
viPrintf
 

AUTHOR

viVPrintf was developed by HP

Hewlett-Packard Comapny  —  September 29, 1999

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026