Find Get Terminal Name with Device Prefix VI

Updated Jan 9, 2019

Reported In


  • LabVIEW Base


  • NI-DAQmx

Issue Details

When I try to open my LabVIEW VI, a dialog box begins searching for the function Get Terminal Name with Device Prefix VI and asks me to find this function. When I click ignore and open the LabVIEW VI, there is a white box with a gray question mark where the Get Device Name with Device Prefix VI should be. 


This is a very useful function that has been built into a number of example programs. There are a few ways that you can navigate to the Get Terminal Name with Device Prefix VI. For a one time fix, use either of the first two methods. To avoid this problem in the future, Methods 3 and 4 are more appropriate.
  1. The first method is a simple fix if you will only need to find this function once. After your VI has opened without the function, you can use the NI Example Finder to open one of LabVIEW's example VIs that has this function built in. LabVIEW will then recognize the VI and replace the gray question mark in your original VI with the correct function. A good example program to open is the Multi-Device Sync-AI and AO-Shared Timebase & Trig-DSA VI.This VI can be found by navigating to Help»Find Examples, then click the first example under Hardware Input and Output» DAQmx» Synchronization» Multi Device. After this VI opens, you should now have the Get Terminal Name with Device Prefix VI on your original code’s block diagram.
  2. If you know the location of the VI, another quick solution is to right click on the missing VI in the example program’s block diagram and choose Replace»Select a VI . Then navigate to labview\examples\DAQmx\_Utility. Open this library and choose the Get Terminal Name with Device Prefix VI.
  3. To avoid this problem in the future, You can introduce the library location from the previous method in your VI search path. With this method implemented, LabVIEW will now automatically look in the proper location instead of asking where to search for the Get Terminal Name function when your example code loads. 
You can do this by opening LabVIEW and then navigating to the Tools»Options menu. In the Options dialog box, select Paths from the left hand column. In the main box, select VI Search Path from the drop down menu. You can now deselect Use Default and add paths to search when loading a VI.

You can click Browse to navigate to C:\Program Files\National Instruments\LabVIEW XX\examples\DAQmx\_Utility. Once this path is selected, you can insert this path into the list.
Now, when you open a VI that uses the Get Terminal Name with Device Prefix VI, as the VI loads, a pop up box will appear, asking you to find the VI in the library. Select the the Get Terminal name with Device prefix VI from the list ans click OK. 

When the VI finishes loading, a warning pop up dialog box, will appear letting you know that the Get Terminal Name with Device Prefix VI was found in a different location than expected. 

If you feel that you will be using this VI frequently as you build code, you can place it into a Folder that will make this function available in the user Library Palette of the block diagram. To do this, copy the VI from the location mentioned in method 2 and paste it into labview\user.lib. After rebooting LabVIEW, you can right-click to bring up the Block Diagram and navigate to Functions Platte» All Functions» User Library and you will see Get Terminal Name with Device Prefix VI


Not Helpful