Can LabVIEW global variables be shared between UUT sequence steps in the parallel sequence model?

Sorry for this simple question,  I'm having a hard time finding this answer.
If I launch a sequence to run on two UUTs in the parallel sequence module,   can I get both UUTs to run LabVIEW vis that use global variables such that :
1) UUT 0  executes 20 LabVIEW Vi  steps asynchronously,  5 of which access data from LabVIEW global variables A, B, C (Strings)
2) UUT 0 executes the same 20 LabVIEW based steps asynchronously  5 of which access data from then same LabVIEW global variables A, B, C (Strings)
I am a little worried that using file globals may have some delays or more of a race condition than using native LabVIEW global variables like in a single labview application perform.  
QUESTION 2:  Are file globals actually written to the hard drive and shared between parallel sequences through file transfer?  OR  are they in memory?
Brad Whaley
LabVIEW Certified Engineer

Hi bdwhaley,
Are your parallel sequences only reading from the global variable? Or are they writing to the variable as well? If it is just reading, then you should be okay. File globals are read from memory. Every time they are read, a copy of the data is made in memory.
Humphrey H.
Applications Engineer
National Instruments

Similar Messages

  • How to build labview global variable into dll?And how to use it in vc++ program?

    Hi!
       I want to build labview application into dll and use vc++ to call it.The labview program is a little complex,for it has many interface to vc++ and has while loop in it.When I use vc++ to call it,I must use vc++ to do other things.That is to say,vc++ creates a new thread to provide for the labview dll to run.the vc main thread goes on to other things.But the vc++ main thread must communicate with the labview dll by setting its inputs' parameters and get the results of running labview dll.Can you advise me how to realize it?
       I think global variable of labview could be useful when realizing the communication betweeb vc thread and labview dll.So I want to ask whether the labview global variable could also be built into dll and use it.Could you please tell me how to realize my idea?
       Thank you!

    [email protected] wrote:
    Hi!
    I want to build labview application into dll and use vc++ to call
    it.The labview program is a little complex,for it has many interface to
    vc++ and has while loop in it.When I use vc++ to call it,I must use
    vc++ to do other things.That is to say,vc++ creates a new thread to
    provide for the labview dll to run.the vc main thread goes on to other
    things.But the vc++ main thread must communicate with the labview dll
    by setting its inputs' parameters and get the results of running
    labview dll.Can you advise me how to realize it?
       I
    think global variable of labview could be useful when realizing the
    communication betweeb vc thread and labview dll.So I want to ask
    whether the labview global variable could also be built into dll and
    use it.Could you please tell me how to realize my idea?
       Thank you!
    You
    can't access LabVIEW globals directly from a caller to the LabVIEW DLL.
    However there is no problem in providing specific accessor VI functions
    to that global and export them as additional functions from the DLL.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Can labview globals or controls be modified directly from a dll

    Is it possible to obtain a pointer or handle to LabVIEW global variables - specifically clusters of scalars, not including strings or arrays, which presumably would occupy a fixed memory area.
    If this is not possible, can the value of data held in LabVIEW controls be modified from a dll by passing control references to the dll and if so how can this be done?
    Using LabVIEW 6i, Windows NT SP6, MS-VisualC++ 6.0

    I created a dll with LabVIEW 6.0 which had as its only input parameter a control refnum for a string control. I used this refnum to modify the value of the string control. I built the dll and then from a new VI called the dll using a call library function, passed it a refnum to a string control in the calling VI and ran it. The value of the string control in the main VI was change by the dll by only passing it a refnum.
    To do this you must have LabVIEW 6.0 Pro or App builder. (I did all this with LabVIEW 6.0.2 update installed)
    Attachments:
    caller.vi ‏8 KB
    chngstring.dll ‏17 KB

  • Making dll from VI containing labview global variable ?

    I've made dll from VI containing labview global variable.
    But, when I write a c program calling a function from the dll, it returns just error.
    The goal is to read a labview global variables from c program. What can i do for it ?

    Hi
    If you don't use the dll in your LV app, it will be difficult, because it will be in the adress-range of you c app. So any writing of values to the global variable in LV, won't affect the variable in the dll.
    What you can do is some kind of client-server architecture. You need a third app, which just does the data exchange - so you should be able to write a value from LV and read it from c.
    There already have been discussions about similar topics - just search the forum.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Can a global variable be used in a text object ?

    Can a global variable ( defined in Form Properties ) be used as part of a text object ?
    I am creating a PDF document (using LiveCycle ES ) that can be used by multiple departments.
    In LiveCycle Designer, I created an XDP with multiple pages.
    The form includes a variable varDepartment that I set to the respective department
    I then cut individualized PDFs for each department ( not all pages apply to all departments ) & change the department variable.
    I would like to have the Title of each page to include the department e.g. Survey Finance department (Page: Main)
    There are 10+ pages, each different.
    Is this possible ?
    Thanks for your help
    Aubrey

    Thanksjnicholas330,
    I am trying to avoid writing any code. Just place it the text - Something like "Survery {varDepartment} department".
    Also, I cannot find a floating field object - I am using Adobe Pro 9 with the included LiveCycle Designer 8.2 ES
    Aubrey

  • Can an Apple ID be shared between 2 devices and each be private?

    Can an Apple ID be shared between 2 devices and each be private?

    Of course. To do it, open iTunes holding the Option (Alt) key, so you will see an option to create a iTunes library. Note that, after doing that, you will have two iTunes libraries in the same account, so you can choose the one you want to start iTunes opening it while holding the Option key

  • Why can't I do file sharing between Macintoshes ?

    Why can't I do file sharing between two Macintoshes ?
    I have 2 Macs in the same room.   Both are connected to the same router (wired, not wifi), I have verified their connection by going to the Internet successfully on both machines.
    I have disabled all security functions I am aware of. I turned off firewall, turned on file sharing, allowed all users for file sharing.
    Yet, when I tried to connect to the other Mac permission is denied. I'm told to contact the network administrator, (that's me).   Both machines are running OS 10.9.5.
    Strangely, I was able to do “screen sharing” which doesn't solve my problem.
    I just want to move files from one Mac to the other.
    Is there something I'm missing here?

    (Yosemite falsely identifies iMovie HD 06 as not compatible.)
    Actually, it is by design; according to their Engineers, they have coded iMovie HD 06 not to launch - that is what I was told after submitting my bug report. So, it still works in Mavericks, but that is as far as it'll go.

  • Configuring SMTP Namespace Sharing between two Exchange Forests on the same LAN

    Hi guys, really hoping that someone can help me with configuring SMTP Namespace Sharing between two Exchange Forests on the same LAN.
    Basically, I have created a new forest and installed a new exchange organisation in this forest.  Both forests are located on the same IP subnet and a two way trust has been created between the forests.  Federated sharing has also been configured. 
    I can use ADMT to migrate the user and computer accounts to the new forest and also migrate test mailboxes over.  Ideally, I want to be able to do the mailbox migrations in stages so will need to be able to have mail flowing between the two forests. 
    I have read over the following article (http://ibrahimnore.wordpress.com/2012/09/06/configuring-smtp-namespace-sharing-between-two-exchange-forests-part-2/)
    which is good but it's demonstrating over the internet, can anybody advise how this can be achieved on the local LAN? 
    Any help greatly appreciated :-)

    Hi Gilliano,
    Thanks for correct link. I must say this is a very good article indeed, I read the entire article and if you go to the 3rd part of this article, please note the text "DOMAINC.COM is configured as Internal Relay Accepted Domain on both the domains"
    This is exactly what I asked you to check. Personally, I understand the method described in this article will work but its very complex to manage and administer, while the easiest option is to configure internal relay at the first place and no need to make
    so many DNS changes and customizations to your environment.
    The solution really depends on what your requirement is - Since you mentioned that you are migrating stuff over from source to destination - I feel this article is too complex for your situation and not really worth (for your requirement). The setup described
    in the article is an excellent choice if you are planning to keep both forests alive for longer duration due to several reasons like compliance or company mergers and so on...
    please let me know if my explanation is not clear enough.. we can even even have a one-on-one email conversation too!
    All the best!
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. Regards, Siva

  • Can data from Apps be shared between family members with iCloud Family Share?

    I'd like to know if data from Apps can be shared between family members with Family share in iCloud

    no, unless the app has a sharing setting.

  • The global variable panel has a menu item under OPERATE called REINITIALI​ZE ALL TO DEFAULT. How can all global variables be reinitiali​zed at to their default values at program startup?

    Each time I restart my application, I would like all global variables to be reset to their default values without having to reset each one individually. Can I do this? If so, how?

    Sure you can do it. Enclosed is a VI which checks all VIs in memory and reinitializes any that are of type Global VI.
    Attachments:
    Reinit_Globals.vi ‏22 KB

  • Can a Text Variable be shared across document in a Book?

    I'd like to define a single instance of a text variable and have it available to all documents in a Book (.indb). Can't figure out how. Is this possible?
    InDesign CS5.5 (both mac & pc versions)

    InDesign can't, automatically.
    But it is an option in the Book panel -- you can enable text variables to synchronize along with loads of other stuff. Then all it needs is a quick click on the Synchronize button.
    Just make sure you only enable the items you really want to sync.

  • Labview global variable dll

    Dear Sir
    我的Labview8.5程式中含有global variable,我要做成DLL,給VC使用,請問global variable要如何包進DLL中。
    謝謝
    已解決!
    轉到解決方案。

    Hello wcw1224,
    可以參考下面的連結
    http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=147485
    簡單來說,你在VC下不能直接去存取DLL內的Global Variable
    只有DLL包含的程式可以存取Global V
    你必須撰寫一個程式,來存取你的Global Variable
    然後將這個存取程式也包在DLL當中,這樣VC就可以使用這個函數來存取Global Vairable

  • Can files and folders be shared between 2 or more user accounts on the same computer?  If yes, how is this set up?

    I want to have a second user account on my imac (OS 10.6) that can access folders and files in the first user's account and the reverse.  I also want both users to have access to the same Safari and Firefox bookmarks.
    Can this be done?

    Sure, you just have to set the permissions to do so. 

  • Can kuler color themes be shared between CC Teams?

    Is it possible for color themes, color groups, swatches etc created in Kuler or in cc applications such as PS, AI, ID, FW to be shared securely between cc team members?
    I know using Kuler I can create my themes and download these for use in applications, but can they then be shared through cc for use by other team members?
    Thanks,
    Steve.

    Mark,
    Tehere may be a number of things disturbing and confusing Illy. You may have a look at the list. Maybe Item 7) or something else under 5) can be relevant.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html
    p>

  • Can anyone help with home sharing between my 2 computers please

    I am new to home sharing and I am having trouble transfering my music library to my new laptop. Can anyone please advise the easiest way to do this I am a novice at this type of thing
    Regards John

    Hi Bonzoboy666,
    Thanks for visiting Apple Support Communities.
    Use these steps if you want to transfer your iTunes library from one computer to another:
    iTunes 11 for Windows: Use Home Sharing to import items from another iTunes library
    http://support.apple.com/kb/PH12494
    Best,
    Jeremy

