Run VI GUI, don't wait for it
Hello. I'm using Labview 9.03f. I have a loop of events that deals with the interaction of the user. When the user selects a menu item, I want to run a VI that has its own UI, but I don't want to wait until she finishes execution (to be held until all of the interaction of the user). Basically, I want the new VI floating on top, but the user to always be able to interact with the main GUI.
I'm looking by using a reference of VI with the RunVI method, and wait until a parameter set to false. What is the right way to go on this subject?
Thank you!
psssttt...
Ref call will wait for the vi calng to return.
You can use the invoke node ctrl val.set method to pass data before starting.
Ben
PS I made this capture for the granddaughter of screen but I never thought there ' All so with me giving license might help.
Tags: NI Software
Similar Questions
-
wait for a function at the end
Hello!
I work with Flex and remote objects (Java Classes). The problem I have is: don't wait for the action for the return of a function script. I mean:
value = loginRO.Login (idField.text, passwordField.text, message);If (value == 1) {}
connectionState.text = "CONNECTED";
messageState.text = message;
}
else {}
connectionState.text = "NOT CONNECTED";
mx.controls.Alert.show ("there was an error trying to connect","CONNECTION FAILED" ");
messageState.text = message;
}If the connection is successful you will get a '1' of the call and '0' in other cases. But the flex code still shows the "else" because it does not wait for the function "login" at the end of its execution. What should I do?
Internet connections are always asychronous in Flex, so we can't have any other code expects a frequency.
You should have the code or function that is executed/called in the your RemoteObject result handler.
If this post answers your question or assistance, please mark it as such.
-
Don't want to wait for the results of the query
Hello world.
I'm on CF 7 and SQL Server 2005.
I call a procedure stored through my CF code. The process can potentially take an hour or two to run. I would like the proc run on SQL Server, but don't want my page of FC wait for the results before we continue, I want just the code that follows the proc will run while the database server do it is something silently in the background. Is it possible to do this?
Thank youYou could try to create a job that calls your long-term stored procedure. In the CF, call the sp_start_job system stored procedure to start your work. I think sp_start_job returns at the start of the task, not when the work is complete, but you will need to test this.
http://msdn.Microsoft.com/en-us/library/ms186757 (SQL.90) .aspx
-
While the closure of the pc I got the message: "1 program still needs to be closed: (pending of) task host window's task to stop execution and stop tasks that are already running".but there is no program running and I have to force it to close.how to solve?
Hello
Thank you for contacting Microsoft Community.Windows, then closing, checks all open programs. If there is, it sends a request for the program to close and wait until the program closes safely, to avoid any loss of data. But, Windows is waiting for some specifiedIf you are sure that none of the programs are obviously open, you can try the following steps:Press Windows key + r, Type regedit and pres enter. If UAC prompts, click Yes. Go to HKEY_LOCAL_MACHINE-> expand System-> expand CurrentControlSet-> click on command (exapnd no do this). When you click (or select) control, you can see WaitToKillServiceTimeout. Double-click it to change the value. Set the value to 500 or less than that. Click Ok, and then close the registry editor. Now, restart the PC. If the problem persists, stop and try again and check.Be careful with registry access as incorrect values or remove the unknown keys can prevent Windows to start and it will fix it.Response if the issue is not resolved. -
They sent me a serial number for a windows version of PS Elements when I ordered a mac version. The serial number does not work, it is not surprising, but they don' t seem to care. I tried the online chat and have been waiting for almost a day unanswered. What should I do?
Look here
-
Adobe Application Manager already running. Wait for it to finish - HOW FIX?
I tried to uninstall/cleaner tool for AAM... nothing helps. Tried to uninstall older versions of Photoshop to replace it with the new CC (which now I have no. installed PHOTOSHOP and I need!) and nothing has worked. I continually get "handler Application already running. Please wait for it to complete, and then try again. (11)"
Help, please
Hi sheakucenski,
What operating system are you using. In the case of Win 7 Please activate the hidden administrator account: http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista / and try to install.
Please let us know if it worked.
Kind regards
Romit Sinha
-
Script queue CM with output for allocated, running and waiting for process
Hi all
Could someone please share the script which gives the result as below:
Script Manager simultaneous tail with output for allocated, running and waiting for processes within a single script.
Thanks for your time!
Kind regardsYou can find a lot of scripts in the old nets.
Simultaneous treatment - what are the meanings of the Codes in the STATUS_CODE and the PHASE_CODE FND_CONCURRENT_REQUESTS Table columns? [152209.1 ID]
ANALYZEPENDING. SQL - analyze all applications pending [134033.1 ID]https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+query&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+time&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+STATUS_CODE&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+PHASE_CODE&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001Thank you
Hussein -
Why aren't the help files for items held locally on the computer? It seems that I have to wait for a download, whenever I have access to the help system. If they need, updated regularly, we will be updating at the same time - at my convenience?
You can get the manuals for the editor and organizer in pdf format and save them locally in your downloads.
https://helpx.Adobe.com/PDF/Photoshop-elements_reference.PDF
https://helpx.Adobe.com/PDF/elements-organizer_reference.PDF
-
GSS stuck "waiting for configuration data.
One of my clients have 2 GSS 4900 running ver 4.1 (1)
I can't get the ESG service works properly in a secondary gssm running. Gssm service looks like it starts but if I check "gss status" och "Show System State" that it is awaiting configuration data
MNT - GSS - 002.nt.se #show - system status
Standby GSS - 4.1 (1) GSSM - Cisco [Mar 12 Nov 16:10:21 UTC 2013]
Recorded in primary GSSM: 10.16.0.15
Component waiting for data routing configuration (wait a minute). [runmode = 3]
START THE SERVER
16:01 Config agent (crdirector)
16:01 Config Server (crm)
16:01 Database
16:01 GUI Server (tomcat)
16:01, Node Manager
16:01 webserver (apache)
Ping works fine between the GSS: are and there is no firewall involved (both are located on the same ip subnet).
I did stop gss and then start gss. Waited for 24 hours, but the situation is the same.
If I'm running tcpdump on the secondary, I see TCP traffic and UDP between the primary and the secondary, although all UDP packets have a warning of incorrect checksum.
I have no idea on how to t-shoot, that. Should I do gss disable, remove this gss of the primary gssm and enable gss again in the secondary?
Notice to lovers?
Hello
There seems to be a communication problem. You can do the following and see if the GSS is going to runmode = 5.
On the standby: gss stop gss disable Then, go into the GUI of the GSSM and delete the standby GSS from the resources tab Then go to standby: gss enable gssm-standby x.x.x.x (IP of primary )
Then in the GUI of primary GSSM, you will again see the standby in the resources tab. Click on it, and check on the activate button, then hit submit. Make sure the standby goes to runmode 5 under "gss status" output.
If this doesn't work then you can try the below:
Go to the GUI of the GSSM and delete the standby GSS from the resources tab. On the standby: gss stop restore-factory-defaults Make sure you have a console connection so you can do the initial config on the Standby GSS (add IP, etc). Once done, enter standby:
gss enable gssm-standby x.x.x.x Then in the GUI of primary GSSM, you will again see the standby in the resources tab.
Click on it, and check on the activate button, then hit submit. Make sure the standby goes to runmode 5.
Kind regards
Kanwal
-
"waiting for encrypted google" does not allow me to open a Web site
When I try to open lifenews.com, which I visited many times, there is a message saying left down "waiting for encrypted google." I don't even use google chrome? I don't know where to go to get rid of it, I don't want nothing blocked unless I specifically ask to be blocked. I did the research, said it's a blur, said another security settings to uncheck the ssl2 and ssl3. Nothing works. Can someone tell me please how to remove this thing waiting for encrypted google.
You said blur, which is an add-on. Use the blur, or any extension of similar content filtering? If you think one of them might be the problem, you can test Firefox Safe mode. It is a standard diagnostic tool to disable extensions, hardware acceleration, and a few other advanced features of Firefox.
Does not work if Firefox: Hold down the SHIFT key when you start Firefox.
If Firefox is running: You can restart Firefox in Mode safe mode using either:
- button "3-bar" menu > "?" button > restart with disabled modules
- Help menu > restart with disabled modules
and OK reboot.
Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).
Any improvement?
-
Hello
I developed an application to detect interruptions generated by an electronic card and act accordingly. The program was developed in labview, but she calls a dll; created with labwindows. The dll is scheduled to open the visa communication, select the events and install the interrupt handler and when an interruption is detected, it reads the value of the different registers of the map and returns to labview to view.
The problem is that when the program expects an interruption, a prompt appears with the message "Waiting for real-time (RT PXI target) real answer" and the only option I have is to click on the button to disconnect the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application view data as it was planned.
To wait for the following code the interruption has been programmed into the function:
While (flag == 0)
{
Sleep (1000);
}
When an interruption occurs, the value of flag set to 1 and function continues without any problem. I am not really sure, but here is probably the problem and it probably isn't the best way to wait for a break because the sleep function suspends the thread to the configured time, but at least the load calculation in the PXI is between 0 and 1%. I was wondering if anyone knows how to wait for a break without 'lost' communication with PXI and if there is a better way to do it.
Any response will be welcome and thank you for them,
Jaime
Hey there.
You see problems with connectivity it's because the thread by DEFAULT CallLibrary nodes running in is the UI (UI) thread - UI thread manages also the important things like, say, communications (especially all the connections for the VI server) and other things that you could run all the time. A CallLibraryNode is not, by default, intended to be used to execute code that runs for a long period of time. If you want to do this, you assign the execution of the CallLibrary node to run in the context of a LabVIEW run-time engine thread (by selecting to make it work "in any thread") and not the UI thread. This can be done through the properties of the CallLibraryNode. By selecting "run in any thread" the call DLL will be generally in the context of the thread running in the run LabVIEW, which is usually what is meant when even. The VI CallLibraryNode color change of Orange (UI) to blue (LabVIEW thread) so that you can quickly tell what context the appeal will be in.
The reason the interface thread user is the default thread is because most often DLLS calls need to be serialized (because of functions is not not thread-safe) and so it serves to protect the integrity of the system. However, if you know your threads are thread-safe, or you will use these threads for a while, it is best to program the CallLibraryNode to use a Thread of LabVIEW execution rather than the UI thread.
For more information on this review on these pages:
https://decibel.NI.com/content/docs/doc-9069
http://zone.NI.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/configuring_the_clf_node/
DLL' happy ing.
-Danny
-
Work with labview ARM and it was working fine this morning. I went to run a program and the build failed with the following message.
[13: 34:50] status: error
An unexpected error has occurred.[Source: the timeout of waiting for an answer]
Internal error UVSC
Detail: [UVSC_PRJ_LOAD, MSG: 0x1000, STATUS:]
[0x1] code: 1]Did normal things as restart the computer. Plug and unplug the Board of Directors of the computer.
I tried to reinstall the whole arm labview and it does not work.
Even from labview so you go to tools > ARM > show keil does not work either. I can open keil in itself, but it doesn't seem to be communicating with labview.
Figured it out. Somehow the projects I was working on has been corrupted somehow. After another reinstalled, I opened a sample project, not one of the many that are mine, and it worked. I had copy and past the code on the project and in a new, but it works. Don't know how my projects I screwed up in the middle of work on them.
Now, back to actually do the work.
-
Windows 7 Edition Home Premium or wait for Windows 8
Hello
My six year, Sony's all-in-one PC is running slower and slower despite the developed and needs to be replaced this year. My dilemma is whether to replace now, probably with a laptop with screen 17.3 inch under Windows 7 Home Premium or wait for Windows 8 released. To use PC home and I'm a relatively unsohisticated user. Any advice much appreciated.
Before getting a new laptop or PC, check their website to see if they already Win8 pilots. If so and you want something that looks like XP, I'd go for scope Win7 in time Win8 once it is released. A lot of the manufacturer may offer a "anytime upgrade" of Win7 for Win8 with the purchase of their product. Dell and others who did when Win7 is out; you buy a PC with XP installed, and you could get the upgrade later for a reduced price (and in some cases, free).
I tried Win8 consumer Preview and really don't care for her. I'm not an iPad or iPhone user (I use my cell phone as a phone, not a computer), so I'm not all that familiar with the concept of full tile to do things. Give me a Start Menu and I'm happy :-)
Of course, these are just my opinions, and I don't know there are many others who will be either agree or disagree with me, and that's ok. Diversity is what keeps life interesting :-)
SC Tom
-
Original title: Vista 32 bit system. slow!
Office system Vista, have a delay in all functions. start-up, connection, IE internet, opening files. I seem to get a "waiting for..." at the bottom of the screen and a green line appearing across the top of the window when I'm waiting - whatever that means? Have upped the ram 4 GB - no change. runing ie7 to present, took 37sec to open the Web site to report this issue? All ideas, we will wait for you
I was running another program to search for spyware, if you haven't done so already. In addition, launch your AV software
Did you ever reinstalled your OS from Vista running on your system? If you have a Windows Vista OEM preinstalled on your system and you have an external hard drive, it wouldn't hurt to go back to factory settings and transfer your data on. You would eliminate several possible culprits in your system running slow.
-
black clock and found Web site, waiting for response
I am a tech support consultant, have more than 30 years in the it industry and this is the first problem, I was not able to solve, eventually. I have a sound system, I'm sure that it is clean but still encounter a problem that is often discussed on the net but never resolved tne.
Version of Vista-home. If I'm connected wireless or wired, browsers stop working. It works sometimes for hours before failure and other times, as soon as I switch on / log. Internet connection information indicates everything is OK, but the little black clock on the status bar of the IE browser appear with the text "site found, waiting for response. The only solution is to reboot - and you never know how long that will last either.
One thing I've discovered recently: I started using FireFox... and it crashes saying simply 'arrested' on the status bar. I can close Firefox, switch to IE and continue browsing for awhile until he gets the black clock and the site found, waiting for response.
I have NO IDEA what section to post this in... the only thing I have not tweaked in my Vista system is the "running, stopped or other Services.
Dell XPS m1330 is based on what I saw in other forums, that has nothing to do with it. Help, please!
Thanks - in advance for your answer.
MrsDThompson
http://www.Knoppix.NET MS - MVP - Elephant Boy computers - don't panic!
Maybe you are looking for
-
no details
-
Printer rejects the WPA password
My HP Envy 4500 worked very well without any hiccups until three days ago, when she refused the WPA password he used throughout. I checked that the password still works with my other devices by making them forget the network, then join. No problems
-
Strange noise coming out of my Satellite L40
I noticed two times a strange noise coming out of my Satellite L40On one or two seconds, there was a sound that sounded like the noise that you hear when you use a dial analog modem and try to connect. He came out of the blue and I use a DSL wireless
-
Since the last update of Win 7 in the last week, I get an error on AccelerometerSt.exe is unable to start up. I guess that's the HP 3D DriveGuard show. How can I get the program re - install? Thank you!
-
My Aspire 5253 series does not illuminate. I need to replace the battery or the power supply? Or both?