LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building RT Application in Temp Folder

Solved!
Go to solution

Heyo,

          I have a piece of code that was written some time ago, and while everything seems to be working correctly, I can't seem to build it.  It says it's because the path is too long, but after comparing it with someone else (who was able to build it) I noticed that it was because their path was just C:\tNIAB\etc... While mine was at C:\Users\USERNAME\AppData\Local\Temp\tNIAB\etc... I can't seem to figure out why this change has occurred.  The VI that is affected is the Actor Frameworks Receive Message VI, and the VI loaded from a different path is the Get LV Class Name.vi.  Anyone have any experience with this?  Thanks!

0 Kudos
Message 1 of 3
(696 Views)

I can't say why it would change, but I too build in C:\RT Temp because I have been hit with weird long paths giving me issues before.  If you want to get fancy you can use a Post Build VI to move the build to be near the project building it.

Message 2 of 3
(647 Views)
Solution
Accepted by EthanHenry

I figured it out and, to be quite honest, I'm a bit embarrassed, but I was unaware that there was a straight up option to change what directory to use as the temporary directory.  He must've changed this to C:\ and forgotten, meaning he shaved off a solid 30 characters or so.  I just changed it and it worked perfectly for me

0 Kudos
Message 3 of 3
(580 Views)