08-31-2016 10:17 AM
I have created a labview GUI and I need my Supervisor and Monitor to evaluate
my prototype device using this GUI. I am in Ireland and they are in Berlin.
Can you please advise if it is possible for them to get a version of Labview to
run this GUI only? If so, will I additionally have to build an application within my GUI (or rewrite my GUI)in
order for them to do this? They can only get an evaluation version for 7 days so its not suitable.
Solved! Go to Solution.
08-31-2016 10:25 AM
08-31-2016 11:12 AM
The best way to distribute code is to use the application builder and build your application as an exe. You can also create an installer which will install the application and the necessary runtime libraries to support your application. Your code may need to be restructured to run as an application depending on how you currently implemented it. When distributing applications you don't want to use the "Run" arrow and the "Abort" button to control starting and stopping your execution. You should handle these programmatically.
08-31-2016 11:45 AM
@lolasue wrote:They can only get an evaluation version for 7 days so its not suitable.
You can extend this to 90 days by checking the box and filling out the form when the 7 day timeout pops up.
Also you can simply reinstall the evaluation to get another 7/90 days.
09-01-2016 06:07 AM
Hi Mark, as this is my first GUI (attached) I don't know how to assess how it has been implemented vis a vis running as an application. Could you possibly take a look at it and comment?
09-01-2016 09:16 AM
In general using "Bytes at port" is not a good way to do serial communications.
Use a Termination Character and set teh VISA Read to read a lot more bytes than you expect to receive.
The VISA read will then read until it gets a Term Char or time out.
Search the board and you will find lots of examples explaining this.
09-01-2016 10:12 AM
For a very basiuc VI this code will work as an exe. the main thing you need is to have a method to stop your code other than the abort button. For more complex user interfaces you will generally use event structures and a producer/comsumer or state machine architecture. LabVIEW ships with examples of both architectures.
09-06-2016 06:06 AM
I have built the application within my GUI and I have installed RTE on another pc to test it. However, whilst the application opens up it doesnt appear to be working. For instance when I try to select a port on the Visa Resource button, no ports are shown. Also when I open up the application it appears that the GUI is already running.
Perhaps, as you say Mark Yedinak , it has to do with my still using the run and abort buttons? Can you please tell me how I replace these with programme options?
09-06-2016 06:22 AM - edited 09-06-2016 06:23 AM
Hi lolasue,
you should create an Installer after you created your executable. This installer will include anything needed to run your exe, especially also the VISA runtime which is needed for serial communication…
whilst the application opens up it doesnt appear to be working.
You should get some error messages. Do you do some error checking in your VI(s)?
Also when I open up the application it appears that the GUI is already running.
This is standard behaviour for any executable on your PC - or do you need to push a start button before IE/Word/FireFox/whatever actually runs?
When you want your exe to wait for user input you need to program it to wait for user input! (The LabVIEW menu bar should be hidden for any executable anyway…)
09-06-2016 06:28 AM