Maybe you are looking for

  • What should I do with my iPhone?

    I'm Vietnamese. My father bought me an iPhone 5s in Hong Kong on 5th, November, 2013. However, on 5th, May, 2014, my iPhone went from working perfectly fine to "searching..." for a signal despite being in an area with good coverage. I tried to turn t

  • Internet security suites for Mac

    With the various internet security suites on the market, I wonder which one would be a good one to purchase?  I tend to be very leery of the reviews I read of these various security suites.  Therefore  any feedback would be most appreicated. Thanks D

  • Layered PDF flattened by CS3

    We are using a third party repro tool, which uses PDF as it's native format. When these PDFs are opened in Acrobat Professional (or Adobe Reader), the layers are available as created. However, when we open the same file in Illustrator CS3 (13.0.1, Ma

  • MBAM Client 2.5 Error 1633 (package not supported by this processor type)

    initial testing of MBAM 2.5 client was successful. Full deployment to 2600+ computers has failed on over 300+ with the error: 0x661 (1633) This installation package is not supported by this processor type. Contact your product vendor. Of the 300+ in

  • Expot showing in cancelled state

    Hi All, I exporetd user master data of client 200 that time it shown it successfully completed.I tried import the data after client copy next day the export is showing cancelled state in SCC3 but in SE01 it is showing successfully completed.Import wa