Is there a way using lab view objects to let an object that is contained within another object get access to its owner?

I've been playing with lvoop for 4 or 5 months now, and in general I like it very much, but I've repeatedly wanted to build classes that know something about who owns them and I can't figure out how to make this happen.
The simple example I've been thinking about is imagine having a person class which contains a car class. Now say that I get an instance of a car class and I want to ask it who its owner is. In C++, I'd do this by giving the car class a pointer to the person class it belongs to. (Of course you have to worry about car objects that don't belong to anyone in which case the pointer has to point to NULL.)
I've tried copying this idea by giving the car class a data value reference to a person class, but when I dereference the reference using an in place loop and call a method on it I get data from the moment the reference was made and not the current data of the person class.
I realize this is sorta breaking data flow so maybe it's not possible on purpose?

Scot18 wrote:
I've tried copying this idea by giving the car class a data value reference to a person class, but when I dereference the reference using an in place loop and call a method on it I get data from the moment the reference was made and not the current data of the person class.
Yes, LVOOP uses value based references, and when you split the wire to write the owner you created a data copy. The function you're after requires you do use a DVR for all class functions in which case you'll get reference based OOP, which is more familiar coming from text based OOP.
It just so happens that G# uses that approach, take a look at it.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV

Similar Messages

  • Is there a way for AutoVue viewer (JVue/VueBean object) to cancel long lasting loading/rendering operation?

    Is there a way for AutoVue viewer (JVue/VueBean object) to cancel long lasting loading/rendering operation? In our integration when we try to switch from a document being loading on another one we can get an error message “Cannot load page” (but the document is shown after that). Or if we try to stop loading document by calling jVue.closeDocument() we can see everlasting progress bar and indicator “Loading…” on the status bar.

    No, it is not possible

  • How do i activate a 3 way valve using lab-view ????

    I am trying to automate a miniature punch press by connecting it to a computer having labview. this is done thro a 3 way valve which is in turn connected to an air compressor.
    I would like to know how i wud be able to control the valve using lab view ?

    Your question reads like;
    "I would like to know how I can drive a car using my hands?"
    Please provide the details on the value (inputs/outputs) and the type of hardware you are using to act on the valve.
    Trying to help!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to shutdown the PC using Lab View

    Hi,
    We are doing UPS project. In this project we have to shutdown the PC if there is a battery low condition. I want to know whether is their any library function in Lab View to shutdown the PC. And also we want make this labview to run in background whenever PC turns ON, is their any way to make Lab View VI to run in background process. We are also planning to send UPS Status through SMS message to specified mobile number using modem, is their any way to do this using Lab View. Please help me in this regards.
    Regards
    Shivakumar Singh

    Sorry
    Attached now
    "Qod natura non dat, Salmantica non praestat"
    Attachments:
    Shutdown_labview.zip ‏67 KB

  • Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files?

    Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them.
    For instance I have 1200 photos on my iPhone Camera Roll. Some of these are shots, that I've taken multiple times, some good, some bad. I just want to clean up my Camera Roll, but going through the pictures on the iPhone's small screen is tedious. I'd much rather look at the camera roll's photo's on my Mac, and then decide which files I'd like to keep, and which to delete.
    I don't want to import the files, as when I import the files, and delete them from Camera Roll, now the Photo's are not on my phone, and the only way to get them back on my Phone is to Import them back in using iTunes, and then they go into the Picture Library and not the Camera Roll.
    In the same way as I can view Pics from my digital camera's SD card on a Mac without having to actually copy them to my computer, is there any app out there that will let me view my iPhone pics without importing them.

    gsharp01 wrote:
    Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them.
    The short answer is yes.
    Connect your iPhone to your computer.
    Open Image Capture application.
    Click on the 4 little squares at bottom to view them as photos, not a list.
    Select the photos them click the No Entry icon at bottom to delete.

  • Is there a way I can view/manage devices linked to my iCloud account?

    Is there a way I can view/manage devices linked to my iCloud account? I know how to view the devices linked to my iTunes account, but I am not sure if this is possible to see with an iCloud account.

    You can't, except by seeing if they are using services associated with the account.  You could, for example, launch Find My iPhone on iCloud.com to see what devices appear (which obviously wouldn't show devices not using Find My iPhone).  Similarly, you could go to Settings>iCloud>Storage & Backup>Manage Storage to see what devices appear on the Backups list (which won't show devices not using iCloud backup).

  • Is there a way to LIST OUT all of the active images that are currently being used on a page in Dreamweaver?

    Is there a way to LIST OUT all of the active images that are currently being used on a page in Dreamweaver?  Or do I have to click each one and write down the image name by hand?
    Thanks!
    LJ

    Alternatively use a browser:
    Use the Firefox Web Developer Toolbar
    https://addons.mozilla.org/en-US/firefox/addon/60
    Images > View Image Information
    or the List All Images Add On for Firefox
    https://addons.mozilla.org/en-US/firefox/addon/3688
    or the Web Developer tools in IE8 (or earlier), F12 > Image > View Image Report

  • I have a password protected Numbers document I created on my MAC and share via DROPBOX. Is there any way to simply view this doc on my IPAD without purchasing NUMBERS for the IPAD?

    I use NUMBERS on my MAC to create a password protected document.  I share this doc via DROPBOX.  Is there any way I can view the doc on my IPAD without purchasing NUMBERS for the IPAD?  The doc opened fine on the IPAD before protecting it with a password.

    Using the term "opened" may have been incorrect on my part.  Before password protection, I simply viewed the doc by selecting it within my DROPBOX app.  No revisions could be made, but I could view the doc.    Now, with the doc password protected, the IPAD states this file can not be viewed.
    The IPAD users guide gives a list of files IPAD can view. Unfortunately, I find no info on how to open/view that file should it be protected. If
    THANKS

  • Using lab view to control an Arduino led cube

    Has anyone used lab view to control an Arduino led cube? It seems to me that you could make a pretty awesome project out of the two.

    Hi there, I haven't done it my self but, you may find a tread at the LabVIEW Interface for Arduino Group including links to download the LabVIEW Interface for Arduino Toolkit . I think this will make the task easier. Good luck!
    Alejandro | Academic Program Engineer | National Instruments

  • IS there any way I can view Adobe Flash sites on my iphone?

    Is there any way I can view Adobe Flash enabled sites using my iPhone?

    Search the App Store. There are some browsers that process Flash at their servers, then sent it to the iPhone. They are generally slow and unreliable, though.

  • Is there a way I can view all apps I have ever downloaded?

    Is there a way I can view all apps I have ever downloaded? Like some sort of historical list associated to my account?
    It would help a great deal- I restored my phone from a backup after my iphone crashed- but I had downloaded many apps since then, so now I have to re-download all the missing apps. Thing is I cant remember all of them?
    Anone else have the same problem?

    Have you never synced your phone? Syncing puts copies of each app into iTunes for you to manage and have available to sync over when you want.
    Other than that, in iTunes, from top menus (forget which one, think under help) you can access your account and then view purchase history.

  • Is there a way to create a button for the tool bar that will View a page in "No Style'?

    I guess what I'm asking is...Is there a way to make a customized button for the toolbar that will allow me to change the view on a webpage to 'No Style' as listed under the view menu. If so, How can I do this?

    Try this add-on: <br />
    https://addons.mozilla.org/en-US/firefox/addon/custom-buttons/

  • Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.

    Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.

    Thanks. I tried an app called Office2HD and it does exactly what I need. I can even email my edited file from this app.

  • Is there a way to flip the pages in a .pdf so that all of the text is readable (in other words all documents are right side up)?  I have Adobe Acrobat X and am using Windows 8.1.

    Is there a way to flip the pages in a .pdf so that all of the text is readable (in other words all documents are right side up)?  I have Adobe Acrobat X and am using Windows 8.1.

    I have a pdf with over 2,000 pages, many of which are sideways.  I do not want to manually flip each one (few are next to each other).  Is there a way to automate the function so that all sideways or upside down text pages are righted?

  • Is there a way using db_dump or db_stat...

    Is there a way using db_dump or db_stat to simply see the number of records in the DB?
    If not, is there any other way?

    Hi Chris,
    You can use db_stat to find out the number of records:
    $ ../db_stat -d branch
    Tue Jul  1 14:24:27 2008     Local time
    61561     Hash magic number
    9     Hash version number
    Little-endian     Byte order
         Flags
    17     Number of pages in the database
    512     Underlying database page size
    1     Specified fill factor
    10     Number of keys in the database
    10     Number of data items in the database
    16     Number of hash buckets
    6676     Number of bytes free on bucket pages (18% ff)
    0     Number of overflow pages
    0     Number of bytes free in overflow pages (0% ff)
    0     Number of bucket overflow pages
    0     Number of bytes free in bucket overflow pages (0% ff)
    0     Number of duplicate pages
    0     Number of bytes free in duplicate pages (0% ff)
    0     Number of pages on the free listNote that the number of keys and data items will be equal in databases that do not support duplicates.
    Regards,
    Michael Cahill, Oracle.

Maybe you are looking for

  • Icc profiles are not being recognized by epson printer from LR 5 in Mac OS 10.10 yosemite

    After switching to Mac OS 10.10 (Yosemite) my epson 3880 is no longer recognizing the icc profiles. Is anyone else having this issue? I've already reinstalled all epson drivers and printer options to no avail. I'm thinking that lightroom and the prin

  • Facebook Export FAIL! any answers ?

    So I been looking around but it seems to all be dead ends. 2 weeks ago I uploaded some photos to facebook and it all went well. Today I decided to delete all previously uploaded photos of my daughter (not via AP3) and replace them with an album synce

  • Cannot Open Excel File in AppleWorks

    My father-in-law is a new Apple convert (at my direction). I do not use AppleWorks, but that is all he has at this point. Someone sent him a simple Excel spreadsheet. AppleWorks won't open it. Keeps saying it cannot open the file. No error code. I ca

  • Single click event in alv grid.

    Hi Experts, i have done will my code..everything is working perfectly, but having an issue..pls help me... in my output screen i have 2 check-boxes,when i select both of them i shuld get a message saying select only one..this is done when am using do

  • TS1398 i can not open the wi fi on iphone 4s with ios7 in the setting screen.

    form the setting screen i can not open the wi fi. when i do it from the home screen it is not opening the wi fi in the iphone.