Class conflict upon import

I've got the most ugly sub VI ever created (not by mysself) that I've been tasked with maintaining and upgrading.  It's a quagmire, but it's a quagmire that works with a couple minor exceptions.  It was written using LabVIEW 7.0.  One of my todos is to make it work under Windows 7.  To that end, plus several bug in LabVIEW 7.0 which are well past the point of expecting anyone to maintain, I've tried to import it into LabVIEW 2010.  I have one "Wire: Class conflict" errors upon the automatic upgrade that I can't figure out how to resolve.  It is a reference to a tab control that is wired into an Insert into Array VI.
Detail: You have connected a refnum of one type to a refnum of another type and both types are members of some class hierarchy, but there is neither a simple up cast nor type cast between the two classes.
Warning: the attached VI is the worst of a collection of what-not-to-do VIs I am dealing with.  I'll remove it as soon as I resolve this issue, due to sheer embarassment.
Certified LabVIEW Developer
NI-VLM Administrator
Solved!
Go to Solution.
Attachments:
IMM.vi ‏363 KB

I figured it out myself.
1. Create a constant to the Insert Into Array VI
2. Use that constant as Target Class to To More Specific Class VI
3. Use the original property node as reference to To More Specific Class VI
4. Disconnect the constant created in step #1, connect the output from To More Specific Class VI
Huh, no edit nor delete on the original post.  Oh well.
Certified LabVIEW Developer
NI-VLM Administrator

