udfReadPipe()

Read (receive) a line of data from an external program.

Syntax

udfreadPipe( udfHd, buffer, buffSize ) ;

Type

AcuSolve User-Defined Function Client

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
buffer (string)
Pointer to the line of data.
buffSize (integer)
Number of bytes in the line of data.

Return Value

None

Description

This routine reads (receives) a message from the pipe opened by udfOpenPipe or udfOpenPipePrim. For example,
udfReadPipe( udfHd, &buffer, 1024 ) ;

Errors

  • This routine expects a valid udfHd.
  • May only be called from a multiplier function or mesh motion user-defined function.