How can I handle global variables from different DLLs created based on VIs that access those variables

My goal is to break apart an entirely LabView created application so I can still use parts of it (builded as Shared DLLs upon on some VIs) in my new .Net application. My problem is that some others VIs (that I am not intending using) are changing those global variables (in the natural data flow of the application).  I could , of course, send the values of those global variables as parameters, but I don't know how should I pass those data types (and their size)... There are some clusters there...
Any help is well appreciated

vulpe wrote:
My goal is to break apart an
entirely LabView created application so I can still use parts of it
(builded as Shared DLLs upon on some VIs) in my new .Net application.
My problem is that some others VIs (that I am not intending using) are
changing those global variables (in the natural data flow of the
application).  I could , of course, send the values of those
global variables as parameters, but I don't know how should I pass
those data types (and their size)... There are some clusters there...
Any help is well appreciated
Your
problem is of course the use of globals. That is almost always a bad
idea and asking for troubles once your application gets bigger.
Avoiding race conditions and undesired influences between different
parts of your application will take up more and more of your
development time as your project grows.
You should look into Functional Globals (LV2 style globals) and shift
registers for data storage and queues for passing information between
different parts of your applciation. Using these techniques
consequently, will require you to spend some more time initially but
will allow you to grow your application without increasing the
complexity of managing such things exponentially.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • HT4527 how can i transfer my purchases from one windows pc to another without having access to the pc with the music on as it is broken

    how do i transfer my purchases from one windows pc to another without having access to the pc with the music on it , as it is broken ?

    on new pc - open itunes.  sign into your account.  go to settings.  authorise the pc you are now using.  go to account in itunes store.  download purchases.  simples.

  • How can I consolidate all photos from different users on one computer?

    We just enable one computer to be the "Family" computer. I want to be able to consolidate all photos from the different users into one location. That way no matter wich user is login they can see and browse all the family photos. How can I do that? Do I need and external drive?
    Thanks in advance?
    MoMa

    Move the iPhoto Library to the Users/Shared folder, or you can use an external disk formatted Mac OS Extended (Journaled).
    Merge the Libraries as Larry says, with the paid version of Library Manager.
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Each account will have full access to the library, in fact, each account will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • How can I automatically move emails from different accounts to one inbox?

    Hi! I have several accounts. Some of them are my older email accounts that I do not really use, but I keep them to make sure that I will not miss emails from old contacts. I know I can create a filter to move emails from Inboxes of different email accounts to the Inbox of one account. But how can I move emails from the spam boxes of different email accounts to the Inbox of one account? Thank you!

    They are really "spam" folders? Thunderbird doesn't use the term "spam" and any such folders are almost certainly provided provided and populated by your email provider or anti-spam software. If this is the case, there's probably little you can do to change it.
    You can create filters, but filters operate automatically only on the Inbox and you'd have to run them manually on your spam folders.

  • How can I merge purchased songs from different ID's?

    I got a new computer & moved my library there. It turns out that 62 songs will not sync nor will they even play when I click on them. It turns out they were purchased using an old apple ID that I haven't even used in 6 years.
    The worst part is that one song is no longer available on iTunes so I can't even buy it again but it still works on my old computer. Unfortunately I have made new purchases that are not on that computer.
    I spent so much time on the phone with support who put in a ticket to ITunes engineers over a month ago & still no resolution. How can I merge these 2 accounts & get my songs on our new computer & new iPhones?
    Totally frustrated

    iTunes Store: Transferring purchases from your iOS device or iPod to a computer

  • How can I deactivate a computer from iTunes if I haven't got that computer anymore?

    I need to activate a new computer, but have already activated 5 computers. I need to deactivate a computer that I know longer have. How can I do this?

    You can only individually deauthorise computers directly on them, but if you've reached the 5 computer limit then you can de-authorise all (which you can do once every 12 months) by logging into your account and you can then re-authorise those that you still have and need : authorising / de-authorising.

  • Spreadsheet: how can I store test results from different tests in the same central spreadsheet?

    I am looking to gather test data using LabVIEW. I then want to store all the data in the same spreadsheet, a kind of central data base. I know how to store single test data in a spreadsheet but I can I get the software to write new data in the same file without over writing the old data?

    My first recommendation is that if you need a database--use a database not a spreadsheet. A DBMS isn't that hard to use and could pay big dividends in the future.In any case, to answer your question directly, it sounds like you are writing tab-delimited data to a text file that you will then open with a spreadsheet program. On the file write vi is a boolean input that specifies whether the new data should be appended or overwrite the existing data (the default is to overwrite). Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Can OBIEE handle hierarchy built from different dimension tables?

    Can I build an hierarchy with values at various levels appearing from other dimension tables in the model ?
    Thanks

    Hi,
    if you want to drill in Answers from an attribute of a dimension to the attribute of anothr dimension, you can use the Preferred Drill Path inside the level of an hierachy.
    For example:
    Dime Time
    -Year
    --Month
    ---Day
    Dim Geography
    -Continent
    --Nation
    ---City
    If you set in the Month level of the Dim Time the Preferred Drill Path to Nation, in Answer when you drill from Month you see Nation.
    I hope it helps.
    Regards,
    Gianluca

  • How can I call Adobe Reader from inside my Application and prevent operator to access Open/save opt

    Can Anyone help to find a way?
    http://answers.acrobatusers.com/How-call-Adobe-Reader-inside-application-avoid-operator-op en-save-doc-q13487.aspx
    From inside my application that run on an Automation PC, under Windows O.S, I want to call Adobe Reader using a shell command to open up an PDF Document containing some informations.
    Shell command like these
    "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" /A "<options>" "C:\mydoc.pdf"
    or
    cmd  /c "C:\mydoc.pdf"
    Operator is using a touchscreen.
    I want to prevent user to access any option that can give him acces to filesystem (Open/save/save as).
    I want also to prevent any change/add information to PDF document
    Thank you in advance for the time you will spend for me.

    You can use the Installation Tuner for Reader to customize the UI elements provided to the user.  Details on the Adobe web site.

  • How can I take pictures back from a DVD created on my Mac and put them back in iPhoto?..

    I made a DVD from iPhoto and iMovie but I accidentally deleted the photos from iPhoto. The only copy I hav is a DVD. Is there a way to get the pictures from the DVD back to iPhoto?

    Hi
    As Old Toad writes. No You can not get 100% quality back.
    You can though.
    Play DVD with VLC-player
    PAUSE
    cmd+Shift+4 - click and select photo area - or -
    cmd+Shift+3 - click and make a ScreenDump
    Quality will be - size of the screen and 72dpi
    • So set screen in Max Size e.g. 1440x900 or more
    • BUT as DVD is interlaced SD-Video - no setting will be any better than this
    And that will be the best You can do - still POOR - but usually better than Nothing !
    NTSC (29.97fps) 520 lines - about 640x480 pixels (square) 720x480 rectangular (narrow) pixels
    PAL  (25 fps)   625   lines - about 768x576 pixels (square) 720x576 rectangular (narrow) pixels
    And if You creaded Your movie in iMovie'08 to 11 - only half of the line resolution is left - So I guess that
    320 x 480 or
    384 x 576
    Will be the best possible resulting photos.
    Yours Bengt W

  • My Laptop was stolen. How can I get my photos from my iphone onto my new laptop that are in albums, not the camera roll?

    I have photos in albums that are stored on my iphone. My laptop that I had everything backed up on was stolen. I would like to be able to re-sync my iphone with my new laptop (Windows 8) without losing the photos that are in my albums. I'd prefer not to have to individually email them all to myself and I have everything off the camera roll already. I would appreciate any and all help. Thanks.

    Also, ALL of the photos were taken by my iphone.

  • How can I define global variable in user exit whic I can use anywhere.

    Hi all,
    How can I define global variable( Table ) which I can use when it come back to same user exit where I defined and stored some data.
    What I mean is I want to define 1 global table.
    In user exit when it comes I store some information. and again when it will come I will have that stored information so I can use it.
    Thanks a lot in advance.

    You can use EXPORT  TO MEMORY ID and IMPORT FROM MEMORY ID Statement for this.
    EXPORT T_ITAB FROM T_ITAB TO MEMORY ID 'ABC'.
    IMPORT T_ITAB TO T_ITAB FROM MEMORY ID 'ABC.'

  • How can i share some apps from my macbook pro to iMac on different IP?

    how can i share some apps from my macbook pro to iMac on different IP?

    sign into same id on both computers in the app store
    see this
    http://support.apple.com/kb/HT2519
    Peace, Clyde

  • We have itunes music on a computer, an ipod nano, and a new ipod touch under two different accounts. How can we combine the music from both accounts to one device?

    We have itunes music on a computer, an ipod nano, and a new ipod touch under two different accounts. How can we combine the music from both accounts to one device?

    There is no "adding" a device.  Simply plug the iDevice into the computer.  iTunes should automatically detect the device when it is connected.
    iTunes can sync/manage as many iDevices as you want... there is no 1 device limit.

