From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-04-2017 09:07 AM
I'm not Yamaeda, but I can answer the question he asked -- you have three VIs, Screen-1, Screen-2, and Screen-3, and you are calling them using VI Server (the Run VI method).
I admit that I do not have the patience to try to figure out what you are trying to do with your code. I fail to understand the logic behind the three VI's mentioned above, nor why they seem to be calling each other and then closing their own Front Panels. You appear to not understand the idea of Data Flow, judging from having a completely unnecessary and obfuscating Stacked Frame in each of these three VIs, and not following the principle of "The Error Line Runs Through It").
I suppose it is possible that this is a very early stage of a much more complicated piece of software having three semi-independent pieces, only one of which has meaningful code at the present. If this is the case, I suggest writing the three pieces as stand-alone code, then writing "One VI to start them all, One VI to bind them, One VI to rule them all and at the right time, Stop Them. In Austin, where NI dwells ..." (sorry, got carried away ...).
Bob Schor
03-04-2017 11:39 AM
Followup to my previous post (and apologies -- I'm "on the road" with intermittent Web access ...).
I noticed that you describe running LabVIEW 2015 x64. As I recall, 64-bit LabVIEW is not quite as robust as 32-bit LabVIEW. I, myself, have never installed it -- instead, I do what probably the majority of LabVIEW users do and install 32-bit LabVIEW on 64-bit Windows OS machines. In my case, this is LabVIEW 2016 (32-bit) on Windows 10 x64 on my laptop ("this machine"), and LabVIEW 2012, 2014, 2015, and 2016 (all 32-bit) on Windows 7 x64 on my work desktop. Never had problems building and running Executables (that weren't due to really stupid mistakes, obvious when first run thanks to the Error Line). I've even run these routines on other PCs (particularly the ones that don't depend on attached hardware) after installing the 32-bit Run Time Engine for the appropriate version of LabVIEW on those other PCs.
So here are some suggestions:
Bob Schor