Disconnect_PDC
Disconnects the connection from the PDC based on the pseudo PDC ID. If there is no connection at the location of the ID then the function return is 1 else its 0. Best used when changing the PDC source.
Inputs:
Pseudo PDC ID | This ID number correlates to number used in the connection PDC VI, this is id for which instances of the PDC is running. The ID separate where the data is going to if on the same device |
Outputs:
Function return | Determines if there was a connection at pseudo ID, if there is then the VI disconnects and function return is 0, else the function return is 1. |
Disconnected from an actual connection with a PDC at ID 2
No connection at ID 51 results in a return of 1