LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Labview be used like Java or C++ in that you do not need to have the labview software in order to run a gui?

I need to develop a fairly simple GUI that: 1.) takes inputs of positions and orientations of radiation seeds in a breast, prostate, lung, etc.

                                                               2.) calculates the radiation dose due to the seeds at any point in space.

                                                               3.) outputs a 3-d graph of the positions and orientations of seeds in space.

 

The program is pretty simple, it just takes in position and orientation inputs and outputs a graph and dose.  I would like to know if Labview is like Java, C++, and other program languages.  For example if I make a program with Java I can just download the executable file to a new computer, run the program and it will do its job on any computer without any extra software.  In Labview is this possible?  Or must a computer have the labview software before a labview GUI can do its job?

 

Thanks,

 

Brian

0 Kudos
Message 1 of 7
(3,232 Views)

hilbert wrote: For example if I make a program with Java I can just download the executable file to a new computer, run the program and it will do its job on any computer without any extra software.

That's not true. You still need the Java runtime. In fact, this is true for any development language, including C. It just so happens that the run-time stuff for C is typically already installed with the operating system, so it only "looks" like you don't need anything else. 

0 Kudos
Message 2 of 7
(3,228 Views)

Brian,

 

The short answer is; No.  It's not possible to run without the LabVIEW Run Time.  

 

However, you don't need the LabVIEW development tools installed to run code that has been compiled into an .exe

 

You can also build an Installer that will install both your code and LabVIEW Run Time engine onto your target.  

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 3 of 7
(3,218 Views)
Of course you do need a Development system with the application builder.  Either LabVIEW PDS or any License+ Application Builder for LabVIEW Base/Full/Student  to build the exe and installer.

"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 7
(3,203 Views)

Brian,

 

The short answer is; No.  It's not possible to run without the LabVIEW Run Time.  

 

However, you don't need the LabVIEW development tools installed to run code that has been compiled into an .exe

 

You can also build an Installer that will install both your code and LabVIEW Run Time engine onto your target.

 

 

First of all you guys are awesome, thanks for the speedy response. 

Second - I'm not sure I understand what is being said here, are you saying I could build in things into a front panel/block diagram that make it so the computer running the program needs nothing but the file.vi?  Could you please point me in the direction of where I could find out how to do this?

0 Kudos
Message 5 of 7
(3,176 Views)

Sorry about the confusion. 

 

There is a component included in some versions of  LabVIEW called Application Builder.  https://www.ni.com/en-us/shop/product/labview-application-builder-module.html

Distributing Applications with the LabVIEW Application Builder

 

 

 

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 6 of 7
(3,170 Views)

hilbert wrote: 
Second - I'm not sure I understand what is being said here, are you saying I could build in things into a front panel/block diagram that make it so the computer running the program needs nothing but the file.vi?  Could you please point me in the direction of where I could find out how to do this?

No, you misunderstood what was being said. The VI is the source code. In order for someone else to use it they need to have the development environment. You can create an executable out of your source code. In this case the user requires the LabVIEW RunTime Engine, not the development environment. 

0 Kudos
Message 7 of 7
(3,168 Views)