LVOOP and Hardware

I have a question about LVOOP and multiple hardwar​e sensors of the same type.  I'm getting ready to dive into the world of LVOOP​ and was curious how to address something that seems like a fairly simple ​issue. I have a system that has multiple sensors, ​all of which are the same type and range.  After reading some about the HAL architecture I figured I'd star​t there as it seems to incorporate LVOOP as well a​s labview patterns that I'm more familiar with.  I'm using a crio and usually I would bundle all of these senso​rs into a cluster(s) and move them around and unbu​ndle as needed.  That would give me a distinct identifier for each sensor.  I think I'm losing this simple concept when moving into LVOOP.  
Should I make children classes of pressure_sensor_​type_1 for each identical pressure sensor or shoul​d I just simply branch the wire as in wire_branch.​png?  I know that I could just branch the wire and that wo​uld give me a new object, but I'm not sure how to ​reference these in other parts of my program, ie h​ow do I distinguish pressure_sensor_type_1_#1 from #2 and ​#3.  If I do it this way, then it seems like I hav​e a distinct way to keep track of each child class​ and it has a distinct name.
In LVOOP I seem to have the urge to break componen​ts down much further than I would before.  I’m not​ sure if this is correct or not.  One more issue is that I typically use a scan interface for crio developmen​t and NSVs to send data back to a host, does anyon​e have any suggestion for how to handle these vari​ables within LVOOP as it seems to me that they break the​ encapsulation of OOP due to their network publish​ing. 
I have attached really basic samploe code.  Thanks for any feedback.  
Solved!
Go to Solution.
Attachments:
Classes.zip ‏132 KB
Wire Branch.png ‏29 KB
Children.png ‏7 KB

