How to inherit from Actor.lvclass?

Hi all

I'm playing with the framework of the actor. After reviewing the sample cooler evaporative project, I want to make an absolute minimum example from scratch. I want to open a blank project, manually add a few classes, make them inherit from Actor.lvclass so on (for example not start since the draft framework for actor model).

The first problem I encountered (and not yet resolved) is How to inherit from the Actor.lvclass?.

Time evaporation cooler project (ECEP) example and the project of the actor model framework (AFPT) have some classes already inheriting from Actor.lvclass new classes will have this option of legacy. ECEP and AFPT have also vi.lib-> Framework.lvlib actor in their dependencies.

But how actor Framework.lvlib in my dependencies? I can't just drag C:\Program NIUninstaller Instruments\LabVIEW 2012\vi.lib\ActorFramework\Actor Framework.lvlib with dependencies in my Project Explorer.

However, I can drag C:\Program NIUninstaller Instruments\LabVIEW 2012\vi.lib\ActorFramework\Actor Framework.lvlib in my Project Explorer (like adding a VI to the project). This gives me the ability to inherit from Actor.lvclass and if I remove actor Framework.lvlib in my project again (after a class inherit) it will be listed under dependencies. But I hope that there is a way to better / cleaner to him.

I wish it works when I move the project to another computer with a different labview installation path. My approach above will ensure that Framework.lvlib of the actor is still loaded in the subfolder vi.lib or is it now "hardcoded" aware of my installation path?

Best regards
Jonas CJ

Advertisement

You should read some documents and tutorials on LVOOP, because it is the mechanism that is used. In this case, you must have the responsible actor in the project, so the simplest is the frame screws fall into a vacuum of VI, then go into your properties of the class, go to the legacy page and click the button change. The tree shows you the class loaded into the project, that's why you need the first step for the first class. After that, the class is already loaded, because the other your class inherits from this one, you don't need something it explicit the call.

With respect to the path, vi.lib is a logical path, so it does not work properly when moving between computers and versions of LV.

Tags: NI Software

