Starts a PPC session with an application through a port. If a timeout occurs or the VI aborts before running, the port closes.
![]() |
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. |
![]() |
port refnum is a refnum that uniquely indicates the port through which LabVIEW attempts to start a session with the application. |
![]() |
target ID describes the target application and its location. |
![]() |
user data is an application-defined value that the VI sends with the request for a session. The default is 0. |
![]() |
If Allow Dialog is TRUE (default), the VI displays the User Identity Dialog Box if the target application requires authorization. |
![]() |
prompt appears in the dialog box. |
![]() |
session refnum is a session refnum, which you use in subsequent communication for this session. |
![]() |
reject info contains an application-defined number if the target application rejects the request. |
![]() |
error, if negative, indicates a Macintosh error. If positive, error indicates an error internal to the CIN that generated it. Refer to the PPC Error Codes for a list of PPC error codes and their descriptions. |