LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to alias in LabVIEW

I'm not sure if 'Alias' is the correct term - here is what I want to do.
 
Within one of my VIs, I call Read BMP File.vi, and pass it a path of 
K:\CM\Software\code\Graphics\App_Logo.bmp.  This is a problem however, since not all developers map their network drive to 'K'.  How can I replace 'K' with something generic, as is done in TestStand examples <TestStand>
0 Kudos
Message 1 of 2
(2,701 Views)
mrbean,
 
I think the best option in this case would be to programatically create the path to your BMP file.  To do this, you can use the Strip Path and Build Path functions.  I am attaching a small VI that demonstrates these functions.  It will create a path to a file in the same folder as the VI itself.  Please let me know if this is helpful for your application.
 
Chris M.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,669 Views)