to a more specific class: can't find not strictly digital, only digital

Im trying to read a property of the control based on some controls that are in a cluster.

I want to convert to a more specific class property reference: digital strict, but I find only 'digital' which leaves me with variant data.

Any help?

Right-click the control switch, and then create a reference. This reference to the entry "class of target" of the cast of the wire knot.

Tags: NI Software

Similar Questions

  • "For more specific class" does not not on sbRIO 9636

    The application that I am forcing me to programmatically access arbitrary components of a nested group. Currently, I am doing the browsing the cluster using his property [] node recursively controls. Currently, my accessor VI to accomplish this works very well on a normal PC but does not work on my target in real time, a sbRIO 9636.

    After some research, I determined that the function "To more specific class" does not work on my target in real time. I have attached a code base that shows the heart of the problem. It works fine on a PC but will return an error 53 when running on my target in real time.

    A few questions:

    (1) is 'To more specific class' supported on the sbRIO 9636 or not?
    (2) if it is supported, what am I doing wrong?

    (3) if it is not taken in charge, what are other methods for access by the arbitrary elements of a nested cluster program?
    (4) if it is not supported, why LabVIEW allows me to place the feature even when the sbRIO 9636 is explicitly selected as my goal in my LabVIEW project? It seems prudent to restrict its use, if it is not supported. My day job has been effectively wasted because of this problem.

    For reference, here's a few previous discussions

    http://forums.NI.com/T5/real-time-measurement-and/modifing-cluster-component-properties-on-sbRIO-No-...

    http://forums.NI.com/T5/real-time-measurement-and/quot-Manager-call-not-supported-quot-when-typecast...

    Thank you
    JAnthony

    The other posts are correct, because it is currently not possible to use the function on a real-time target. This is a known issue and is being investigated for correction, but currently there is no work around. It is available on the pallets that this behavior is not intentional and should work.

    You have described your application requires that recursively through a table and access to specific data. Does this mean that the Data Structure might be different when the vi is run and you need to adapt to a changing data type? If this isn't the case, then all you need to do is to get the value of the reference and then ungroup the cluster as needed then store the changed values to the same reference.

    If you're going to have to settle you will encounter difficulties to be determined pragmatically you should do but I have a suggestion. Create a cluster with an enum and a Variant. You can use the enumeration to set the type of the variant in question. He chooses the type to convert the variant according to the code. It is a similar structure, like messages in queue manager and his messages that happening except that you will be passing a reference to this group that has both the message and the payload in one. The reference could be used to get the value and then the code must only be written to accept the Cluster of Enum and variant you can then convert the variant to the appropriate type for later use. For best performance, you also use in Place of the Structure element.

    It's only a means potentially accomplish what you want. If you describe your program and needs more in depth, we are able to offer a more suitable solution for your application that does what you need. I wish you a nice day!

  • Properties of the component of modifing Cluster on sbRIO? No node "to more specific class?

    Hello

    I designed a fairly large RT application.  Our structure is to have our main vi RT with several large groups which pass into subvis that modify the components of the pole passed through its reference. (Easy) In addition, we have to change the properties of the cluster component as well. Other examples, to change the properties of a cluster of referral component, we do:

    (1) obtain controls [] property of the cluster

    (2) of the index in the [] for the component Control

    (3) class "to more specific" use with the exact type of the component

    (4) fix a property node to access the property of desirec

    It worked well except that we are currently making a sbRIO system. All the 'to more specific class' now are broken with the error message that this node "only is not supported on the current target".

    I spoke to a representative of OR who says that 'To more specific class' is NOT supported on the real-time hardware. If this is the case, how one is changing the properties of component a cluster without using the node "to more specific class?

    A simple example is attached. It shows a simple cluster of two components that must have their properties changed. It works fine on a material in real time (such as a host PC). It breaks on our sbRIO.

    Yet once how one change properties of a component cluster on a system in real-time like sbRIO?

    We use LabView 8.6.1 on a sbRIO 9642.

    -Paul

    I installed LabView 2009 today and here it is--the "to more specific class" node is now permitted on a real-time target. Nothing in the documentation indicates that it but I'm not complaining. You can now change the ownership of a cluster component in a subvi on a real-time target. Thanks to which it is fixed that!

  • Cannot use casting "to more specific class ' function to the parent class of child class

    Hello

    I am using OOP for my request for data acquisition. I have different e/s analog and digital materials. I create a superclass named DAQ.lvclass. This class has four childs: analog in out analog, digital, and Digital Out. I am trying to invoke screws of the child of the parent class's class. For that I am throwing the class parent her child to aid "to a more specific class' function. But I get the below error.

    Error 1448 occurred at the more class specific in DAQ.lvclassMain.vi AQ

    Possible reasons:

    LabVIEW: Bad type cast. LabVIEW does not deal with the run-time value of this class of LabVIEW as an instance of the given class of LabVIEW.

    How can I handle these cases where I have to call child VI of the parent member?

    I have attached two screws 1 snapshot. Main DAQ: it's the class main VI parent who manages all functions. 2. read the analog inputs: this VI trying to set the parent class for its class of the child and child vi reads value of data acquisition task. I get the second error off VI.

    Kindly help.

    Honestly, I have NO idea on what you want to do.

    Inheritance of classes in EACH OOD (object-oriented design) requires to define common ground as the parent class. Children can add things like properties and methods.

    If you set children who have no points in common, you have made a mistake.

    If all children have too many different specific methods, your OOD is absent.

    Example:

    Parent defines the method A.

    1 child adds the B method.

    Child 2 adds method C.

    But method B will not be usable on 2 children while method C will not work with 1 child.

    It is an approach that you want to prevent. In any programming language oriented OBJECT. This adds unnecessary complexity leading to difficult to maintain the code, and it is prone to errors.

    However, if you're going to do, "to more specific class ' is the correct type cast. But your screenshots and error messages, it is obvious that refine you a particular child's casting only. You must extend the code to check the real child, specifically expressed and call the method. That being said, your code increases the complexity you want to add a bunch of case of structures which essentially nihilates all THE BENEFITS of the use of OOP.

    I'm sorry to say that.

    Norbert

  • Close the reference (for a more specific class)

    I'm feeding a control reference to the node "to a more specific class.  When I finished, I understand that I have to close the order, but what I also close the reference that is the output of the node "to a more specific class?

    This is the same reference... There is no need to close the two.  And if you approve the automatic cleanup of references LabVIEW, you really do not need to close, as the references control must never be matched and will be automatically cleaned when your VI is inactive.

    For more information, here is a blog that just now, I wrote that talks about closing reference.

  • Type mismatch and VI properties in 'for more specific classes.

    Dear all

    I have a Subvi trying to modify the properties of certain objects on the main pane of the front, in the example I have attached to this message it works well, but when I use the same Subvi in my main application which is a little bigger and has more hierarchical levels (that's why I join this one) it comes across some errors.

    Once running "to a more specific class' in the Sub - VI called ("MultpObj1N"), it gives this error that" LabVIEW: Type mismatch: object cannot be cast to the specified type.»

    I have no idea what could be the reason for this. Do you have any idea what it could be?

    Best regards

    Afshin

    Dear Darren

    Suddenly, I realized that my problem just happens to group objects (no cards) and like you said the type of data were different. Because I wanted to just access the visibility as you suggested, I've changed the strict form for normal and it worked.

    Thank you very much for your advice!

    BR

    Afshin

  • How can I upgrade my property in the cloud? I'm now 20 giga, because I work on different locations, I need more, but I can't find any upgradeplan

    How can I upgrade my property in the cloud? I'm now 20 giga, because I work on different locations, I need more, but I can't find any upgradeplan

    You need go to a TEAM account, which has 100Gig

    - https://creative.adobe.com/plans?plan=team team plans

    -http://www.adobe.com/creativecloud/buy/business.html

    -https://helpx.adobe.com/contact/creative-cloud-teams.html using the team

    -manage your account http://forums.adobe.com/thread/1460939?tstart=0 team

  • I am trying to remove users from my team and decrease the number of licenses that I pay. Many places tell me how to buy more, but I can't find anywhere to remove licenses to reduce my costs. Where should I look?

    I am trying to remove users from my team and decrease the number of licenses that I pay. Many places tell me how to buy more, but I can't find anywhere to remove licenses to reduce my costs. Where should I look?

    Manage your account http://forums.adobe.com/thread/1460939?tstart=0 team can help

    or

    contact Adobe staff to help
    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • Where can I find the clock digital multi AGS for the vista sidebar?

    I recently had to smoothing on my computer and do a vista reload fee.  now, I'm trying to find the clock digital multi AGS (the most useful for the windows vista sidebar gadget was by far, in my humble OPINION).  Where can I find the clock digital multi AGS for the vista sidebar since microsoft went down the gadget site?

    Thank you

    Hello
     
    As the gadget site is down you can't find the clock digital multi AGS for the vista sidebar.

    You can check the link for help:

     
  • Where can I find the HP digital monitor to reinstall on the Windows Vista computer?

    original digital monitor: HP

    I reformatted my computer Windows Vista, but I can't find the HP digital monitor for scanning anywhere, anyone know how I can get that back?

    Hello

    "The HP Digital Imaging Monitor is a program used by many printers HP all-in-one." It is automatically installed in the startup folder and launches automatically when you start your computer. It consumes volume system resources and can slow performance. You can disable HP Digital Imaging to launch start the computer and launch every time you want to use. »

    http://www.ehow.com/how_5896835_disable-HP-digital-imaging-monitor.html

    you will need to reinstall all that it came with

    try hp support

    http://welcome.HP.com/country/us/en/contact_us.html

    HP support forums

    http://h30434.www3.HP.com/

  • On a more specific class or the variant

    Which of these methods is preferred for the update of GUI? Any show hit with for Variant?

    Out of curiosity and for a fan of Top Gear (real BBC version, not lame History Channel knock-off) colleague here are a few quick comparative data:

    Another case where fear of stress points leads to evil.  Put in explicit conversion of the type variant slows things down a bit more than the specific class that I suspect (but didn't).  However, my strategy to connect life with the point red and right value help considerably, as the implicit conversion is as fast as a bound property node (laziness country off, yes!).  Inhabitants of smoke just PNs, but we knew that and I just wanted to see with my own eyes.

  • How can I import all the data of rockmelt Firefox which I like more, but I can't find a data option rockmelt 2 2 firefox as import switch and insert bookmarks in firefox?

    I want to import data like passwords and histroy and bookmarks and all of rockmelt Firefox I tried to go to import from other browsers, but I found no rockmelt, and also it will not contain password and this thing so please if you can tell me what is the best way to do this thing I need this quick please.

    To all of you who have this problem I solved it with myself.

    Just go to google chrome and download it and then go to C:\Users\username\AppData\Local\RockMelt and then copy all the data from the user file and then go to C:\Users\TOSHIBA\AppData\Local\Google\Chrome and delete the data of the user of the file and paste the one you copied everythign now in base is in chrome then forefox do synchronize on the other browser then choose google chrome!

    Note! If you can't find the AppData file it's hidden setting of files and folders and check the box says show all hidden files.

    Good luck!

  • I have an Officejet 8500 has more, but he can't find my Linksys router

    I just bought an Officejet 8500 a more printer,.

    It does not detect my router Linksys (WPA), all the other networks in this area are visible, except our Linksys router, with WPA security.

    Tried to set up with the software, plug the USB printer and tried to connect the linksys router, it say: you are out of reach of your wifi access point (something like that)

    Help?

    Here are some tips:

    1. ensure that 802.11 g is present.  Other modes (such as 802.11n) wireless are OK, but g must be present.

    2 broadcasting your SSID and don't use MAC filtering.

    3. make sure that your router has the latest firmware.

  • Qosmio X 300 - 14U - can't find not all USB devices

    My Qosmio X 300 - 14U can't find my USB Kingstone Datatraveller, Storejet.

    Any help please.

    Go to the toshiba driver page:

    http://EU.computers.Toshiba-Europe.com/innovation/download_drivers_bios.jsp

    and update the chipset drivers

  • You sent me an email telling me there was a closed connection of CS5, but I can't find not (0217719404) Please tell me how to find this link?

    You sent me an email (0217719404) telling me you attached a link for download CS5 on my laptop but I can't find the link.  Please tell me how to get this link.

    Richard Wakefield

    [deleted private information]

    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

Maybe you are looking for

  • Music on an Audio CD burning

    I have a problem, burning files to a CD in Audio format.  Everything works as expected until it cancels the burn during the first song.  All ideas

  • NEITHER USB-485 box Advanced tab

    I have a USB OR 485 box.  I'm trying to access the Advanced tab that would allow me to change the mode of the transceiver, setting etc, but the tab is grayed out.  Anyone know why?  Thank you!

  • (Two copies) Soak Test

    What should I do to get test impregnation on my XT1033, I registered on the Motorola feedback network, but still no Motorola upgrade notification and I would ask if anyone has received try impregnation or official update say please?

  • Windows 8 cannot be activated more?

    I don't exactly know how this problem occurred. I do not download the random things, I never download or update via the VAIO Updates. I turned on my laptop to see that my screensaver had disappeared and it's now just a custom image, and when I am con

  • Acrobat Pro XI form: at least one of the six boxes is required to check

    HelloI have created a form using Adobe Acrobat Pro XI.On a part of the form, there are 6 different boxes in a row, which at least one is required to check.There is some javascript that I can use, so that when a user accesses to the textfield object a