Error 91 - Trying to Use the Variant to Data Function

I am running into a problem when trying to use variants in my application. I have a state machine set-up in that one state creates a task list (cluster of arrays) and then converts it to variant. The variant is fed into a shift register that allows me to access the task list from a different state.
The problem comes when I try to use the Variant to Data function. I right click on the task cluster to create a constant, and then wire that to the TYPE terminal of the Variant to Data Function. I wire the task cluster variant to the VARIANT terminal. When I run the VI, i get error 91: Possible reason(s): LabVIEW: The data type of the variant is not compatible with the data type wired to the type input.".
How can I get this error when the type I wired to the TYPE terminal of the Variant to Data terminal is a constant created from the exact type created a variant from???
Section of the state machine where I wire the cluster to variant:
Section of the state machine where I use the Variant to Data to get the cluster out:
The constant wired to the Variant to Data TYPE terminal was created from the cluster that is wired to the Data to Variant. I do not understand how there can be a type mismatch???
Solved!
Go to Solution.

Charles_CLA wrote:
crossrulz wrote:
Are there any other state that run between these two?  I am noticing you have some "Use default if unwired" tunnels comming out of your case structure.  First of all, disable that on the tunnels.  Secondly, for those cases where you are not affecting that data, wire the data straight from the input tunnel to the output tunnel.  I recommend using the linked tunnels to make it even easier on yourself.
With the default tunnels being output, your variant coming in could really be empty, therefore the conversion fails.
Are you stalking me today?  Every single post I've clicked comment on, you beat me by a hair!
No, just 12 hour days (due to the holiday) get really long...and you are just slow.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • I get the following error when trying to use the itunes store "your apple id has been disabled"

    I get the following error when trying to use the itunes store "your apple id has been disabled".  My account was disabled when someone else had been using it without my knowledge.  I changed my apple id password and the apple id is still fine, but itunes has it disabled.  I verified that the computer is authorized for this apple id.  What to do now?

    Welcome to the Apple Community.
    Contact Apple through iTunes Store Support

  • Program error when trying to use the clone stamp tool - PSE 8

    When trying to use the CLONE STAMP TOOL, getting the following:  "Could not use the clone stamp tool because of a program error".
    Runnng PSE 8 on Windows XP/SP3.  I purchased the key to have a full version, versus the 'trial version'.  I also have Photo Essentials 3 installed and have used it without any problems.
    Any suggestions?

    I figured it out - it was ID 10 T error...ugh.
    Was following along in a book and blindly did what it said....was forgetting to hit the 'alt' key when first defining the area to clone....
    However, it was kind of a confusing error message - something like "clone area not defined" would be more of a help.
    thanks.

  • Error when trying to use the Log Viewer

    Hello experts, today I wanted to examine some logs using the Log Viewer on Visual Administrator. However, when clicking on this service, the Visual Administrator would freeze for a long while and after that, an error message was displayed. I do not remember the exact message, but it was something like "A fatal error occurred. For more information, click on the Details button". After clicking on that button, the following error was displayed:
    com.sapmarkets.bam.util.BAMRuntimeException
    at com.sapmarkets.bam.jmx.connector.rmi.AbstractConnectorClient.invoke(AbstractConnectorClient.java:110)
    at $Proxy31.getAttribute(Unknown Source)
    at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getAttribute(AbstractLogDepot.java:236)
    at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getLogDescriptors(AbstractLogDepot.java:84)
    at com.sapmarkets.bam.view.config.RemoteViewConfiguration.initializeViewConfiguration(RemoteViewConfiguration.java:65)
    at com.sapmarkets.bam.view.overview.OverviewFacade.populateOverview(OverviewFacade.java:219)
    at com.sapmarkets.bam.view.AbstractLogViewerAppplication.populateOverview(AbstractLogViewerAppplication.java:171)
    at com.sapmarkets.bam.view.AbstractLogViewerAppplication.initOverview(AbstractLogViewerAppplication.java:652)
    at com.sapmarkets.bam.j2ee.services.logviewer.gui.LogViewerRuntimeLogical.setRuntime(LogViewerRuntimeLogical.java:121)
    at com.sapmarkets.bam.j2ee.services.logviewer.gui.LogViewerRuntimeLogical.show(LogViewerRuntimeLogical.java:88)
    at com.sap.engine.services.adminadapter.gui.node.ServiceNodeView.selectSingleService(ServiceNodeView.java:202)
    at com.sap.engine.services.adminadapter.gui.node.ServiceNodeView.selectNode(ServiceNodeView.java:156)
    at com.sap.engine.services.adminadapter.gui.AdminManager.selectServiceNode(AdminManager.java:290)
    at com.sap.engine.services.adminadapter.gui.AdminManager.selectNode(AdminManager.java:170)
    at com.sap.engine.services.adminadapter.gui.AdminManager.valueChanged(AdminManager.java:108)
    at javax.swing.JTree.fireValueChanged(JTree.java:2392)
    at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2763)
    at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
    at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076)
    at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
    at javax.swing.JTree.setSelectionInterval(JTree.java:2041)
    at javax.swing.plaf.basic.BasicTreeUI$TreeIncrementAction.actionPerformed(BasicTreeUI.java:3268)
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2473)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
    at java.awt.Component.processEvent(Component.java:4978)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3684)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3546)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)
    at java.awt.Component.dispatchEventImpl(Component.java:3575)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3546)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Caused by: java.lang.reflect.InvocationTargetException
    at com.sapmarkets.bam.util.FutureResult.get(FutureResult.java:71)
    at com.sapmarkets.bam.jmx.connector.rmi.AbstractConnectorClient.invoke(AbstractConnectorClient.java:104)
    ... 45 more
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at javax.management.ObjectName.construct(ObjectName.java:385)
    at javax.management.ObjectName.readObject(ObjectName.java:1063)
    at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1736)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
    at java.util.ArrayList.readObject(ArrayList.java:559)
    at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1736)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
    at java.util.HashMap.readObject(HashMap.java:1015)
    at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1736)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1835)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1759)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
    The lines I marked in bold are the ones that caught my attention. What is this error and how can I fix it?

    Hello, thanks for your answers. I checked the JVM Heap size, we are using a 64 bit HW, and it was already set to 2048M, as well as both parameters Xms and Xmx. I also checked our virtual memory and directory space, the virtual memory looks fine, and the <SID> directory uses 5 GB of space.
    If you wish, I can write the configuration found on the Config Tool, where you set the JVM Heap size and other parameters.

  • Error when trying to relocate the iCal server data store

    I'm so frustrated with iCal server already - I setup an advanced server as a standalone and got iCal server working with a couple clients. I then tried to move the data store to a new drive for greater storage and redundancy but as soon as I did I started getting failures from the clients when they attempt to register. The error I receive is:
    "Account information not found
    Unexpected secure name resolution error (code -9843) the server name xservername.myhost.com may be incorrect"
    My server is up and running fine at that address. What do you need to do to relocate the calendar store?

    It appears I have fixed the problem. I moved the directories and lost the permissions and directory ownership. I changed all of the files to RWXRWXR-X permissions with "sudo CHMOD -R 775 MyDocumentDirectory" and I changed ownership with "sudo CHOWN -R calendar:calendar MyDocumentDirectory"
    I then restarted the service. It still wasn't working. I had a hunch that it had to do with the SSL certificate so I created a new self-signed certificate, updated the ical service to use that and it appears to be working.
    Apple, if you're listening you REALLY need to work on the ease of use of this - I stumbled into this solution and nothing in the server of your documentation gave me any help with this at all.

  • Acrobat Pro XI gives an error when trying to use the Get the Others to Sign feature.

    The error is "There is a system error. Please try again later." I use my Adobe ID for both Acrobat and EchoSign to log in but Acrobat will not connect to EchoSign.  I would like to send documents from Acrobat without having to load them into EchoSign. I have never done this before either so it has not stopped working. Any thoughts?

    Hello, thanks for your answers. I checked the JVM Heap size, we are using a 64 bit HW, and it was already set to 2048M, as well as both parameters Xms and Xmx. I also checked our virtual memory and directory space, the virtual memory looks fine, and the <SID> directory uses 5 GB of space.
    If you wish, I can write the configuration found on the Config Tool, where you set the JVM Heap size and other parameters.

  • Error while trying to use the DNS/DHCP record sync with IPAM script

    Could somebody help me to resolve the below error.
    I get this error message , when i try to do a Invode-ipamdhcplease
    ===========================================
    Invoke-IpamDhcpLease : [] Connecting to remote server failed with the following error message :
    The WS-Management service cannot process the request. Cannot find the Microsoft.ipam session configuration in the
    WSMan: drive on the  computer. For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [Invoke-IpamDhcpLease], PS
       RemotingTransportException
        + FullyQualifiedErrorId : InvalidResourceUri,PSSessionOpenFailed

    Try the following:
    Reason for issue:
        Possibly the Microsoft.ipam ps session configuration is missing from the ipam server.
    Resolution:
         Log into the ipam server
    Launch a powershell window with administrator privileges
    Execute the following commands:
    New-PSSessionConfigurationFile -Path ./ipam.pssc
    Register-PSSessionConfiguration -Name Microsoft.ipam -Path .\ipam.pssc
    Set-PSSessionConfiguration -name Microsoft.ipam –ShowSecurityDescriptorUI
    Add the following groups from the local machine scope:
            IPAM Administrators
            IPAM ASM Administrators
            Make sure they have full control privileges.
    Get-PSSessionConfiguration *ipam
            Now you should be able to see the Microsoft.ipam ps session configuration
    If the following command succeeds then the error should no longer occur
    $testSession = New-PSSession -computerName <ipamFQDN> -configurationName Microsoft.ipam.

  • 8800 general error whilst trying to use the straighten tool following "Classroom in a Book" lesson

    So in lesson 2 of Classroom in a Book we learn to straighten a scanned image, except having followed the instructions precisely I got the following message. Hope someone can help please?
    Thanks
    PS, Brand new, out of the box CS5
    - <no additional information available>
    Line: 27
    ->  var g_StackScriptFolderPath = app.path + "/"+ localize("$$$/ScriptingSupport/InstalledScripts=Presets/Scripts") + "/"

    IIRC, the CiaB files are MOV. Is that correct?
    Do you have Apple's QT Player installed on your PC, and if so, what version?
    Good luck,
    Hunt

  • Getting "HP imaging device not found" error when trying to use the scanner in mountain lion. Anyone else have this problem?

    The odd thing is the printer works, but the scanner isn't recognized.
    I ran the latest Mac software update first, and then reinstalled the HP software. I checked all the settings as suggested from the HP site, but nothing seems to work.
    Has anyone had this problem and found a solution?
    Thanks
    Steven

    The odd thing is the printer works, but the scanner isn't recognized.
    I ran the latest Mac software update first, and then reinstalled the HP software. I checked all the settings as suggested from the HP site, but nothing seems to work.
    Has anyone had this problem and found a solution?
    Thanks
    Steven

  • Error when trying to attach the Appraisal Submenu and function

    when i click on the link/function of Appraisal i am getting the following error in my Employee's SSHR responsibility:
    ERROR
    Can not access function PER_APPRAISAL_EMPLOYEE. This installation does not manage mode pl/sql. Please contact your System Administrator.
    plz help!

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • When I am trying to use the 'Up to Date' Program, it says that my Serial Number is invalid.

    I give the online form all of my information, but it says that my Serial Number cannot be verified. I don't want to pay $29.99 heehee. And I purchased my MacBook Pro on June 11, 2011...

    That was it, Thought it was smarter than that.
    Thanks for your help.

  • Decode variant data w/o using 'Variant To Data' function.

    I need to decode variant data w/o having foreknowledge of the type used to create it. That is, I'm using the 'Flattened String To Variant' function which gives me the info I need, but it's all contained within one indicator. I need some way to break this info down into its constituent elements.
    For instance, let's say I have the flattened data and type descriptor from a cluster with two elements, a boolean and a string, but not the structure itself. Passing this flattened data and/or the type descriptor into a function, I would get a 2D array (or the like) as output containing the name of the boolean (its label), its value, and the name of the string and its corresponding value.
    There must be a way to
    do this, and I suspect it's been done already, but I can't find any reference to it.
    I have attached a file named Test.vi which demostrates this problem.
    Remember, even though I know the name of the control, I won't know the type, so I cannot use the 'Variant To Data' function to deference these values. I can make ready use of DLLs, CINs, or LabVIEW code for the solution.
    Thanks ahead of time for any help! Greg
    Attachments:
    Test.vi ‏26 KB

    You might be able to take advantage of the Variant to Flattened String VI from the Advanced>>Data Manipulation>>Variants pallette. This VI converts a Variant to a flattened data string and a type descriptor. The type descriptor is explained in ap note 154. You might be able to create a VI that would parse data from the flattened data string using the type descriptor. You might have to represent each piece of data as a flattened string to work around the data flow issues in LabVIEW.

  • Runtime error when trying to use Thinkvantage system updater

    I get a runtime error when trying to use the Thinkvantage system updater.Have tried it numerous times and this is the exact message:
    "Runtime error!
    Program:C:\Program Files\Lenovo\System Update\tvsu.exe
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information."
    Can somebody please help me to get the Thinkvantage system updater working properly?
    Thanks-George
    This issue has since been resolved.Thanks-G

    I'm getting the same error.   I tried reinstalling system updater but it didn't help.

  • Has anyone tried to use the example XMLResourceAdapter?

    I get various java errors when trying to use the sample XML file resource adapter code supplied in the /idm2525/REF folder.
    I believe my java environment is Ok. I compiled the XMLResourceAdapter.java as per instructions. I get the 3 class files.
    I add these to the IDM configuartion as per instructions and add the custom resource adapter again following instructions.
    Things went ok. I can see the XML resource in my resource list. The only problems I get are when I try to use this resource.
    When adding the XML File resource to an existing IdM account I get error:
    java.lang.NoSuchMethodError: com.waveset.object.ResourceInfo.getPassword()Lcom/waveset/security/authn/EncryptedData;
    Has anyone any clue where to start looking to correct this?

    Hi Eric
    thanks for your answer.
    As far as I know, the INTERNAL CPU to GPU data transfer speed is way faster than the speed you can obtain via thunderbolt, so it doesn't matter what GPU you put in an external thunderbolt case, you won't benefit on any speed increase.
    But still when I goggle this subject I find people saying that they edit and render much faster with an external thunderbolt case and GPU.
    So I thought about trying to find the "truth" here on this forum.
    Anyone else wants to share his/her experience?
    Thanks

  • Error while trying to use '{' in the query

    Hi,
    The below mentioned query is giving Error while trying to use '{'
    Query:
    select s,x from table(SEM_MATCH(
    '{?s rdf:type <http://www.cs.com/sbip/dwh/mdm/data_modeling#Base_Term> .
    ?s ?p ?x}',
    SEM_Models('foundation'),
    SEM_RuleBases('OWLPRIME'),
    SEM_ALIASES(SEM_ALIAS('dm','http://www.cs.com/sbip/dwh/mdm/data_modeling#'),
    SEM_ALIAS('owl','http://www.w3.org/2002/07/owl#')), null, 'INVALID'))
    where regexp_like(x,'Customers','i');
    Error details:
    ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.TokenMgrError: Lexical error at line 1, column 1. Encountered: "{" (123), after : ""
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 178
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 67
    ORA-06512: at line 4
    I am unable to use Option, Filter in query.
    Any solution?
    Please let me know do i need to apply any patch?
    Note: I am using Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    Regards,
    Kavitha.

    Hi,
    For OPTIONAL support in 11.1.0.7.0, you need the following patch
    Patch 7600122: CURLY BRACE SYNTAX,VIRTUAL MODELS, NETWORK INDEXES AND HINTO FRAMEWORK SUPPORT
    Support for SPARQL FILTERs in SEM_MATCH is not available for 11.1.0.7.0. You will need version 11.2.0.1.0 or later for FILTER support. With 11.2.0.1.0, we recommend that you apply our latest patch set:
    Patch 9819833: SEMANTIC TECHNOLOGIES 11G R2 FIX BUNDLE 2
    All of the above patches are available through My Oracle Support.
    Thanks,
    Matt

Maybe you are looking for