Create from Reference
- Updated2025-07-30
- 2 minute(s) read
Creates a constant or control using a constant or control reference as a template.
Parameters
| Name | Data type | Required | Description |
|---|---|---|---|
| Source Object Reference | ![]() |
Yes | A reference to the object you want to duplicate on the target VI. If you use this parameter, you do not need to wire the type descriptor and style fields. |
| Position | ![]() |
No | Specifies the position where you want to create the constant or control. |
| New Object Reference | ![]() |
Yes | The reference to the constant or control you create. |
| Make Names Unique (F) | ![]() |
No | Determines whether to make the name of the constant or control unique. Make Names Unique does not rename the constant or control if a constant or control with that name already exists. |
Remarks
The following table lists the characteristics of this method.
| Short Name | Create from Reference |
| Data type | No return value |
| Available in Run-Time Engine | No |
| Available in Real-Time Operating System | No |
| Settable when the VI is running | No |
| Loads the front panel into memory | Yes |
| Need to authenticate before use | No |
| Loads the block diagram into memory | Yes |
| Remote access allowed | Yes |
| Must wait until user interface is idle | No |
| Available with control VIs | Yes |
| Available with global VIs | Yes |
| Available with strict type definitions | Yes |
| Available with polymorphic VIs | No |



