LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with loading STL file to 3D picture function

Hi everyone

 

I have a problem with loading a .stl format file. Could anyone tell me how to set the Path control function as default to a certain location so that everytime the VI is ran, it won't ask you to find the location of the file, so the image will instantly shown on the 3D picture function. 

 

I have attached a VI to this post to indicate the problem I memtioned above. I do not want to select the location everytime I run the VI, I want the VI to open the certain file from a certain location when I press the RUN button. 

 

I hope that I explained the question clearly. I have attach the VI and an example of .stl format file.

 

Thanks very much

 

Tommy

Download All
0 Kudos
Message 1 of 3
(2,350 Views)

Hi Tommy,

 

You can set any data in any control to be the default value by simply entering the file path you want then right clicking on the control and navigating to Data Operations > Make Current Data Default.

 

Let me know if this solves your problem. If not then please free free to post back and I will be happy to help further.

 

Best regards

 

 

Matt Surridge

National Instruments
0 Kudos
Message 2 of 3
(2,328 Views)

Hi Matt. Thank you very much for your help.

I get it working.

 

Tommy

0 Kudos
Message 3 of 3
(2,320 Views)