LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

source control prompt halts execution, can I stop this behavior?

Hello,
We are using perforce with Labview 8.2.  We are trying to run extended test cycles ranging up to 72 hours continuous run.  When source control is configured in labview, and the perforce login times out (after 10  hours or so), it forces labview to bring up a prompt to log back into source control.  When this happens, execution stops.  I know this because when I hit cancel on the perforce login prompt in the morning, execution resumes.  At the same time, we need source control configured because a few of our configuration tools need source control configured, because we are using the source control vi's in a few places to automate check out/in.  Is there a way to get around the behavior of labview halting execution when the perforce prompt to log back in comes up?


Thanks
David Jenkinson
0 Kudos
Message 1 of 4
(2,935 Views)
Hi David,
 
Have you tried the Suppress prompting dialog boxes checkbox.  I haven't tried it over long period of times, but here is some documentation for it:
It does specifically say "This option is useful if you do not want dialog boxes to interrupt programmatic operations."
Brian K.
0 Kudos
Message 2 of 4
(2,911 Views)
Hello,
That "supress dialog box" option only appears when "Perforce Command Line" is chosen for source control.  We have "Perforce SCM" chosen, because we are using the source control vi's under the connectivity/source control palatte to automated source control in several of our programs.  These vis do not seem to work when choosing perforce command line.

So you see we are in somewhat of a dilemma.  We've worked around the problem temporarily by making our perforce logins an infinite timeout, but that has caused problems of it's own.  One person would inadvertently check out a vi under someone elses login, causing a chain reaction of issues.  We'd like to set the login timeout back the way it was. 

Why is there no corresponding "supress dialog box" option when choosing "perforce SCM"?  This seems like it would solve our problem, and would let us also use our source control vis.

So the root of the issue continues to be labview halting execution when the login times out, when using "perforce SCM" as source control.  Is there any other way to address this issue?

Thanks
0 Kudos
Message 3 of 4
(2,872 Views)
David-

I've been doing some checking into why the SCM option does not contain the suppress dialog option. The Perforce Command Line SCC contains some additional options because it is a custom interface. Is it possible to set an infinite timeout for a specific login so that you are not prompted to log back in?

Another option would be to run a parallel process that waits for the login dialog and automatically logs you back in (this would be similar to what the perofrce command line is most likely doing).

Xaq
0 Kudos
Message 4 of 4
(2,851 Views)