Exec.State and Start Asynchrono​us Call

In my application I like to start a VI asynchronously by pressing a button control. I just want to have one instance of the VI running so I let the caller test if the VI is already running. Unfortunately there seems to be a bug in the Exec.State property if you use it with a VI reference that has been built with a type specifier. It returns always "Running" as state.
I found a workaround by first openening a "normal" reference to the VI, questioning the Exec.State property, closing the reference and opening the "typed" reference. That works like I think it should.
My question: Is this difference in behaviour of the "VI" property node and the "VI Interface Type 1" property node by design or is this a bug in LV 2012 (I have not tested it with another version) ?
Matthias

I just wanted to point out about the very reason of the situation:
These are the options you can read by the Execution State property. As already marked, "Running" indicates that the VI is (at least) reserved for execcution. It does not necessarily mean that the VI is actually executing!
That being said, opening a typified reference to the VI already reserves the VI for running, hence your property node returns this value.
Your workaround seems to be well-thought out and should work in any case. Y already gave another option of handling this situation.
I doubt that there is another, better solution other to these two.
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Start Asynchrono​us Call Reentrant

    I've experimented with the new LV 2011 "Start Asynchronous Call" method on reentrant VIs.  I am able to instantiate multiple clones of the VI, but the input data is not propagated to the clone VI.  I have tried a few different 'options' flags on "Open VI Reference."
    Has anyone else observed this behavior?

    Hello Jonathan,
    This is Andrew Brown, an Applications Engineer from National Instruments. I will be happy to work with you to get the Start Asynchronous Call to recognize your inputs. 
    After examining your provided code and creating an example myself, I found one issue with your code. The only flag you should need to use for Asynchronous Call and Collect is x100. That is based off the Open VI Reference and Asynchronously Calling a VI and Collecting the Results documents located within LabVIEW 2011 Help. If you were going to pass in multiple flags, you would want to use the OR operator ( v ) rather than the AND operator ( ^ ). 
    I attached the example code provided by LabVIEW 2011 within the "Asynch Call and Collect.zip" file.
    Based off that code, I wrote my own example that asynchronously calls a subVI multiple times with different inputs. The code for my example is attached as "Multiple Asynch Calls - Diff Inputs.zip" 
    Please let me know if you are still having issues after working with these examples. Thanks, and have a great day!
    Regards,
    Andrew Brown 
    Applications Engineer
    National Instruments
    Attachments:
    Asynch Call and Collect.zip ‏14 KB
    Multiple Asynch Calls - Diff Inputs.zip ‏15 KB
    Asynchronous Call and Collect.JPG ‏58 KB

  • Start Asynchrono​us Call available on Real-Time or not?

    If I work on code on an RT target the new Start Asyncronous Call nodes do not show up on the Application Control Palette.
    However, LabVIEW does not complain if I trick it to run such a node on RT by adding it while editing it for a Windows target...So, is the asyncronous call supported on RT, or not? Well, it does not seem to behave the way you would expect it to..as far as I've ben able to establish so far, but should it? Will it be fully supported (show up on the palette etc.) later?
    MTO

    I can't comment on whether Asynchronous Call is officially supported on RT in LV 2012 (because I don't know the answer).  However, I've used it extensively on RT, and I haven't experienced any problems.  Keep in mind that dynamically launching background VIs is going to introduce jitter into your RT system, but that is to be expected.
    -Chris M

  • LG Cosmos 2 constantly in "call state" and "data session"

    I have had my LG Cosmos 2 for a little over a year, and starting this summer my battery began losing life and I noticed  that two icons were constantly on my home screen, "In Call State" and "Data Session" I called Verizon several times and ended up resetting my phone entirely. This ended the problem for a while, but over the last two weeks it has been happening again. Now my battery doesn't last a day, I lose calls, and I am annoyed!
    I have data blocked from my plan because I don't use the phone for anything accept for texting and phone calling. I have also attempted to restart my phone, take battery out, update software and roaming capabilities...nothing works. Please Help!!

        Sorry about the trouble with your battery  vzineedhelp & 0asis. SuzyQ did have some helpful suggestions, but I have an idea on what may be the cause to these ghost data and voice sessions. If you have a data block on your account but at some point previously enabled features on your phone like Backup Assistant or Daily Scoop. These programs will attempt to run in the background and may sometimes even seem to wake your phone up without you touching the device because it's trying to (unsuccessfully with the data block in place) connect to data.
    You can turn off Daily scoop messages by simply removing the Data Block by logging into www.vzw.com/spamcontrols and selecting "Manage Service Blocks" then following the steps below:
    Launch Daily Scoop (Media Center > Daily Scoop)
    Select Menu > Options > Verizon Msgs
    Choose 'Off' and 'Save'.
    Repeat the same procedure for Menu > Options > Bonus Msgs
    Backup Assistant is a little trickier since it's pre-installed on the Cosmos. So if it's been set up or the activation was attempted and is trying to communicate with the network, follow the steps at http://bit.ly/Tf0lIo to reset Backup Assistant while the block is in place.
    Once you've ended the Daily Scoop messages and reset Backup Assistant, log back into www.vzw.com/spamcontrols and re-add your data block if you'd like to continue it.
    Keep me posted if you need additional assistance.
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • About C-States and VID

    I have some questions about C-States and about this so-called VID.
    First, what is that VID ? Core Temp shows me the VID, is the same thing with the vcore ?
    I have a 3770k 4.5Ghz 1.2V and if i stress the CPU, in Core Temp VID shows 1.246V
    And i had a picture from the past with my CPU and while he was stressed, and i'm using the same BIOS overclock settings, and in that picture under stress test with prime95 the VID was 1.22V, and now is 1.24V, why is that ?
    And about C-States, if i put C6 State from BIOS, it will affect my CPU performance and every day usage ?
    Because C States brings the CPU when is in idle into a sleeping state, and if the CPU needs to stress he wakes from the C States. This will not affect the CPU ?
    So basically, if i use C2 State while already have a Turbo OC, of 4.5Ghz, will affect the CPU, beying in idle in a C2 state, and then if i need the CPU power, releasing from C2 state, then back to C2 state.
    I mean is safe if i OC for the CPU to be in a C state ? I didn't have any kind of crashes or BSODS.

    Quote from: CalinTM on 23-May-13, 01:53:49
    Today i just saw that prime95 was crashing while he finishes 8K test. I am using the turbo OC, with 4.5Ghz, and all the save features on, except C1E. I use c-states, C2.
    So, prime95 crashed every time, and i could pass intel burn test on very high, 10 loops, but prime crashes.
    So, (i don't use vdroop, its set to auto), for example if i put 1.2V in BIOS and vdroop to 87% prime95 works a bit, but i have in event viewer full of WHEA errors, basically the OS tells that the CPU is unstable.
    So, i don't use vdroop because my CPU can't handle at 4.5Ghz low voltages. I use it on Auto, and putted in BIOS vcore of 1.22V
    So, then in idle it sets to 1.21V or 1.226V, and in stress test it lowers to 1.2V (due to native vdroop), and i find only at 1.2V in full load prime95 passes the 8K test, and going further on into the tests.
    The temps was on the coldest core 67 degrees, and on hottest core (basically the middle cores) 75-78 degrees, but mostly stays at 73-74.
    Also, another question, i have in the C-States section, an Auto and No Limit options, so basically if i select Auto C-States it's selecting C2 state, or every state in auto mode ?
    EDIT: Also i find, about the VID, if i do a multiplier OC, the VID always stays at 1.246V, idle and load. But if i use the turbo oc (multipliers to 45) the VID drops in idle to 0.8V-0.9V
    EDIT 2: BUT, attention in games i can use even lower voltage, and don't have a single problem, crashes or everything, only prime crashes if i dont put his wanted voltage.
    Setting Vdroop to 100% will result in higher CPUV than when it is set to "auto".
    If you change Intel C-states to "no Limits" you will notice that many options disappear. I think that you are disabling the feature when you do this. When it is set to auto the system will select when and how it is implemented. Otherwise you can make the settings yourself.

  • Can we use Perform statement in start routine ,Form and endform.

    Hi,
    Can we use Perform statement in start routine ? Then write the ABAP code between Form and Endform.
    Example : Can I use Perform ABC in start routine. Then define ABC at the end of start routine.
          Form ABC,
          ......<ABAP> code .....
          Endform.

    Hi,
    In BI 7.0 we have start routines defined using Class where you might be able to create your own performs, but in case of BW3.5 Start routines are defined using Form so there I don't think it will allow you to create one more form.
    But you can surely try both the approaches.
    Reards,
    Durgesh.

  • Iphone 4 voice Dial used to work great, but now, I can't get it to recognize voice commands. When i give it a command to call someone, it ends up repeating someone elses name and starts the call. Does anyone know how to solve this problem?

    I have an I phone 4 with 32g.  The voice dial used to work just fine, but now it doesn't recognize the words and ends up saying someone elses name and starts calling the wrong person.  It even won't recognize a number when spoken to it and speaks back and calls the wrong numbers.
    Lately, the phone has really slowed down.  I am not sure if this is the problem.. I have closed all the open apps and deleted any extra picture off the card and extra songs that I have downloaded and the slow problem still exists. 
    Would a reset work to restore the phone to factory settings and if I then resync the phone, would all contacts pictures and songs be restored?
    Ron
    Oklahoma

    What is wrong with your Mac?  You still haven't told us what the problem is. Is the computer still under warranty or Apple Care?
    the next time i attempted to use the computer it wasn't fine
    What do you mean by "wasn't fine".  We can't see your computer so you'll have to describe what your're experiencing in detail without the editorializing.
    Download and run Etrecheck.  Copy and paste the results into your reply. It's a diagnostic tool that was developed by one of the most respected users here in the ASC to help identify the more obvious culprits.

  • Regarding Facetime on my Ipad. I get started on a call and after 10 or 15 minutes I cannot hear whom I am talking to. They can still hear me and I still have picture on the screen but my sound stops working.

    Regarding Facetime on my Ipad. I get started on a call and after 10 or 15 minutes I cannot hear whom I am talking to. They can still hear me and I still have picture on the screen but my sound stops working.

    Why can't we use Acrobat Pro for mobile devices? Save a whole lot of headaches!!! Now I have to return this subscription.

  • My bionic has started having my calls hang up unexpectedly and tries to dial calls during a call by my face touching screen I guess, can I fix it?

    This started about 2 weeks ago, when I get calls they either can't hear me and we gotta call back, or during a call my screen lights up and either my face causes it to hang up or phone does, or it try's to dial another phone number for me, it tried an international number, I can not afford this for sure, but I have cleaned senors and screen per protocol and tried updates.  At the same time my camera started only focusing every now and then, it doesn't alert me for some of my calls and texts randomly, and starts to make a call on its own while it is sitting on a table with no one touching it, is it me and my phone or is others having these issues and can I fix them?

        osubuckeyebest, I am sorry to hear about your phone issues! How long has this been an issue for you? Is there any physical or water damage to the phone? Have you tried to do a master reset on the device http://bit.ly/RFtIqk ?^SP

  • I updated my Iphone4S this week to the newest IOS 7.1 and now everyone who calls me says the calls are not clear, muffled.  Is there something I can do to clear this?  4 people in 4 different states that called me all said the same thing.

    I updated my Iphone4S this week to the newest IOS 7.1 and now everyone who calls me says the calls are not clear, muffled.  Is there something I can do to clear this?  4 people in 4 different states that called me all said the same thing.

    Settings > General > Reset > Reset Network Settings
    Contact the carrier to troubleshoot.

  • Create and Start all SFCs of a ShopOrder with webservice call

    Hi all!
    Is it possible to create and start all SFCs for a given ShopOrder at a operation step with a webservice call?
    At the moment we use start sfc (StartRequestSFC) webservice in combination with Create SFC (DM520) Activity Hook at operation level to create and start single SFCs which works fine. Now we need to automatically create and start all SFCs for a given ShopOrder and later also complete them at the same operation step.
    So ME should create SFCs according to the ShopOrder quantity and start every SFC.
    This works in POD when entering the ShopOrder into the SFC field. Now we need the same functionality for a webservice call..
    Thanks in advance!
    Patrick

    The web service to Start and close SFC are under ProductionService  (Start and Complete)
    You can have multiple SFC in this Web service
    What you can do is to firstly call  ProductionOrderByBasicDataQuery WS (under ProductionOrderProcessingInBinding) which you will get a list of SFCs and then you can use Start and Complete for the list of SFC.
    Hope this help.
    BTW, do you know if there is a way to release ShopOrder per WS? I created shop order per WS but could not find WS for releasing it.
    sengkiang
    Edited by: Seng Kiang Hoe on Oct 11, 2011 5:16 PM

  • I have started getting spammed on multiple Apple products (iPhone and iPad) with FaceTime calls since the recent IOS update.  Is there any feature or sedtting I can use locally to restrict incoming calls to FaceTime without going to the carrier?

    I have started getting spammed on multiple Apple products (iPhone and iPad) with FaceTime calls since the recent IOS update.  Is there any feature or setting I can use locally to restrict incoming calls to a FaceTime account without going to the carrier?

    After calling AT&T tech support one more time, and explaining to them that the glitch was on their network, they admitted that the problem was at their tower...
    I continued to use the phone on EDGE mode for two more days until the problem was fixed.
    I even got a call back from a tech support guy asking me if my phone was working properly....
    I wish they would have admitted to the problem before I sat at the apple store for 2 hours.

  • UCCX 7.0 - Agents in reserved state and calls stuck in CSQ

    Hello all,
    I have got a following issue with our UCCX 7.0 installation - there is a team of agents and some of them intermittently stuck in reserved state for no reason.
    I went to real-time reporting and found lot of calls stuck in CSQ, which I believe is related.
    Other teams (which uses different IVR scripts) are not having these kind of problem - that led me to conclusion that something may actually be wrong with the scirpt itself. I am going to add "dequeue" step before "Goto VOICEMAIL" under transfer menu for all three options, but not quite sure if that is cause and solution for the problem. Could you guys take a quick look on attached script, I might be missing some part of picture here.
    Thank you in advance,
    Peter

    Hi
    Some things to check first:
    1) Agents are not members of pickup groups - this is a common cause of such problems
    2) Do the agents all receive calls sometimes? Are they all in the same partition? Verify that the UCCX CTI ports can call all of the agents...
    3) Check the release notes : http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_7_0/release/notes/uccx701rn.pdf
    There is an 'unsupported actions' section that lists things agents should not do on Page 15 onwards. Pickup is the most problematic of these, but others are very common causes of stuck-in-reserved and stuck calls.... far more common than scripting errors. If in doubt, disable the options (by removing pickup groups from their lines, and assigning a softkey set that doesn't include the listed keys) and see how it goes...
    I've had a quick look over your script and see no major cause for concern.
    Regards
    Aaron
    Please rate helpful posts...

  • Unlimited calls to United States and Canada

    I have had unlimited calls to the United States and Canada for years and have faithfully paid my premiums.
    I would like to know why I cannot make a call to a Canada phone number? Have you changed the way it is done? If so I would be so appreciative of being notified and shown how.
    LaDell Hollenbeck
    *edited for privacy*

    sassie wrote:
    Have you changed the way it is done?
    No change. +1 xxx xxx xxxx
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • CAD Real Time Stats show NA for agent state and call log

    Hello
    For our lab uccx, the agent/users CAD display shows NA for the agent state and call log.  I have
    Not Ready and Log out codes set and have the testers do those actions to generate data.
    I have rebooted the server and have also checked the services page and confirmed
    all the services are running.
    I went through the admin guide to see if I missed any configuration but does not appear so.
    I tried launching the real time stats tool from the UCCX Admin and it launches OK
    but I noticed that it shows not connected.
    Note this is over a VPN to the UCCX.
    So not sure if this is related.  I checked the relase notes and this is the base install
    of UCCX 8.5.  I am going to install the service updates but wanted to see if I can
    get this running before I schedule a maint window to do the upgrades.
    Thanks
    Mike Kana

    Hi
    you might be facing an issue where " uccxcaduser password" gets corrupted , which leads to the issue you are facing right now
    you have to contact TAC to reset that password for you and your issue will be fixed ,100%
    Note : Only TAC can reset this password

Maybe you are looking for

  • How to access my itune account on someone else's computer

    How can I access my itune account on a computer that is not mine.

  • Runtime error c++ w elements 9

    when i attempt to open the organizer i get a popup "microsoft visual c++ runtime library, application has requested the runtime to terminate it in an unusual way.  please contact the applications support team for more information."  HELP!  i am able

  • Time on battery check

    Is there a way I can see how long the laptop has been running on battery? This is different than seeing an estimate how long the laptop can run on the battery.

  • Why does the latest version of HP Support Assistant crash every time I try to use it?

    I have an HP 6730f desktop with Windows 7 preinstalled.  Recently, I was advised to upgrade the HP Support Assistant program by HP through an update message.  Upon doing so, I am unable to start the program without an error message that states that a

  • Flash Catalyst doesn`t recognize installed fonts

    Hi folks, got a little problem with my fonts inside of Catalyst 5.0 (working on Windows 7 64 bit prof.) I have a bunch of font-families installed on my system (Eurostile Font and DIN-Font) and these fonts are not recognize by Catalyst. I did some pag