01-08-2009 04:55 AM
Hi to everyone.
I'm trying to include an option on the installer of my application. I want to include a com port selection option (such as the selection of the installer directory for example) when the installer runs, so the user only have to give this information one time an the port is configured when the application runs.
Is this possible with labview?. I'm using LV 8.6.
Thanks in advance
Solved! Go to Solution.
01-08-2009 05:02 AM
Hi Pelicar,
Thanks for your post and I hope your well today.
When you say on your installer - to mean the first time the user runs the code (exe)?
If so, I would create a configuration file and then get your code to test whether one is present, if so - load up the settings automatically (i.e. com port selection). Now you could curdely do with a text file.
What do you think?
Hope this helps,
01-08-2009 06:01 AM
Hi Hillman, thanks for your answer.
I don´t understand very well your solution, so, I will explain better my problem.
My application communicates with a serial equipment to receive data (such as a datalogger) and I want to give the user the possibility to configure the serial port when runs the installer program, (not the .exe). I would like to know if in the installer configuration options (in the build installer) can include this.
Thanks again and I hope the new information will help you better.
Regards
01-08-2009 06:16 AM
Hi Pelicar,
Thanks for your reply - sorry for any confusion.
There is an advanced installer setting Hardware Configuration—Includes the hardware configuration information configured in Measurement & Automation Explorer in the installer. Click the Configure button to launch the Measurement & Automation Explorer Export Wizard to create a hardware configuration file. This allows you to move your hardware configuratin on the deveopment machine onto the deployment machine.
For more information on MAX configuration files please see this Knowledgebase article:
MAX Does Not Save or Apply VISA Port Settings
http://digital.ni.com/public.nsf/allkb/8EBAEC8A57BB48BE862574F90072D3DD?OpenDocument
Hope this helps,
01-09-2009 04:42 AM
Hi Hillman, thanks for all, I think it works ok after your suggestion.
I hope to read you again in the forum.
01-09-2009 06:47 AM
Hi Pelicar,
Thanks for your reply.
I am glad it seems to be working for your.
Thanks for your kind words.
I am normally around.