Closes all the PPC ports that the PPC Open Port VI opened. Refer to PPC Open Port for more information. Details
![]() |
If Close All is TRUE (default), closes all the ports that the PPC Open Port VI opened. Refer to PPC Open Port for more information. |
Closing a port terminates all outstanding calls associated with the port with a portClosedErr (error 916).
You can use this VI to handle abnormal conditions that leave ports open. An example of an abnormal condition is when a VI is aborted before it can terminate normally and close the PPC port. You also can use this VI during VI development, when such mistakes are more likely to be made, or as a precaution at the beginning of any program that opens ports.