Passing the data change to Subvi through reference: always newest lack input value

Hello world

I'm having a problem that I can not find the solution. I searched the forum and google, but I couldn't find an explanation. I hope you can help!

In the attached draft, there is the "main.vi", which I use to control an industrial manufacturin mashine. On the façade, I have a group called "manual control". Whenever I have change a value in the cluster, an event is triggered to run the case 'hands-on' in the 'Wirbelschicht_main.vi' [called 'FBC (control of fluidized bed)' in the pattern-block main.vi]. In this case, the data in the cluster are updated via a reference. The order run "Manual control" case is placed in a queue.

When I change the value of, for example, "InAirTempSet" from 0 to 5, then from 5 to 9, I would expect numbers in the Subvi update in the same way (first from 0 to 5 and with the next click 5 to 9). What I see is that the update process in the subviis always one not behind. Which means, I change the value from 0 to 5 in the main.vi and nothing happens. Then I change the number of 9 and 5 in the Subvi, 5 is received. Only when I change the number in the main.vi again, the 9 is passed to the Subvi.

What is the reason for this and how can I fix?

Thank you!

Qbach

It is the expected behavior. You read the reference control value at the same time waiting for the order to the queue. This means that once the queue ("hands-on") command is received, the value has been already read a long time ago.

To avoid race conditions, transmit the data using the queue instead of read it asynchronuously with nodes of property. You are running in a race condition here, because that's exactly what your code tells the application to do!

Norbert

Tags: NI Software