Similar Questions

  • How to inherit from the class of property

    Hello experts,
    I use form 10g. I created a class of property in form one.
    Save and compile. now, I wanted to inherit this class of property in form b.
    for this I subclass form a form b.
    When I close the form, it shows the message
    error frm:18108
    source module: formA
    source my_property object (class)

    as we say that we can inherit from the classes of quality, please help me how?

    Thank you
    Yoann

    Yoann,
    So that the B FORMULA to find the class property in the FORM A, FORM A must be in a directory that is part of the FORMS_PATH. It's always a good idea to create a GLOBAL. FMB (or whatever you want to call the form) or an object library (.) OLB) that contains all of your objects that will be subclassed in other forms. Then put it. FMB or. OLB in a directory that is in your FORMS_PATH. This allows you to store all your source objects of subclass in one place.

    Craig...

  • How to inherit from matlab code in labview. The code is ".m" format.

    Hi guys,.

    How can I use a matlab code in labview. I want inherited the code in matlab for editing in labview.

    Mathscript is an option? If yes how to do it.

    While MathScript and Matlab share much in common, they are fundamentally different languages and MathScript don't support or have equivalents of a large number of Matlab functions. In addition, if you use tool boxes, then you won't be able to use them in MathScript. In one of your ".m" files, I spotted the Heaviside function, which comes from the symbolic math Toolbox. MathScript isn't it.

    With respect to the code, I don't know what you mean that we for you on this subject. Certainly, we cannot convert the code for you (unless you are ready to hire a person).

  • How to hide the default windows inherit from menu bar

    Dear all,

    I use the application oracle 10g with windows server 2003 server. Oracle database 11g.

    Whenever I am access the application from the client machine via browser, I get the windows inherit from the menu bar at the top of the workspace of the form.
    I want to hide this menu bar by default to display the users of the application.


    Help, please.

    Thank you in advance...

    go to the properties of the module (form) and remove the menu inherit which is written as a default.
    By doing this, you won't find any inherit menu under the running form.

  • How to move from the photo library?

    How to move from the photo library? How to use more than one library?  I would like one on a second partition for work stuff and hand over folder for personal stuff.

    Do the drag to another volume and launch Photos with down necessary option.

    (144134)

  • Satellite M40-185 - how to boot from USB?

    I have a Toshiba Satellite M40-185

    I could not a off of usb because the two Mafany usb boot option

    Options for the device
    1. HARD DRIVE
    2 CD-DVD
    3 FDD
    4 LAN

    How to boot from usb?

    Hi esc.

    I think that you have answered the question yourself because you've posted all the startup options that are available and there is no option to boot USB on this laptop.

    All you can do is to install the latest BIOS, but as far as I know Satellite M40 can t boot from USB!

  • How to print from iPhone / iPad for Officejet 4500 Wireless printer?

    I would like to print from my iPhone / iPad on my Officejet 4500 Wireless printer.  Y at - it an iTunes app I need to download?  My printer works fine print wirelessly from my desktop, just do not know how to print from my iPhone / iPad.  From what I read, it seems that this printer is not enabled for Airprint.

    Hello

    You can print from iOS using HP ePrint home & Biz.

    You can find more details below:

    http://support.HP.com/us-en/document/c02775166

    Kind regards

    Shlomi

  • How to move from the old iMac, iMac (24-inch mid 2007) to the new

    Got an iMac (24-inch mid 2007), and the desire to buy a new... How to transfer from 'old' iMac again?

    You will have the option to do so when you set up the new iMac; He can run through a network, external drive or disc mode target.

    (140878)

  • How to boot from the CD from Toshiba - Satellite 2450-101?

    Hello everyone,

    I would like to know how to start from the cd to install windows xp.
    I have a toshiba laptop (Satellite 2450-101).
    I'm not sure but I think dat This model has a DVD player in scii. Dat is the problem?

    Kind regards
    Steve.

    Hello

    If you use the internal CD/DVD drive you press simply the C key immediately after starting the laptop or you will simply change the boot order in the BIOS to CD/DVD drive.

  • How to boot from a USB - Portege R500 flash drive

    Hello

    I have a Portege R500 running Windows XP, presented about 2 years ago and recently contracted a virus that has infected some of the startup files as the minute I connect it disconnects again, even in SafeMode! The quickest way I can think sorting is to reformat with the XP Recovery disk and reinstall windows.

    Problem! The CD/DVD drive on the computer laptop stopped working earlier, tried almost everything in the thread on this site, but had no luck.

    So my plan was to boot from a USB flash drive and do it this way. However in the boot parameters I only have the options of HARD drive / floppy drive / CD-ROM / LAN, none of them work. Does anyone know how to boot from USB flash drives?

    Any help would be really appreciated

    Hello

    As far as I know, it should be possible to boot from USB FDD

    I don't know if you would be able to boot from a USB flash drive, but it of certainly worth a try m

    Generally, you can try to press the F12 key when the laptop is turned on.
    A start menu should appear on the screen, then you should see all bootable devices.

    PS: as far as I know the USB startup was available in ToshibaHWSetup (tool of Toshiba which changes the settings of the BIOS under windows OS.) So I guess boot from USB must be possible.

    Welcome them

  • Qosmio G35-AV600: I don't know how to boot from a CD - R

    I'm having the problem of 'Bad Machine' and I downloaded the utility DMI.
    I don't know how to boot from a CD - R. I don't have a floppy drive. Help me Toshiba.

    In fact, I burned the .iso to a CD image file and kept pressed 'c', while starting my computer was. I did not work.

  • How to boot from USB FD in HP Pavilion Sleekbook 14-b035tx

    How to boot from a flash drive? I pressed F10 and go into the BIOS menu > System Configuration > start, in the start options Options, I have not found my flash drive...

    Hello:

    See if you change the setting to enable the legacy mode/disable secure boot bios to start on a different device.

    See this link...

    http://support.HP.com/us-en/document/c03736054

  • How to print from a Tablet samsung210.1 on a printer Canon mx 510-512. I use mozilla ops.

    How to print from a samsung Tablet 2 10.1 on a mx 512 of Canon wireless printer. I use mozilla ops. I had the same problem with cloud 9 app impression too. any help would be greatly appreeciated. my e-m is [Mod Note: deleted personal information according to the GUIDELINES of the FORUM]

    Thank you

    rtcamp

    Thank you when I recalled that I myself am connected to alberque Office spoke to chris & he was able to fix the problem.thanks for assistance.

    RTC

  • How to boot from the flash drive which has xp to install an OS?

    Boot from the flash drive

    How to start from the flash drive which has xp to install an OS

    the system's model of netbook rlg

    Intel Valérie mgsone

    How to install Windows XP on a Netbook using a USB flash drive
    http://www.TechSpot.com/VB/topic160906.html

    J W Stuart: http://www.pagestart.com

  • How to scan from my computer. How can I activate my HP 3050 scanner? Windows 7

    How to scan from my computer. How can I activate my HP 3050 scanner? Windows 7

    Thank you

    Antal

    Antal Hello

    I replied to your other post on the thread "Re: start scanning the computer?'." " You can continue the conversation in each thread.

Maybe you are looking for