LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

question about license

I want to sale my software based on Labview, is that legal if I build it as an independent application program and what kind of system should I need to build applications?
But it seems that it doesn't work well when I build it as an independent application program cause in my program I need to read a file in a relative path which is based on the installation path, so how can I get the installation path in my program?
--------------------------------------------------------------------------------------------------------------------------
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
---------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 3
(2,910 Views)
Check with NI about the licensing issue. Concerning the path question, there's a primative path constant for the current VI's path. In a built application the path it returns will be something like:
 
c:/program files/myApplication/myApp.exe/myVI.vi
 
Strip this path twice and you have the directory where the executable is installed.
 
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 3
(2,906 Views)

To build applications in LabVIEW you will need either the Professional Development version, which includes the Application Builder, or you will need to purchase the labVIEW add-on toolkit version of the Application Builder. With that you can create "*.exe" versions of your program which may be distributed. For them to run you will need the LabVIEW runtime engine, which the application builder will include in the distribution files (if directed to), which may be freely distributed. It (the runtime) is a fairly large program (10Mb+ ?) and this fact is frequently pointed out by my Visual Basic/Visual C++ friends, but I then point out that their code also requires a runtime, it just comes preinstalled in the bloated Windows installation.

Mike is correct (as he frequently is) about stripping the paths differently between built applications and development versions.

How did you discover this if you weren't aware of application builder?

P.M.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



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