Input/Output

Data Connection Routines

DC_ERROR_MSG

Returns the text string associated with the negative status code generated by a “DC” data import/export function that does not complete successfully.

DC_OPTIONS

Sets the error message reporting level for all “DC” import/export functions.

DC_READ_8_BIT

Reads an 8-bit image file.

DC_READ_24_BIT

Reads a 24-bit image file.

DC_READ_CONTAINER

Reads a single variable from an HP VEE Container file.

DC_READ_DIB

Reads data from a Device Independent Bitmap (DIB) format file into a variable.

DC_READ_FIXED

Reads fixed-formatted ASCII data using a PV‑WAVE format that you specify.

DC_READ_FREE

Reads freely-formatted ASCII files.

DC_READ_TIFF

Reads a Tag Image File Format (TIFF) file.

DC_SCAN_CONTAINER

Scans an HP VEE Container file to determine the number and location of defined variables.

DC_WRITE_8_BIT

Writes 8-bit image data to a file.

DC_WRITE_24_BIT

Writes 24-bit image data to a file.

DC_WRITE_DIB

Writes image data from a variable to a Device Independent Bitmap (DIB) format file.

DC_WRITE_FIXED

Writes the contents of one or more PV‑WAVE  variables (in ASCII fixed format) to a file using a format that you specify.

DC_WRITE_FREE

Writes the contents of one or more PV‑WAVE  variables to a file in ASCII free format.

DC_WRITE_TIFF

Writes image data to a file using the Tag Image File Format (TIFF) format.

Input and Output Routines

ASSOC

Associates an array structure with a file, allowing random access input and output.

BYTEORDER

Converts integers between host and network byte ordering. Can also be used to swap the order of bytes within both short and long integers.

BYTESWAP

Reverse the byte order for each element of an array.

GET_KBRD

Returns the next character available from standard input (PV‑WAVE  file unit 0).

LN03

Standard Library procedure that opens or closes an output file for LN03 graphics output. The file can then be printed on an LN03 printer.

PRINT

PRINT performs output to the standard output stream (PV‑WAVE  file unit –1).

PRINTF requires the output file unit to be specified.

READ

Read input from the standard input stream into PV‑WAVE  variables.

READF reads input from a file into PV‑WAVE  variables.

READU reads binary (unformatted) input from a specified file. (No processing of any kind is done to the data.)

READU_32 reads a long data type as a 4-byte value from the given input stream. It is useful in reading 32-bit Longs on a 64-bit system. In addition, it can be used to read any other PV‑WAVE data types.

READ_AIRS

Reads in hourly data from a file in the AIRS (Aerometric Information Retrieval System) format.

WPRINT

(Microsoft Windows Only) Prints the contents of a specified window.

WREAD_DIB

(Microsoft Windows Only) Loads a Device Independent Bitmap (DIB) from a file into a graphics window.

WREAD_META

(Microsoft Windows Only) Loads a Windows metafile (WMF) into a graphics window.

WRITEU

Writes binary (unformatted) data from an expression into a file.

WWRITE_DIB

(Microsoft Windows Only) Saves the contents of a graphics window to a file as a Device Independent Bitmap (DIB).

WWRITE_META

(Microsoft Windows Only) Saves the contents of a graphics window to a file as a Windows metafile (WMF).