Similar Messages

  • Class Conflict On Object Wires

    Does anyone know why I get a class conflict when doing the below:
    All of the above objects desend from a common ancestor.  
    I can fix it doing this:
    Is this the correct way to get around it?   Do I lose the child specific member data when I recast it as the more specific class?

    You can see that not all classes inherit from BRSIGHT, because there's a coercion dot on all inputs going into the build array primitive. If they all inherited from it, then the first terminal would not have a coercion node.
    In the specific case of the code you show, this works because the first element (which is the one you take) IS a BRSIGHT, so casting it returns no error. If it wouldn't be a BRSIGHT, you would get an error out of the cast and a default BRSIGHT object. It's important to understand that the cast node doesn't change the object - the object always carries all of its data, regardless of the type of the wire it's on. Casting only changes the type of the wire, but the actual object on the wire has to be of the same class as the object wired to the type terminal.
    Try to take over the world!

  • Crashing upon import of any assets, Win 7

    Well,
    I got windows 7, intel i7 2.66 Ghz, 6Gb of Triple Channel DDR3 @ 1600mhz, a GeForce 260.. After banging my head against the wall trying to get a clean install of Master Collection 4 for 2 days, I have it all together.. NOW, Encore freezes upon importing anything as an asset. I always end up hitting the reset button to get out of frozen encore.. It's HEARTBREAKING!!! I am rendering straight to H.264 BluRay from Premiere/ Adobe Media Encoder and I am getting good progress.. Too bad I am incapable of authoring any BluRay or DVDs.. I have a pile of money waiting for me at the other side of this nightmare and I've been ready to burn the disks since Friday morning and it's 4:10am Tuesday night. I've thrown money at it like a broken down car, built a beast of a machine, and now it's on Adobe for creating such an unstable product.. It would be nice if we had some information when Encore crashes.. What driver is causing it? I have the latest Windows 7 drivers for everything.. I think I will waste some more time installing Windows XP on a separate disk, just for encore to burn pre-transcoded projects.. I'll probably have the same problems due to hardware conflicts.. I am getting closer and closer to going MAC!! If I hurry, I might get the 1000+ refunded that I just spent and put it toward a mac.. I wish somebody would compile a list of solid hardware configurations that are tried and true. That is the benifit of using Mac and it can be done on PC for half the money, but 10 fold the headache.
    On the lighter side, I do most of my business as a recording studio and I was able to get everything running properly for that.
    Windows 7
    Intel i7 920 (2.66ghz)
    ASUS P6T Motherboard
    6 Gb Kingston Triple channel DDR3 1600mhz
    BFG geForce 260GTX OC
    MOTU 896 mk3 firewire audio interface
    Dedicated PCI-E 1x 1394 card with TI Chipset
    M-Audio Delta 1010 pci audio interface
    LG 8X Internal Blu Ray Burner

    You have an answer in your previous " HD transcoding hell" thread.
    Let's know which one you want to close.
    Ciao
    Giorgio

  • I created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?

    i created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?

    Expanding and clarifying what BJD said;
    After you create the temporary sub-VI that BJD mentioned, open its front panel and copy the reference control that LV created when it created the sub-VI.
    This reference control will be correct class etc that you need. Use the control to replace the original control that you were attempting to wire up.
    The technique of "create sub-VI...copy" always works for me.
    There is one more thing that you should watch out for.
    The mechanical action of the boolean can not be set for latch action when attempting to read the value using a value property node.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Why do I get a class conflict between the Prepare SQL.vi and the Get Column Name.vi with the SQL Toolkit compatibility vis from the Database Connectivity Toolkit?

    I have done extensive programming with the SQL Toolkit with LabVIEW versions through 6.1. My customer now wants to upgrade to Windows 7, so I am trying to upgrade to LabVIEW 2009 (my latest purchased version) using the Database Connectivity Toolkit, and the SQL Toolkit Compatibility vis. Everything seemed to be going okay with the higher level SQL operations, but I ran into trouble with the Get Column Name.vi. 
    The pictures below show the problem. The original SQL Toolkit connected the Prepare SQL.vi with the Get Column Name.vi with a cluster of two references, one for connection, and one for sql. The new compatibility vis have a class conflict in the wire because the Prepare SQL.vi contains a cluster with connection, and command references, but the Get Column Name.vi expects a cluster with connection and recordset references. 
    How do I resolve this conflict?
    Thank You.
    Dan

    I've never worked with the old version of the toolkit, so I don't know how it did things, but looking inside the SQL prep VI, it only generates a command, and the the column name VI wants a recordset. I'm not super familiar with all the internals of ADO, but my understanding is that is standard - you only have the columns after you execute the command and get the recordset back. What you can apparently do here is insert the Execute Prepared SQL VI in the middle and that will return what you need.
    I'm not sure why it worked before. Maybe the execute was hidden inside the prep VI or maybe you can get the column names out of the command object before execution. In general, I would recommend considering switching to the newer VIs.
    Try to take over the world!

  • What class should be imported to resolve the error

    Dear all,
    would you please tell me that what class should i import to resolve the error for PreparedStatement.
    plz mention the import statement
    Error(437,13): class PreparedStatement not found in class oracle.apps.ak.cacheoffice.server.CacheOfficeAMImpl

    import java.sql.PreparedStatement;

  • ITunes 10.5.3 corrupting MP3's upon import?

    I recently upgraded to iTunes 10.5.3 and have added a few MP3 albums since the update.
    Various tracks are being corrupted when imported. I have previewed the songs using Finder prior to importing them in iTunes and they play absolutely fine however once added to iTunes they begin to skip and corrupt, especially towards the end of every song. I have checked albums imported prior to the update and they are not affected, it's only new albums I have added since the update.
    Has anyone else encountered this? As I say, the files themselves are fine before being added to iTunes but they skip and suddenly cut off before the end of the song when added to the library.
    Any advice or help will be really welcome.
    EDIT: The songs which are corrupt upon import all fail at approximately 40 seconds before the end of the song, no matter how long the track is.

    I do not believe the poster's update to Lion had anything to do with fixing the problem. What fixed their problem was the fact that they re-downloaded the file, not that they updated their OS. I continue to have this problem sporadically with iTunes Match, and my OS and iTunes are fully updated (AND I'm on a fast wired connection via Cable modem, not WiFi).
    I've had and continue to have this problem of a small number of songs getting downloaded corrupt when updatings songs via iTunes Match.
    Deleting and re-downloading from iTunes Match is the only solution I have found for the problem as I am having it: the songs ARE corrupted for me, and it's not just a metadata problem. When I open the songs in an audio editing program you can see that the audio just isn't there: the data stops before the end of the song (somewhere between 50% and 70% through the piece, usually). So copying it to another computer or re-importing it won't fix anything.
    The problem is that iTunes doesn't KNOW which of the songs I've matched-then-downloaded via iTunes Match are bad, and I won't know either until I happen to play one that skips before it ends.
    Here's the only solution I've found that will inspect these songs one at a time and list the bad ones:
    Create a Playlist of all songs you've downloaded (upgraded) via iTunes Match.
    Plug in an iPod (etc.) and wipe out whatever songs are on it already.
    In the iTunes setting for that iOS device, tell it to recompress the songs to 128k AAC as it puts the songs onto the iOS device.
    Now sync that entire Playlist to the device and wait.
    Result: all songs that cannot be down-converted by iTunes to 128k AAC (because the song data is bad) will be listed in the resulting error dialog.
    Here's the total suck part: iTunes doesn't let you save that list of errors off to a text file. You have to do one or more screen captures and save off the list, then manually go find those songs, delete them and re-download them from iTunes Match. Total PIA but it's the best I have come up with, since I can find no other utility or means to batch-check that these files are valid.

  • Scanned images rotate slightly upon import- any idea why and how to fix?

    I have been scanning photo images on my Epson Workforce 845. The images are straight in preview but rotate slightly upon import. Does anyone have an idea of a fix? The files themselves appear rotated as stored on the computer and before transferring to iPhoto.

    You wrote:
    "The windows viewer application ignores all profiles and treats all files as if they were sRGB."
    False. Windows 7 Photo Viewer is fully color managed.
    As for the reason why Photoshop cannot use the embedded profile, read for example
    http://support.microsoft.com/kb/935893
    Hannu

  • I use a mac ios and shoot raw in a cannon 5d mark ii and shortly upon import of my images lightroom darkens and changes my images. This has happened before but not every time. The strange part is my last shoot had the same camera setting but this did not

    I use a mac ios and shoot raw in a cannon 5d mark ii and shortly upon import of my images lightroom darkens and changes my images. This has happened before but not every time. The strange part is my last shoot had the same camera setting but this did not happen. The images i have now i can not use after lightroom has automatically altered them even if i try editing back to how they looked upon import

    First thing to do is to change the default camera profile applied in Lightroom to camera standard (assuming that you shoot Canon or Nikon). Also make sure that your camera is NOT set up to use any of the HDR modes. Nikon calls those Active Dynamic Lighting. On Canons you often see things like highlight priority mode or "Auto Lighting Optimizer". Make sure that the picture style is set to standard and that for newer Canons the HDR mode is turned off. Most of the HDR modes simply underexpose the image and then add an instruction in the raw file to compensate for this to prevent highlights from being blown out. This causes more noise in the shadows and if you know what you are doing there is no point to this as you should simply expose correctly and get the highest quality raw.
    Lastly, make sure that in Lightroom you have not checked "Apply Auto Tone Adjustments" in Preferences->Presets. This should make the default rendering of the raw files the same as the in-camera jpeg (what the camera shows on the back even if you shoot raw) but still give you all the latitude of raw files.

  • Colours upon importing Raw files change

    Hi,
    I shoot raw on Canon EOS 30D. As I wasn't happy with colour cast on my images (a bit reddish) and I couldn't get the results I like in Lr, I tried to change Picture Style Settings on the camera.
    I shot 3 images with 3 different settigs of Colour Tone (max left, middle, max right).
    I can see they look diffirent on the camera screen, they look different in import dialog box in Lr but when they get imported into Lr, they all look the same!! And the same redddish colour cast on all of them...
    Is Lr applying any settings upon import?

    marer1976 wrote:
    Hi,
    I shoot raw on Canon EOS 30D. As I wasn't happy with colour cast on my images (a bit reddish) and I couldn't get the results I like in Lr, I tried to change Picture Style Settings on the camera.
    I shot 3 images with 3 different settigs of Colour Tone (max left, middle, max right).
    I can see they look diffirent on the camera screen, they look different in import dialog box in Lr but when they get imported into Lr, they all look the same!! And the same redddish colour cast on all of them...
    Is Lr applying any settings upon import?
    When in doubt...
    http://forums.adobe.com/community/lightroom/lightroom_faq

  • IPod 60G: way to convert to lower kbps upon import??

    I was looking in the iPod help menu for a way to convert my iTunes tracks to a lower kbps upon import (as a way to maximize space). It looks like there is a "convert to lower kbps" button for iPod Shuffle; however, not one for iPod.
    Anyone know if there is a way to get this done?? Would rather have my songs at 160 kbps on iTunes and then lower on iPod. The more songs the merrier, ya followin' me??

    Itsmyvoodoo,
    Welcome to the discussions. There is no option like that on the iPod Shuffle. However, there are ways to do what you want. Check out this repost I made in response to a user who had imported all her music as Apple lossless and had run out of room on her iPod:
    "Apple lossless files are the biggest files you can import your music as. You have a couple options now. What you are going to need to do is convert the songs to a smaller file size like AAC. Under your import preferences, change the file type to the one you would like to convert your music too. Then, in library, sort your music by "Kind." If there isn't a "Kind" collumn at the top of your library, right click the "sorting bar" and select Kind. A collumn should appear. Click on it so that the arrow is either pointing up or down. See what file types your songs are. Are there any that are already in the format that you are about to convert to? If so, don't select those songs. Otherwise, select all the songs that are not the file type you would want (we'll say for discussion purposes that you chose AAC under the Import tab). Right click the selected songs, choose "Convert to AAC." iTunes will then copy and paste all the songs you selected into the new file format, AAC. Now, you have two options. If you have plenty of memory on your computer, I would choose Option 2.
    Option 1:
    You could delete all the music in the Apple Lossless format from your library and continue syncing the iPod automatically.
    Pros: You don't have to change any of the settings you use to sync your iPod.
    Cons: You delete the higher quality music. If you ever want to play your iPod through a stereo or high quality speakers, you won't have the high quality music to play.
    Option 2
    Make a Smart playlist (File>Make New Smart playlist). Choose "Kind" in the first drop down menu. Choose "Does Not Contain" from the next drop down menu. Then, type in "Apple Lossless." What this does is essentially create a seperate library for you; one that contains no lossless files. Now, depending on how many playlists you have, you may want to replace the songs in the playlists with AAC files, but if you don't have too many playlists with Lossless files, it should not be a problem. Next, connect your iPod. Go to File>Preferences>iPod Tab Choose automatically update selected playlists only. Then select all the playlists, including the smart playlists, you want to sync onto your iPod. This will sync all the files in your library, excluding those in the lossless format.
    Pros: You get the best of both world. You have all the lossless files on your computer, and all the AAC files on your iPod.
    Cons: You take up a lot of file space on your computer when you virtually duplicate your library.
    Hopefully that wasn't impossible to follow. Try one of the options and see how much file space you save. Post back with any questions."
    JC

  • Class conflict when programmatically editing graphs with property node

    I am trying to programmatically move the cursors on a graph. I want the cursor to look the same on 2 different graphs so I made a subVI. The code works correctly when I have seperate property nodes, but when I try to use the subVI, I get a class conflict -
    "You have connected a refnum of one type to a refnum of another type and both types are members of some class hierarchy, but there is neither a simple up cast nor type cast between the two classes."
    I am not sure how to fix this. The graph that works is of a waveform, and the graph that doesn't is the output of the FFT Power Spectrum VI. Is the problem that the inputs are different? Or is there some kind of resource conflict when using property nodes in subVIs?

    A shot in the dark here.  But maybe if you make the subVI's input reference of type GraphChart it would work.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Photos are automatically rated with one star upon import

    Hi. I've noticed recently that everytime I connect my camera and import my photos into LR that all of the photos are automatically rated with one star. Even when I go to select all, set rating to zero, nothing changes. What am I missing here and how does all of my photos automatically get rated upon import? It's annoying that I have unrate each and every single photo. I have looked all over and I can't find anything that mentions photos being rated automatically. Any advice is greatly appreciated.

    Check your import presets to see if one is selected that contains the one star assignment.

  • Class conflicts with third-party libraries on j2ee engine

    Hi,
    I am deploying a repository manager into EP. In my repository I referenced javax.xml.namespace.QName, which conflicts with the one declared in jaxrpc.jar in j2ee/cluster/server0/bin/ext/webservices_lib.
    I am not very clear about how NW j2ee engine loads classes, but it seems that it loads classes in j2ee/cluster/server0/bin/ext/webservices_lib first. As a result, I got a class confliction error:
    java.lang.NoSuchMethodError: javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    If I remove QName.class from the jar in webservices_lib, it works fine, but this not the right way. I have read Note 990854, but not clear about how to do. Could anyone give any help?
    Thanks,
    Ray

    Close this thread as it makes little sense.

  • Microsoft Lync Server 2013, Backup Service user store backup module detected items having pool ownership conflict during import.

    Dear Team,
    I have two Enterprise lync 2013 pools, abcPool and abcpool1. abcPool1 has got two servers, Server1 and server2. and abcpool has one FE server named "Server 3". and they have pool pairing.
    Replication was fine between them when i had only one FE server in each pool, one day FE service broke on one of the FE server on abcpool1 and failed to start so i had to do failover to another pool, at that time i introduced one more FE in abcPool1, that
    why now 2 FEs in abcPool2. Server1 FE service was resolved by reinstalling the binaries. However after that im unable to get the backupservice state to normal, i tried the below articles with no luck,
    http://social.technet.microsoft.com/Forums/lync/en-US/0403621e-26b6-4cd0-bbca-8534a20de665/backup-service-pool-ownership-conflict-during-import?forum=lyncdeploy 
    http://msucmenow.blogspot.in/2013/05/troubleshooting-lync-2013-pool-pairing.html
    "Event on Server 1"
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 8:02:33 AM
    Event ID:      4073
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      ABC.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module detected items having pool ownership conflict during import.
    Items having pool ownership conflict: 
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7972, DocName: urn:hcd:[email protected]
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7973, DocName: urn:lcd:[email protected]
    ItemId: 1b3be172-b121-43cf-bd4e-b3d368eae6a9, DocId: 7974, DocName: urn:upc:[email protected]
    PS C:\Users\lyncadmin> Get-CsBackupServiceStatus -PoolFqdn pool1.net | fl
    ActiveMachineFqdn   : abc1.net
    OverallExportStatus : SteadyState
    OverallImportStatus : ErrorState
    BackupModules       : {UserServices.PresenceFocus:[SteadyState,ErrorState],
                          ConfServices.DataConf:[FinalState,NormalState],
                          CentralMgmt.CMSMaster:[FinalState,NotInitialized]}
    Following error in "Lync Server" logs on server3 on abcPool.
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 9:37:47 AM
    Event ID:      4069
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:     SQL1.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module encountered an exception that was handled gracefully when importing document batch.
    Batch file: UserServices\PresenceFocus\1-UserServices-8\Data\488bc218-9954-4caf-a5da-89efdb7b85a7_0_1562.xml.
     Exception: System.Data.SqlClient.SqlException (0x80131904): Snapshot isolation transaction aborted due to update conflict. You cannot use snapshot isolation to access table 'dbo.Batch' directly or indirectly in database 'rtcxds' to update, delete, or
    insert the row that has been modified or deleted by another transaction. Retry the transaction or change the isolation level for the update/delete statement.
    Log Name:      Lync Server
    Source:        LS Backup Service
    Date:          1/21/2014 9:52:45 AM
    Event ID:      4064
    Task Category: (4000)
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:     SQL1.net
    Description:
    Microsoft Lync Server 2013, Backup Service user store backup module encountered an exception that was handled gracefully during export.
    Additional Message: 
     Exception: System.IO.IOException: The process cannot access the file '\\SQl1.net\LyncShare\1-BackupService-10\BackupStore\UserServices\PresenceFocus\Cookie\Cookie.zip' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
    Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    Praveen | MCSE Messaging 2003

    When you add a new FE in pool acdpool1, please check you have run the following:
    <system drive>\Program Files\Microsoft Lync Server 2013\Deployment\Bootstrapper.exe
    For the details, check
    http://technet.microsoft.com/en-us/library/jj204773.aspx
    Lisa Zheng
    TechNet Community Support

Maybe you are looking for

  • Data Maintenance view exist - but unable to modify data in SM30.

    Dear all, Had created a customized table, with "Display/Maintenance Allowed". Table maintenance is also generated. So data in the customized table can now be maintained via SM30 in the Development server. However, when the customized table is transpo

  • How to download a web page intact as one file, which can be easily done with Safari

    On Safari all I do with a complex web page is 'Save As (whatever I wish, or its existing description. That shows as a complete webpage in a single file. Firefox saves it as a file PLUS a folder of elements. Takes up twice my desktop real estate, and

  • T61p w/ Advanced Mini Doc support multiple monitors

    Can I use a t61p (w/ nvidia card) in the advanced mini dock and two monitors (one connected to the analong VGA and the other to the DVI port? thx.

  • How to fetch?

    Hi friends... I am creating a report for earnings in foreign currency. In that there are some 10 to 12 G/L account numbers which  are given by the user.I have to take records from bsid table belonging to only that G/L accounts. So how can I do this ?

  • Predictive Analytics installation prerequisite

    Hi all, so I'm trying to install Predictive Analytics 2.0 on my laptop Helix but the system keeps saying the following error: "This product cannot be installed on the same machine as SAP Predictive Analytics 2.0 All incompatible products must be unin