XNET Database Merge (PDU) VI
- Updated2025-10-07
- 4 minute(s) read
Adds the source PDU to the target cluster.

Inputs/Outputs
wait for complete? (T)
—
wait for complete? Use this input only if the source object is a cluster (refer to the XNET Database Merge (Cluster) VI).
target cluster in
—
target cluster in is the I/O name of the cluster where the source PDU is merged.
source PDU
—
source PDU is the I/O name of the PDU to be merged into the target cluster.
copy mode
—
copy mode defines the merging behavior if the target cluster already contains a PDU with the same name.
prefix
—
prefix is added to the source PDU name if a PDU with the same name exists in the target cluster.
error in (no error)
—
error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.
percent complete
—
percent complete is used when wait for complete? is false. (This output does not apply to the PDU instance.)
target cluster out
—
target cluster out is a copy of target cluster in. You can use this output to wire the VI to subsequent VIs.
error out
—
error out passes error or warning information out of a VI to be used by other VIs. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
Target PDU Pdu1(v1) has signals S1 and S2(v1). Source PDU Pdu1(v2) has signals S2(v2) and S3.
(v1) and (v2) are two versions of one object with same name but with different properties.
- Result of Copy using source: Pdu1(v2), S2(v2), S3.
- Result of Copy using destination: Pdu1(v1), S1, S2(v1).
- Result of Merge using source: Pdu1(v2), S1, S2(v2), S3.
- Result of Merge using destination: Pdu1(v1), S1, S2(v1), S3.
Description
This VI merges a PDU with all dependent child objects (subframes and signals) to the target cluster.
If the source PDU name was not used in the target cluster, this VI copies the source PDU with the child objects to the target. If a PDU with the same name exists in the target cluster, you can avoid name collisions by specifying the prefix to be added to the name.
If a PDU with the same name exists in the target cluster, the merge behavior depends on the copy mode input:
- Copy using source: The target PDU with all dependent child objects is removed from the target cluster and replaced by the source objects.
- Copy using destination: The source PDU is ignored (the target cluster PDU with child objects remains unchanged).
- Merge using source: This adds child objects from the source PDU to child objects from the destination PDU. If the target PDU contains a child object with the same name, it is replaced by the child object from the source PDU. The source PDU properties (for example, payload length) replace the target PDU properties.
- Merge using destination: This adds child objects from the source PDU to child objects from the destination PDU. If the target PDU contains a child object with the same name, it remains unchanged. The target PDU properties remain unchanged (for example, payload length).
wait for complete? (T)
—
target cluster in
—
copy mode
—
prefix
—
error in (no error)
—
percent complete
—
target cluster out
—
error out
—