Maybe you are looking for

  • VPN Split-Tunneling not working

    Hello, First off - thanks to all who post here.  I often browse the forums and search for help on here and its very useful, so a great pat on the back for everyone who contributes.  My first time posting so here goes..... I have my ASA 5505 v8.2 conf

  • Restricted access to attachments in SRM 7.0 web applications

    Hi, We have a very specific problem regarding the handling of attachments with SRM 7.0 web applications. The system is configured to use ArchiveLink for storing documents on a remote content server, which is working fine. Now we have a requirement wh

  • My cellular data has stopped working after updating to ios 6.1, i need help, urgently...!!!

    This is just crazy, i just updated and now nothing works...whats wrong with apple developers, i m stuck here now! what do i do...such thing is now happening so frequently, i am never goin to get another apple product here after, I just stupid!!!! can

  • Import MyClass; ... not in 1.4?

    I ran across this problem today. I am using an external group of classes that are not packaged. Everything seemed to be fine in 1.3, but now I get error compiling with an import statement, and of course if I get rid of the import and just use it I ge

  • Multiclip Edits Problematic with EDL's (Edit Decision Lists)

    Gentlemen, I exported a sample EDL for my on line bay from a multiclip edit from three angles (P2 Card Files) I created and they are seeing the list as one Reel Name instead of the three reel names if I cut it traditionally. I understand a multiclip