Omar Mussa Posted July 19, 2008 Report Share Posted July 19, 2008 Is it possible to launch multiple instances of an EXE built by LabVIEW App Builder? Quote Link to comment
Francois Normandin Posted July 19, 2008 Report Share Posted July 19, 2008 QUOTE (Omar Mussa @ Jul 18 2008, 02:49 PM) Is it possible to launch multiple instances of an EXE built by LabVIEW App Builder? I do it to test my tcpip communications, so I'd say yes. The same EXE copied in two separate directories can be launched at the same time and run separately as long as they are not using the same port or other potentially shared resource. Quote Link to comment
crelf Posted July 19, 2008 Report Share Posted July 19, 2008 QUOTE (Omar Mussa @ Jul 18 2008, 02:49 PM) Is it possible to launch multiple instances of an EXE built by LabVIEW App Builder? Yes - just give them different names, put them in different locations, or use the "allowmultipleinstances=True" key in the ini file (the last option looks to be the best one, but I've never gotten it to work in a built exe). There are another couple of methods http://wiki.lavag.org/Multiple_Instances_of_LabVIEW' rel='nofollow' target="_blank">listed here. Quote Link to comment
Omar Mussa Posted July 19, 2008 Author Report Share Posted July 19, 2008 QUOTE (normandinf @ Jul 18 2008, 12:00 PM) I do it to test my tcpip communications, so I'd say yes. The same EXE copied in two separate directories can be launched at the same time and run separately as long as they are not using the same port or other potentially shared resource. Excellent method, and it works. I also realized I could just copy my EXE and rename it and it was good enough for me in this case and it allowed me to run in same folder. Quote Link to comment
Neville D Posted July 19, 2008 Report Share Posted July 19, 2008 QUOTE (crelf @ Jul 18 2008, 12:17 PM) or use the "allowmultipleinstances=True" key in the ini file (the last option looks to be the best one, but I've never gotten it to work in a built exe) Might be in an older version of LabVIEW? I have it working all the time with some of my exe's in LV8.* onwards. Neville. Quote Link to comment
Omar Mussa Posted July 19, 2008 Author Report Share Posted July 19, 2008 QUOTE (crelf @ Jul 18 2008, 12:17 PM) There are another couple of methods http://wiki.lavag.org/Multiple_Instances_of_LabVIEW' rel='nofollow' target="_blank">listed here. I saw that page and somehow missed this: QUOTE [MyApp] allowmultipleinstances = TRUE I knew that worked for LabVIEW.ini but I forgot that it could be used in 'MyApp.ini'... I'll try that later and see if it works for me. Quote Link to comment
crelf Posted July 19, 2008 Report Share Posted July 19, 2008 QUOTE (Omar Mussa @ Jul 18 2008, 03:57 PM) I saw that page and somehow missed this: Yeah - it's easy to miss due to the title of the page. QUOTE (Neville D @ Jul 18 2008, 03:37 PM) Might be in an older version of LabVIEW? I have it working all the time with some of my exe's in LV8.* onwards. Thanks for pointing that out - I just tried it again and it works great :thumbup: Quote Link to comment
Norm Kirchner Posted July 19, 2008 Report Share Posted July 19, 2008 If you put Allowmultipleinstances=true in your built exe's ini file IT WILL WORK if you look at the soft front panels that NI makes for things like their DMMs, they use that exact same ini so that we can have multiple dmm panels open at a time. So since NI does it why shouldn't we. It's much more elegant than making copies of EXEs Quote Link to comment
Omar Mussa Posted July 19, 2008 Author Report Share Posted July 19, 2008 QUOTE (Norm Kirchner @ Jul 18 2008, 01:57 PM) It's much more elegant than making copies of EXEs I agree, thanks! Quote Link to comment
Gabi1 Posted July 20, 2008 Report Share Posted July 20, 2008 QUOTE (Norm Kirchner @ Jul 18 2008, 10:57 PM) If you put Allowmultipleinstances=true in your built exe's ini file IT WILL WORKif you look at the soft front panels that NI makes for things like their DMMs, they use that exact same ini so that we can have multiple dmm panels open at a time. So since NI does it why shouldn't we. It's much more elegant than making copies of EXEs Thanks! had exactly this problem for some users who run identical instruments on same computer, just with different GPIB address. Quote Link to comment
Omar Mussa Posted July 22, 2008 Author Report Share Posted July 22, 2008 QUOTE (Norm Kirchner @ Jul 18 2008, 01:57 PM) If you put Allowmultipleinstances=true in your built exe's ini file IT WILL WORK I did this and it worked great. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.