You need to use a hybrid of your two proposed methods. If all of your sensors are of the same type they will be the same child class type. There is no need to define yet another child class just to differentiate instances of the class. If you have three sensors then create three instances of pressure sensor type 1. Your initialization can include a name or identifier. You could also put your sensors into an array or a cluster. The cluster element or array position would identify the specific sensor. If you do this though define the array element or the cluster element as the base (parent class), not the child class. This would allow you to add different types of sensors in the future and would not require any code changes to your array/cluster.
For something like a sensor your base class would not include the implementation for most of your sensor methods. These would need to be overridden by the children. The base class could implement generic items such as a Get-Name method or something similar.
When defining your parent class avoid putting methods there that will not apply to all children. The parent should only contain methods that will be shared by all it descendents.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • My iPhone 5c is not recognized by my MacBook Pro or iTunes even though my software and hardware is up to date?

    Even though my software and hardware is up to date my new iPhone 5c is not recognized by my computer or itunes, it does not even load or show up on my desktop.  Is anyone else having this problem?
    I'm afraid it may be related to activating the phone in the store earlier today and not having my computer on hand?

    Hi, akp2585. 
    If your Mac is running OS X v10.6.8 or later and iTunes version 11.1 or later, here is a troubleshooting article that you may find helpful. 
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    Cheers,
    Jason H. 

  • When is the new macbook air coming..?? and what are the probable updates, both software and hardware..??

    When is the new macbook air coming..??
    and what are the probable updates in both softwares and hardware..??

    SubmissionsStay on topic. Apple Support Communities is here to help people use Apple products and technologies more effectively. Unless otherwise noted, do not add Submissions about nontechnical topics, including:Speculations or rumors about unannounced products.
    You'll want to ask this question elsewhere. "Management" on these boards don't want these topics.

  • Source different O/S and hardware from destination

    What are the limitations on using Streams to move data between Oracle instances, when those instances differ by O/S and hardware platform?
    We're working with a vendor to replicate from an Oracle instance 10gR2 running on an IBM server running AIX, and we're hoping to perform one-way replication into another 10gR2 instance running on an HP server with a Linux Red Hat O/S (both are 64-bit).
    I came across this document yesterday, which mentions that it's a bad idea, although I haven't seen the same restrictions in the documentation:
    http://www.eecs.berkeley.edu/~nimar/papers/vldb05.pdf
    Namely, it mentions that in the 3rd & 4th point
    Operational Requirements for Downstream Capture
    -The source database must be running at least Oracle Database 10g and the downstream capture database must be running the same release of Oracle as the source database or later.
    -The downstream database must be running Oracle Database 10g Release 2 to configure real-time downstream capture. In this case, the source database must be running Oracle Database 10g Release 1 or later.
    -The operating system on the source and downstream capture sites must be the same, but the operating system release does not need to be the same. In addition, the downstream sites can use a different directory structure from the source site.
    -The hardware architecture on the source and downstream capture sites must be the same. For example, a downstream capture configuration with a source database on a 32-bit Sun system must have a downstream database that is configured on a 32-bit Sun system. Other hardware elements, such as the number of CPUs, memory size, and storage configuration, can be different between the source and downstream sites.
    The reason why I'm concerned is that Oracle came to us about 8 months ago and sold us on Streams over DataGuard for a read-only direct copy of data. DataGuard was sold as being tied to having the recovery instance be as identical as possible to the source. They led use to believe that there were no such restrictions for Streams. So, we didn't add any provisions for purchasing a Replication tool. Now I'm thinking we might need to spring for ODI or something ...
    Has anyone found differences in hardware and O/S to be a problem when using Streams?
    Thanks
    --=Chuck
    Edited by: chuckers on Nov 13, 2009 2:06 PM
    Sorry, wrong link initially.

    I have no experience with downstream capture, which ships archives from one platform to another.
    If you are not using downstreams, then heterognenous platform work fine over SQL*NET (dblink).
    I have already operated in production Windows to Solaris multimaster Streams and would have gladly
    exchanged the win box for your AIX.

  • I am looking to implement a POS system using my iPad, What is the best software and hardware for POS?

    One of my clients wants to transition to an iPad POS system and I want to know what are the best software and hardware options?
    I am going to completely upgrade the hardware so I'll need solutions for card readers, printers, cash drawers and iPad enclosures that are compatible with an iPad POS system.
    Any help would be appreciated!

    We're a small business and we decided to go on iPad POS deployment and started researching. We chose Maclocks iPad POS stand since it is the most secured way to use your iPad as a POS plus its design is awesome and takes 2 minutes to set it up! They have it for iPad mini too.
    You can also see Maclocks iPad POS stand in action right here: http://youtu.be/0GaFCt-JDyg
    Check it out:

  • Software and hardware requirement of Discover 4i?

    What is the software and hardware requirement of Discoverer 4i?
    What is the requirement also for application-mode? I mean the application side.

    Hi I have looked the Metalink Note which is mentioned in the reply but that is not having the exact software and Hardware Requirements (i.e os packages required for unix platforms) for OEM Agent. Please help me to know the requirements pls.

  • Software and Hardware Requirement for Management Agent

    Can any one help me to find out the software and Hardware requirements for Oracle 10g Management AGent for various platforms.

    Hi I have looked the Metalink Note which is mentioned in the reply but that is not having the exact software and Hardware Requirements (i.e os packages required for unix platforms) for OEM Agent. Please help me to know the requirements pls.

  • What ideal Win Server and Hardware are recommended for 11g DBs

    What best Win Server and Hardware are recommended for 11g DBs?
    - Processor
    - Memory
    - Storage
    - Network
    - Etc...
    Following is the scenario:
    - The server will be for development and test DBs
    - More than one databases will be installed each for each project
    - Maximum 4 databases will be accessed each time
    - Maximum DB size for each DB will be in couple of GBs.

    Which version of 11g ? For 11gR2, see the requirements here - http://download.oracle.com/docs/cd/E11882_01/install.112/e16773/reqs.htm#i1011417
    Any server that exceeds these requirement will suffice. Obviously the more the number of processors, the faster the processors, the more the RAM, the more the disk etc etc, the better.
    HTH
    Srini

  • What are different between software VM-FEX and hardware VM-FEX?

    Hi everybody,
    I am confuse software VM-FEX and hardware VM-FEX.
    Does the software VM-FEX is Emulated mode and hardware VM-FEX is VMdirectpath mode?
    If i design a VM-FEX, is there must have nexus 1000V or not ?
    Is  Nexus 1000V and VM-FEX must work together or select one of them?

    Have a look at http://keepingitclassless.net/2013/06/cisco-vm-fex-and-the-nexus-1000v/
    VM-FEX in hardware requires on the host side a VIC adaptor, and a UCS FI or N5k as a switch (and control plane)
    VM-FEX in hardware has 2 submodes (PTS = Emulated Mode) and UPS (path Through)
    VM-FEX makes use of the VEM module (same as N1K; it is operated in a different mode however)
    VEM can do N1k local switching or VM-FEX path through, but not both !

  • Capacity planning and hardware sizing

    Hi,
    I would like to know in detail about capacity planning and hardware sizing while deploying oracle database products. I need to know about properly planning the infrastructure and configuring and deploying the products. Moreover, when should we use RAC,how many nodes, exadata, DR etc. How to size hardwares RAM,Disk for this kind of implemetations.
    I know it depends on budget and environment. Still if anyone kindly give some links/docs I will be able to have a decent start in this domain.
    Regards,
    Saikat

    See , they all depend on your company policy and the database size that they are going to have.
    1. Size : i have worked on databases sizing from 80G to 2000G , all depending on the client or the industry you are catering to.
    2. hardware and Ram : Server Team should know this better , you can have a simple small server if the DB and application are small and the usage would be less. If it a full fledged system with high load then you need to get in touch with your server team and raise an oracle SR for exact specifications for that database and also plan for some future growth.
    3. RAC : depends on the project if it requires such a setup.
    4. DR : is for disaster management. Also all companies implement this by adopting data guard ( physical standby).
    5. For having a good start , start reading the books and refer to oracle documentation. More you refer , more knowledge you will get .
    Start with the basics.... make your basics strong.. and then move ahead with complex setups.
    Regards
    kk

  • Should I update BIOS and hardware firmware when installing XP?

    I will soon be receiving a ThinkPad R61 and I plan to downgrade the OS to Windows XP by following this guide to the letter.  However, one part of the guide is unclear to me.
    It states that updating the BIOS and hardware firmware are optional.  How do I decide whether I should do this?  What are the consequences of not doing it?  How badly can I damage my computer by doing it incorrectly -- can I destroy it?
    Thanks! 

    As it says in the guide many times.
    "THE BIOS AND THE HARD DRIVE FIRMWARE UPDATE ARE
    NOT NECESSARY. IF YOU ARE WARY OF BIOS UPDATES, THEN I SUGGEST YOU SKIP
    THOSE TWO UPDATES AND CARRY ON WITH THE GUIDE."
    The BIOS updates sometimes fix errors that may or may not affect you. You would have to read the txt file associated with it to determine if you want to do it or not.  Some folks have to have the latest and greatest and some people have issues that are fixed in the BIOS update.
    A BIOS update gone wrong will render your Thinkpad completely useless.
    I think that if it is not broken, don't fix it.
    Be sure to make the recovery disc set before doing anything else.
    T60 2623-D7U, 3 GB Ram. Dual boot XP and Linux Mint.
    T400 2765-T7U Windows 7
    Registered Linux User #160145
    FYI: I am not employed by Lenovo

  • VLC and hardware acceleration ?

    Hello !
    I have a problem with VLC and hardware acceleration. I have installed the VDPAU package, and enabled GPU in VLC preference. At this point, when I try to play a h264 video, VLC crashes with the following output :
    m_el[mi_level] == NULL
    arrrrrrrrrrrrrg Up cannot escape itself
    m_el[mi_level] == NULL
    arrrrrrrrrrrrrg Up cannot escape itself
    libva: libva version 0.31.1
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
    vlc: vdpau_driver.c:233: vdpau_do_Initialize: Assertion `vdp_status == VDP_STATUS_OK' failed.
    Aborted
    I don't know what to do to fix it. My GPU is Nvidia 8800GTX. I anyone can help me, thanks !

    Here is vainfo output, thank you :
    [vince@areca ~]$ vainfo
    libva: libva version 0.31.1
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
    vainfo: vdpau_driver.c:233: vdpau_do_Initialize: Assertion `vdp_status == VDP_STATUS_OK' failed.
    Aborted
    [vince@areca ~]$

  • Is there is any way to find the data transfer from client to Configuration Manager for health monitoring and hardware Inventory

    Hi
    Can Configuration Manager provide a way to find the data transfer from client to Configuration Manager for health monitoring and hardware Inventory. How can I know what amount of data is consumed during that process

    Place archive_reports.sms in %systemroot%\ccm\inventory\temp\ for both 64-bit and 32-bit computers.
    There are two situations where you can use this depending on the type of client:
    1. To keep inventory reports on a client (that is not an MP), create the following file:
    %systemroot%\ccm\inventory\temp\archive_reports.sms
    2. To keep inventory reports on a MP (that is also a client), create the following file:
    <x>:\sms_ccm\inventory\temp\archive_reports.sms
    The XML file will be saved in the inventory\temp folder.
    More information on the above here: http://blogs.technet.com/b/configurationmgr/archive/2012/09/17/controlling-configuration-manager-2012-using-hidden-files.aspx

  • Server OS And Hardware

    Can anybody help me I need this research paper for unserstanding I am
    student at Politechnic please help me in this regard if possible.
    July 14, 2004
    Firms Stay The Course On Server Technologies
    They Buy What They Know And Add New Server Technologies To The Mix
    This is the second document in the "Server OS And Hardware" series.
    by Brad Day, Frank E. Gillett
    Waith Richard Fichera, Thomas Powell, Stephan Wenninger

    It depent open your requirements and the structure of your database that what kind of operating system is best. if online money transection are invloved then I think UNIX operating system is best but it is costly too.
    in previouse some article it was noted that Oracle show trmendouse performance on linux server. oracle corporation certifiy RedHat Enterprise Linux 9 AS 3 for oracle Databases.
    As well as concern to Hardware it also depend open requirements of your database. In Hardware people are mostly concern with processor and RAID levels.

  • Operating System and Hardware Selection

    My queston related to general information or general rules. As we know there are many vendors of operating system and hardwares and three of them are more famouse like HP,IBMand SUN. I want to know that for which kind of database environment, which plateform is best. as there are many kind of database environment like OLTP,DSS hybride etc. I want general suggestion about OS and Hardware selection.
    Thanks in advanced

    That site is hillarious.
    The implication is that one can get the correct machine size by answering one, and only one, question - how many users will be connecting.
    There are a few minor, niggling, details missing in that question ... for example, how does one account for the one 48 hour batch job that uses 100% of the CPU?

Maybe you are looking for

  • X-Fi 2.11: Audio Console still doesn't wo

    The audio console still doesn't work for me in the new version of the drivers. I get sound no problem, but when I try to open the Creative Audio Console I get the following error: "The audio device supported by this application is not detected. The a

  • Java Programming Competition Sample Questions

    Hi, I am interested in participating the Java Programming Competition in my University. For pratice can you point me to some website with sample questions or any question u have in mind. Thanks Satish

  • I can only hear my record enabled track when recording,not when just playing

    This has to be a simple one - normally I can hear my record enabled track when playing back or recording but suddenly i can only hear it when I am actually recording.  I must have accidentally selected an option i am unaware of - can someone please h

  • GET_V Method is not called for custom field

    Hi, We are using CRM 7.0 I have enhanced component BT120H_CPL and added custom fields into view Details with AET. I am trying to implement search help which depends on another field. I have created V-GETTER for my field and tried to implement search

  • How to use a AppStore gift card

    How to use a AppStore gift card in clash of clans