HiQ PPC Connect (Macintosh)

Establishes a connection with a HiQ PPC server.

target ID describes the location of the HiQ PPC server and contains a complex cluster of information defined by Apple Computer, Inc. The Open HiQ and Find an Open HiQ VIs create this cluster.
portName describes the port to which you want to connect. Wiring for this input is optional.
nameScript is a 32-bit integer used in international localization that indicates the language system you are using. For Roman language systems (for example, English), use a value of 0. Refer to Inside Macintosh, Volume VI for a list of available script codes.
selector describes the format of the type string parameter.

1Creator/type—Indicates that type string is an 8-character string; the first four characters are the creator (for example, LBVW), and the last four characters define the port type.
2Port type string—Indicates that type string is a 32-character (or less) description of the service provided by the port.
name is the name you give to the port. The value of name, which can be no more than 32 characters, is displayed in the PPC Browser dialog box list of port names. The Get Target ID VI uses name to identify the port.
port type string is an eight-character string. When selector is 1, the first four characters are the creator (for example, LBVW), and the last four characters define the port type. When selector is 2, the type string is a 32-character (or less) description of the service that the port provides. In almost all cases, use 2 for selector, and use a description of the service provided by the port for type string. Refer to Inside Macintosh, Volume VI for more information about other cases.
timeout ticks, if non-zero, indicates the number of ticks the PPC Inform Session VI waits for LabVIEW to establish a session. After timeout ticks, LabVIEW returns the errTimedOut error. One tick equals 1/60 of a second. The default is 0, which indicates no timeout. Refer to PPC Inform Session for more information.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
HiQ PPC Connection out describes the active PPC session. Use this cluster as an input to other HiQ PPC VIs to identify the active PPC session.
port refnum is a port refnum describing the local port associated with the current PPC session.
session refnum is a session refnum describing the current HiQ PPC session.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.