Similar Questions

  • When waking from sleep, the date changes to 2029

    Sometimes when my computer wakes up from being asleep, the date changes until 2029.  The month and day are the same, but the changes of the year.  I then have to set manually the date, the automatically sync with windows server doesn't fix it.  Its really annoying because then my anti-virus thinks its out of date as well as the update of windows.  My internet browser also has security due to date problems.  I can not understand what causes the date change 2029!

    Hello Nevik09,

    A possibility is that the CMOS battery is out. Did you replace the battery to determine if it could be a cause?

    Also, take a look at this thread on Technet for another possible solution. http://social.technet.Microsoft.com/forums/en/w7itprogeneral/thread/9d180368-35ee-4334-9cce-cd2b2c7f1f2a

    Hope this helps

    Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Pass the data XML Captivate through a Widget

    Hi all

    I use widgetfactory API to create my setup.

    I have a flash file Widget that reads the XML data and passes the variables in Captivate.

    However, I can not set the text box with the variable that I analyzed the XML data.  Any suggestions are appreciated!

    ////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

    package

    {

    widgetfactory Import. StaticWidget;

    Import widgetfactory.events.WidgetEvent;

    com.adobe.captivate.events import. *;

    com.adobe.captivate.widgets import. *;

    import flash.events. *;

    import flash.display. *;

    flash.net import. *;

    public class load_lang extends StaticWidget

    {

    override protected function enterRuntime (): void

    {

    var myRoot:MovieClip = MovieClip (root);

    var mainmov:MovieClip = MovieClip (myRoot.parent.root);

    mainmov.text_00 = "This works very well.";

    var myXML:XML;

    var myLoader:URLLoader = new URLLoader();

    myLoader.load (new URLRequest ("languages.xml"));

    myLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(e:Event):void {}

    myXML = new XML (e.target.data);

    var myRoot:MovieClip = MovieClip (root);

    var mainmov:MovieClip = MovieClip (myRoot.parent.root);

    mainmov.text_01 = myXML.slide [0] .textbox [1]; It does NOT work

    }

    }

    }

    }

    ////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////

    Hi osbornsm,

    Try the above suggestion of Jim, but if this does not work then what probably is the widget is trying to load the languages.xml but can't find it. You will need to make sure that it is placed in the output directory of the Captivate file published to operate. Even in this case, you will not be able to make it work when previewing the movie.

    Probably a better way to go about this would be the XML file into your SWF widget. In this way the widget won't need to load. This is how you would integrate it:

    package

    {

    public class load_lang extends StaticWidget

    {

    [Embed ("path-to-file/languages.xml", mimeType = "application/octet-stream")]

    private var BinaryData: Class;

    override protected function enterRuntime (): void

    {

    var byteArray:ByteArray = new BinaryData();

    var myXML:XML = new XML (byteArray.readUTFBytes (byteArray.length));

    Continue to the processXML() code

    }

    }

    }

  • Messages received during the date change, now stuck with them

    Hello, this is a stupid thing.

    I changed my date in the coming months with impatience and received messages from a friend. Now, I have these blocked as the latest messages and after I change the date back to normal, that I have to scroll up to actually see these last posts. How can I fix it without deleting the history? It is a little messed up and to wait for a period of two months to make them disappear is a big hassle, because now it is very inappropriate to use.

    The only alternative is to try to delete misplaced messages or correct their NICU SQLite editor timestamp.

    http://community.Skype.com/T5/the-Skype-lounge/delete-a-conversation/m-p/743928#M56527

    http://community.Skype.com/T5/Windows-archive/accidentally-changed-computer-date-chat-messages-are-n...

  • Why can't pass the data on applications for some?

    I had this problem for months and I can't activate the data for all the apps I actually use. So now I can't all I can't even see where the nearest ice cream store is at Kansas or download the latest music in iTunes or even to get the news. iOS 9 or up idk. Why???!?!?!?!!!?!??

    Is there a Restriction on the cellular data settings change? Settings/general/Restrictions.

  • It is April 2013, so why the date change to January 2002 it is restarted each time?

    Why my computer keep changing the date of January 2002 it is restarted each time?   Several times I manually put it in April 2013 with time zone (GMT-05:00) Eastern time (United States and Canada &).  But on reboot it goes back to the year 2002.  I have Windows XP Home edition.

    Oh no! I had not thought of that. If the default BIOS is happened to run on now.  Once I replaced the c - mos battery should I search and download a BIOS update?

    More modern computers don't need a battery to maintain their settings or be reconfigured when the battery is changed.  That's why this battery is more precisely called the RTC (Real Time Clock) battery.

    It is sometimes known as the CMOS battery because it is the type of memory (Complementary Metal Oxide Semiconductor) in what settings that the BIOS needs used to be saved.  Nowadays, these settings are saved in another type of 'no volatile random access memory' (NVRAM memory) that does not need a battery to maintain memory.

    In the old days (maybe also recently when Win95 was running), electronics is not able to detect the type of HDD to use (and possibly other materials) and configurations should be set manually. Because the CMOS memory does need a battery to maintain, when the battery is dead, you need to reset these configurations.

  • time of my laptop and the dates change

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi nijuscaria,

    1. don't you make changes before the show?

    In addition to the suggestion of Palcouk:
    We recommend that you check if the time system is properly set in the BIOS (Basic Input/output System) and check correct time Windows settings.
    Step 1: Correct the settings of date and time of the BIOS
    a. see question ' "How can I access my computer BIOS?".
    b. correct the time and date
    c. save the settings and exit the BIOS.

    Note: Be careful when you change the BIOS settings. The BIOS interface is designed for advanced users, and it is possible to change a setting that can prevent your computer from starting properly.

    Step 2: Set the clock and synchronize the clock of your computer with a time server Internet
    a. see set the clock

    Note: If your time zone observes daylight saving time and you want your computer clock to be adjusted automatically when the time changes, make sure you adjust the clock for daylight saving time is checked.

    Step 3: If the problem persists, run Microsoft fix and check the result
    a. see the common system maintenance tasks
    b. click Run Now button and run the tool successfully.
    c. restart the computer and check if the problem persists.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When refreshing a movie thumbnail 13 adobe Photoshop elements the date changes

    When updating saving the metadata file info in adobe Photoshop elements 13 organizer on a movie thumbnail the date will change to a different/wrong date. Any suggestions to get it to read the correct metadata on a movie (MOV) file.

    fader5 wrote:

    When updating saving the metadata file info in adobe Photoshop elements 13 organizer on a movie thumbnail the date will change to a different/wrong date. Any suggestions to get it to read the correct metadata on a movie (MOV) file.

    The problem with movie files, is that the "date taken" is not recorded by the camera in a metadata section. Therefore, the Organizer assumes "creation date" returned by the computer OS must be used. You can change (update) the "date taken" in the Organizer so that the catalog keeps information you entered in the catalogue.

  • Overview of the data in environmental assessments through different essbase servers

    Hi all


    We are on 11.1.2.3 of the EMP. In our EAS Prod, I signed up using my ID AD user and added the two (prod one, a dev) essbase servers on the essbase server list. I was able to add two essbase servers successfully. Now, when I spotted the cube in dev data it gives me the error "cannot connect to the olap service. Unable to connect to the Essbase server. "Error: Essbase Error (1051293): connection fails due to invalid credentials". This may not be true because I wouldn't be able to expand the list of servers essbase and drill down to the database in order to preview if the credentials were wrong. Also I am able to see the contours and Calc scripts very well. I am able to get an overview of the data on the cube prod very well.

    Now, the same thing happens when I try to preview data into essbase cube prod from Dev EAS. Which means can't preview data only on the server dev essbase cubes from dev EAS and when I try to get an overview of the data on a cube of prod from Dev EAS I get the same error of invalid login credentials.

    Could someone please help me understand if this is a bug or if this is how they intended to work? Because we have just upgraded to 11.1.1.4 and we managed to get an overview of the data in any essbase server any EAS service, we used.

    No SSL or Single Sign-on, were used. Only Active Directory credentials. It only happens with an AD ID and not a native directory ID. Please suggest on how this can be fixed.

    Thank you

    Ted.

    I logged this with Oracle and here is their answer copy / pasted

    "

    The problem that you have declared in the RS is a desired behavior. This behaviour was observed in the latest versions, only 11.1.2.x.

    In the previous version we can get an overview of the data for any Essbase server added to any console of regional service.

    But environmental form 11.1.2.x this behavior has been changed.

    We checked with the development on this more team early, and according to the development team, this is a behavior of design.

    As dev environment and Prod environment have different registers, the data preview would work if Dev Essbase server added to the Dev EAS only. as the same is valid for the production or test environments.

    Because same problem has been reported earlier, we train support raised a bug with the development team after the issue of reproduction.

    But the development team did not have this accepted as bug that this behavior is by design.

    Later, we changed this bug at a request of enchantment with the development team to change this behavior.

    Bug 14622693 - OVERVIEW OF THE ESSBASE REMOTE FAILURE HOST DATA when it is CONNECTED TO EAS

    If this improvement asked gets approved by the development team, so it would be integrated in the future release him.

    Thank you

    Ted.

  • The date change Creative Cloud subscription is paid

    I want to know how I would go about changing the date of the registered address for my subscription to creative cloud is taken from my account. This is due to financial problems which means I wouldn't be able to follow the subscription payments unless I am able to change the date of my payment (my salary falls on a clumsy). I contacted costomer support by live chat and got no useful or interesting response. Someone help me please, I need creative cloud for my uni course!

    Hi Beth

    Yes, it's fine.

    I canceled your current plan you will still have access until you start the new plan 18.

    I'll process a refund for the days not used from March 18 - April 3 = 17 days = £8,71

    Thank you

    Bev

  • See the popup message if the data changes while moving to the other screen

    Hello

    We use Jdeveloper 11.1.1.4.0.
    If the data is changed on the page current and without clicking the button Save, we show a message like "do you want to save the changed data.
    while navigating to another page or by closing the browser.

    How do we get to know if the data is changed or not?

    Kind regards
    Vijay

    Published by: Christian Pat December 1, 2011 22:35

    Hello

    There is one off the behavior of the box that includes unvalidated data when you exit the page.

    This is the behavior of the uncommitted data

    http://www.Oracle.com/technetwork/developer-tools/ADF/unsaveddatawarning-100139.html

    However, it is a warning that will commit all the values.

    To do this, you must do it manually, as far as I know of course.
    One way is to get the application Module, get the Transaction and check if she isDirty.
    If this is the case, displays a context menu that is customized with what you want.

    You can apply that in all cases you want navigation.

    Kind regards
    Dimitris.

  • The date changes for 2009.

    I have a Toshiba laptop, whenever it restarts, the date becomes 2009 and in the bios, it is still 2010. have a solution to this problem.

    Hi ahmed,.

    just Re-insert your disk and rebuild your system by making and upgrade

    hope this helps

    your

    Ashley

  • How to pass the date range as in URL filter go

    Hello

    I am trying to build a Url go that has two filters, date range & text. I built the url below, but he continues to throw an error. The url is not from the date max and the app starts following error:

    Error: Status: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 46048] Month DateTime value 0 0000-00-00 is off limits. (HY000)

    Go to Url: https:companyUrl? GB & Options = rfd & Path = / shared/CompanyID/link & P0 = 2 & P1 = eq & P2=CustomObject4.%22Indexed%20Pick%201%22 & P3 = Leasing & bet = P4 & P5 = ""-CustomObject4 Custom Attributes '. " ZDate_26 & P6 = 2 + Date % 20'2014-08-01'+ day % 20'2014-12-31'


    Please suggest.

    Thank you
    Kiran.

    It seems that you convert the data type of char to date in the URL, I don't think that this is possible.
    Your code is like
    & P6 = 2 + Date % 20'2014-08-01'+ day % 20'2014-12-31'

    It suppose to be & P6 = 2 + 2014-08-01 + 2014-12-31

    I suggest doing the formatting for this filed using column properties and try.

    Hope this help, pls mark if yes ;)

  • Pass the data store VM 1-2

    What is the way easiest and safest to move a stored under Data Store 1 above to Data Store 2 virtual machine?

    Thank you.

    As long as the host can access the two data store, you can either use the CLI if you are uncomfortable or that you use the VI Client.

    For the VI Client, you would just connect directly to the host and click on the summary for the host tab. You see your data store to the right, double click on the data store that currently contains the virtual machine that you want to move and make sure that it is turned off. You can right click on your VM directory and you have an option to move and simply select the data store that you want to go to.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    http://Twitter.com/lamw

  • Windows will not update - "the location where updates WIndows stores the data changed.... »

    original title: windows will not update - please help

    I get the message "where Windows Update stores data has changed and should be repaired" How can I change this so that I can update my computer?

    How to reset the Windows Updates components?

    http://support.Microsoft.com/kb/971058>

    Download and Save the fix it 50202 from the page above.

    Close all the open browsers and programs prior to execution of the fix it.

    Since the downloads fail, when run you the fix it choose its default mode when you run it the first time.

    When he finished, check if download updates now.

    If the updates are still not download after you run it, then run it again and choose his Aggressive mode.

    Then reboot and see if the download updates now.

    UTC/GMT is 19:07 Monday, December 26, 2011

Maybe you are looking for

  • virus Malware on my Iphone 5

    I was search the web yesterday and an alert out said I had a spy virus of malware on my phone.  Now, safari will not change and is enclosed in it.  I restarted my phone several times even a hard reboot with no luck in my phone back to normal.  This p

  • Tecra S2 video input

    How can I put on a video input on my Tecra S2. I want to play Xbox 360 in HD on my laptop. Is this possible? Maybe there is a docking station or something like that.Hope someone can help meGreetz

  • Cannot install Windows 8. Freezes at "prepare 2%." HP Pavilion dv6-6104ea PC

    I have a HP Pavilion dv6-6104ea Entertainment Notebook PC. At the moment, I have Windows 7 Home Premium (64 bit) installed. I am trying to install Windows 8 Pro. It gets as far to 'Preparing 2% ' in the installation, and then it just hangs. The stop

  • DeskJet 932C

    My old DeskJet 932C printer will not work with my laptop Toshiba Satellite L675?

  • Impossible to install secondary os

    I installed windows 7, I want to install windows 8 on the same drive, another drive, I have 30 GB unallocated space, I am unable to create this partition that requires the installation of secondary operating system. Please help me to create the prima