"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
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!
Tags: NI Hardware
Similar Questions
-
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
-
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!
-
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.
-
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.
-
A couple of my users started getting our application error messages ade grown after you apply this update. Everything is well after its withdrawal. First mistake was 459: object or class does not support the set of events. Basically, no event has worked. Why is this update break my application? It should be removed from the queue of the update.
Okay, I've worked on it with Microsoft, and the actual cause turns out to be:
MS12-060 security update affects the functionality of Access database
http://support.Microsoft.com/kb/2748410This article updated fingers MS12-060, specifically KB 2687441, as the culprit.
It turned out that ActiveX controls on the form (specifically the Microsoft Common Controls 6.0 Toolbar), caused the failure.
The solution was simple: on a patched machine, open each form with an ActiveX control in design mode, compile and save it. It worked for me. Ignore the details of the solution that I wrote in the previous post!
You may need to resave MSCOMCTL. OCX, as suggested in the article, to get your databases to work.
-Ken
-
Why can I no longer right click to get the NewFolder option? I realize now, there is a button for this, but it does not work.
Hello
I understand that you are facing problems with the creation of a "New folder" option in the context menu.
Have you made changes on the computer before this problem?
I suggest to follow the methods provided below and we update on the State of the question.
Method 1: I suggest you to follow the steps suggested by "Linda Yan" and check if it helps.
http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/9ee6ecdf-5958-4AF4-B640-c659ada57bc4/Registry WARNING: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see this link: http://windows.microsoft.com/en-US/windows7/Back-up-the-registry
Method 2: If the problem persists, I suggest you follow the steps proposed by "Linda Yan" and check if it helps.
http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/97de8a2a-12f2-4381-A409-a78f4ae551cf/
Hope this information is useful. -
I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application does not also work for my site.
Settings > privacy > location Services > confirm you always give permission to these applications to use your location.
If not, try these standard troubleshooting steps.
-Reset: hold the Home and Power buttons until you see the logo Apple (10-15 seconds).
-Restore your iDevice: https://support.apple.com/en-us/HT204184
If your backup is in iTunes, make sure that it is encrypted.
-
File sharing Mac for iphone via Airdrop does not
File sharing Mac for iphone via Airdrop does not. Please suggest me.
In the finder of mac and iPhone, I clicked on "Let me o find out for everybody". IPhone is still not release shows.
IPhone is the model of 5 s (10 iOS) and mac MAc mini end of 2014 (OS X EL Capitan - 10.11.4).)Cross the writeup here. Make sure that both devices have Wi - Fi and Bluetooth connection 'On '.
Use AirDrop to send the contents of your Mac - Apple Support
-
AppleID asks a password for an ID that does not exist
When I try to update my apps on my phone I wonder to enter a password for an AppleID that does not exist.
I am connected and can't seem to download applications, but not updated. I don't have this problem with my iPad using the same account, just the iPhone.
Help please!
Girlactik wrote:
When I try to update my apps on my phone I wonder to enter a password for an AppleID that does not exist.
This identifier Apple is not simply "composed" without any basis.
- The iPhone is already possessed? Maybe it's the Apple ID of the previous owner?
- Maybe it's the Apple ID you entered by mistake at settings > iTunes and App Store? Or settings > iCloud?
- Wouldn't be the Apple ID of the owner of the apps? You use apps (or music or books) someone else bought?
-
Firefox 10 for Mac - 11 installation does not work with Cooliris I have to install Firefox 10
Firefox 10 for Mac - 11 installation does not work with Cooliris I have to install Firefox 10
Double post please see also /questions/925441 #answer - 326583
-
My new laptop usb port for the left side does not, only 1 work on 3 Please help me
Hello:
Have you installed the drivers for W7 32 bit amd chipset?
If this isn't the case, you must install them and reboot the PC to get the 3 for usb ports work.
You want the first file on the Web page.
http://support.AMD.com/en-us/download/chipset?OS=Windows%207%20-%2032
-
WiFi link for printer EPSON-750 does not work
WiFi link for printer EPSON-750 does not work. In spite of reset the WiFi on the printer and reset the EPSON 750 as default printer on the IMac, the connection between the iMac and the printer does not work
Have you also tried to restart the router?
-
Unable to update the password. the value provided for the new password does not respect length, complexity, or history of the field requirements
Hello
I suggest you to send your request in this forum for better support. -
I have a Toshiba Satellite A105-S361 and I get this message: Windows successfully loaded the device driver for this hardware, but does not the hardware device. (Code 41)
Hello
I suggest to refer to this link, scroll down to error code 41 and follow the steps and check if that helps:
http://support.Microsoft.com/kb/310123
It will be useful.
Maybe you are looking for
-
The other problem is that I want to use the USB cable AND the wireless... is it possible? I read that the connection of the ethernet cable will cause the wireless to cut. BUT the USB cable will too? My small wireless indicator is not lit on the syst
-
Microsoft Word no longer works after Vista update
Hello MS Word has stopped working immediately after Windows Vista updates automatic. When I try to run Word, it opens, but I can't perform tasks of hormaux in the document and when I try to close (or save) I get the message "Microsoft Word has stoppe
-
How to determine programmatically if LV is running program or app update mode
I use LV 8.5 and make some measurements with a USB - DAQ. Since I have a compiled version the code continues to grow. So, I'm looking for a possibility to delay by programming between two outputs. While the tests, output and return to the system of d
-
Please see title above. This computer is really crazy. Unable to open my Outlook. Said dialog boxes open and must be closed before I open Outlook, but I can not find something open. I even tried restarting the comptr. PLEASE HELP ASAP! Thank y
-
Hello My lifecam studio worked pretty well, but I kept getting a message saying something about the requirements is not enoughbut it was the path in front of the requirements. but I was going to upgrade my CPU when even if I upgraded from AMD Phenom