I get an 'Invalid Image Type' error when using the Locate Features. (Evaluatio​n version)

I'm using the Evaluation Version of Vision Builder. I Simulate Acquisition using my own image (jpg), which loads fine. However, when I try to use any of the Inspection Steps features, other than Enhance Images, I get an "Invalid Image Type" error.

Hello,
Vision Builder functions usually work with a certain image type. For example, all the functions listed under Binary (in the menubar) will only work with binary images. Likewise, color functions will work for color images and grayscale will work for grayscale images.
You can convert a color image into a grayscale by extracting a color plane and a grayscale image can be converted to binary using the threshold function.
Hope this helps!
Regards,
Yusuf C.
Applications Engineering
National Instruments

Similar Messages

  • Strange behavior with invalid image type error

    Hi,
    I'm currently developing a stereo vision application. I started with the StereoVisionExample provided by NI but want to use my own camera drivers.
    I created the GetImage vi (see attachment) that accepts the camera handle and an allocated image, reads the acquired image from the camera, transforms the image array to a color image and returns it. I tested it with the TestVI (attached) and it works perfectly well.
    Now I wanted to integrate it as image source for the given example application and replace the ExpressVIs but this doesn't work. I get a 1074396080 invalid image type error as soon as the GetImage SubVI is called. The only possibility to run it without an error is to set the image type to RGB64 but in this case the image is not shown correctly. I get the error no matter if I choose Grayscale, HSL or RGB32 for the initial image creation. The strange is that with the TestVI everything works perfect, even with HSL that I'm using to get the grayscale image or RGB32. Basically I didn't do anything except copying the VI from Test to StereoExample. It's driving me crazy that the GetImage VI works perfect in the one but not in the other VI with the same data! What's wrong with that?
    I appreciate your help.
    Attachments:
    getImage.jpg ‏47 KB
    stereoVision example.jpg ‏92 KB
    TestVI.jpg ‏44 KB

    Hello NicoSch!
    In order to reproduce the error, I need the image data generated by the image driver you are using. Please wire the 2D array with the image data to a control on the frontpanel and run the VI. With the data now displayed, right-click the control and choose "Data Operations > Make Current Value Default" to save the data in the control. Please attach the VI to a new forum post.
    Additionally, can you describe the type of image acquired by the camera? Is the 2D array a 32bit RGB image? What camera and LabVIEW version are you using?
    Regards,
      Georg

  • Multivalue error when using the previous() function

    I am getting a multivalue error when using the previous() function on a dimension object in the report.  I thought that the previous function was supposed to look at the current report and then look at the previous record's contents.  How could this possibly give me a multivalue error when the value is clearly output in the previous row?  Anyone have any ideas?
    By the way, this is a valuable function for the types of reports that I design.  The next() function would be even more valuable.
    Thanks for your help.

    Hi Michael,
    Could you please test the following solutions it might help you to resolve the issue.
    Solution1:
    Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
    Solution2:
    Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
    Regards,
    Sarbhjeet Kaur

  • HT204291 Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.

    Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.

    You are prevented from Airplay mirroring certain things like DVD content as the material is usually protected so you get a checkerboard type display.  I think there is a theoretical risk that the Airplay stream could be intercepted and the protected video copied, albeitin lower quality.
    Apple may be being cautious or are required to do so with the DVD player app by movie studios/licensing authorities.  It makes no sense to the average consumer who is just trying to send their purchased DVD to the TV via the computer and AppleTV.
    Playback in something like VLC should work - not tried it myself but others have commented it doesn't have the restriction.

  • TS1702 unknown error when using the app store

    unknown error when using the app store

    Im sorry I will try to be more clear.. and I appreciate all of ur input. Wi-fi works fine.. everything opens and functions fine on the I pad. The problem is I will click on app store or the I tunes store...it opens fine and I am able to look at and download apps  etc... but after being in the appstore or I tunes store for a couple of minutes I get kicked out to the I pads home screen. Its like pushing the home button but I didn't. It only seems to do this when im in the app store or I tunes store. I have been using the chrome browser and other downloaded apps such as ebay just fine with out this problem occurring. Not sure about safari as I dont use it and use chrome instead. Um I don't think the home button its self is faulty because it works fine and as stated before this only happens when I am in the appstore or I tunes . I've only had this I pad 1 64gb wi-fi for a few days .. I got it off of ebay it was stuck in restore mode getting error code 1611.  I was able to successfully Restore it with I tunes and it running ios 5.1. Seams to work great besides the problem being mentioned.

  • Intermittent  error when using the Disco Viewer client

    Hi, I have a user receiving the following intermittent error when using the Discoverer Viewer client:
    “The application encountered an invalid state.
    - Discoverer Beans XML Exception. Method: findNode Class: XMLUtils Error: Cannot find parent node. Parent element does not exist in XML document, looking for database_account/eul
    OracleBI Discoverer Viewer was unable to find the necessary data for displaying the results of this event. Please correct any errors and try again.”
    Any idea what this might be? Any help or direction would be very much appreciated! Thank you!

    Hello
    Is this related to a single machine or common to a single report or is it purely random?
    I did a search on your behalf and came up with nothing related to this error. You may therefore need to raise the problem with Oracle Support.
    Just out of curiosity which version of Discoverer are you using?
    Michael

  • HT5105 I have been trying to create a multicam clip from two camera's. They sync properly when using the sync feature but not when I use the multicam feature does anyone know what I may be doing wrong?

    I have been trying to create a multicam clip from two camera's. They sync properly when using the sync feature but not when I use the multicam feature does anyone know what I may be doing wrong?

    Probably best if you could post screen shots of the Inspecror window in extended view with a couple of the clips you using for the 2 angles.
    If you have audio from both cameras and have identified them separately, the sync is usually pretty reliable.
    Russ

  • I am getting a Invalid Server Certificate error when I go to secure web sites.

    I am getting an Invalid Server Certificate error in Safari when I go to https web sites. I am running Snow Leopard 10.6.8. My time and date are correct on my computer. I have no problem accessing non-https web sites.
    Any suggestions on why this is happening are appreciated.

    Launch the Activity Monitor application by entering the first few letters of its name into a Spotlight search. Select “All Processes” from the popup menu in the toolbar, if not already selected. Enter "ocspd" (without the quotes) in the "Filter" text field. Does a process with that name appear in the table below?
    If not, see this thread:
    ocspd crashing after 10.6.8 update on...: Apple Support Communities

  • (SUP for Blackberry) JCo unknown type error when using PT_ARQ_REQUEST* RFC

    Dear community,
    I am encountering a weird error when trying to execute the PT_ARQ_REQUEST_PREPARE RFC in a Leave Request scenario for BlackBerry with the SUP.
    When creating the MBO from the RFC PT_ARQ_REQUEST_PREPARE and testing it with the parameters
    im_command = create
    im_modus = r
    im_pernr = 00001000
    im_wi_id = 000000000000 (initial value)
    im_request_id =  *emptyString* (initial value)
    I get an "execution suceeded" everytime EXCEPT when I try to return the output structure ex_request! However, this is exactley the information needed to execute the following RFCs PT_ARQ_REQUEST_EXECUTE and PT_ARQ_REQUEST_CHECK. The error I get when executing is the following:
    unknown JCO type
      java.sql.SQLException: unknown JCO type
    I checked for short dumps in the transaction ST22 and found an OBJECTS_OBJREF_NOT_ASSIGNED_NO     (CX_SY_REF_IS_INITIAL) error that marks an error when retrieving the attributes (most likely from the ex_request structure). I looked at the structure and found out that it is a deep structure. Could that be the reason for the error? How can I fix it and get the correct output? Does anybody has experience with a similar problem?
    Thank you for your help in advance!
    Best regards,
    Jenny
    PS: some additional info about the error message:
    unknown JCO type
    unknown JCO type
      java.sql.SQLException: unknown JCO type
      com.sybase.vader.jca.sap.connector.cci.SapJcoResultSetMetaData.getColumnType(SapJcoResultSetMetaData.java:135)
      com.sybase.uep.eis.RecordSetImpl.<init>(RecordSetImpl.java:69)
      com.sybase.uep.tooling.eis.BaseEISOperation.getRecordSetFromResultSet(BaseEISOperation.java:980)
      com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:259)
      com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:154)
      com.sybase.uep.tooling.eis.SapEISOperationImpl.execute(SapEISOperationImpl.java:401)
      com.sybase.uep.tooling.ui.ModelsUtil.getEEISOperationMetaData(ModelsUtil.java:252)
      com.sybase.uep.tooling.ui.ModelsUtil.refreshAttributes(ModelsUtil.java:892)
      com.sybase.uep.tooling.ui.ModelsUtil$3.run(ModelsUtil.java:778)
      com.sybase.uep.tooling.om.util.MobileObjectModelsUtil.execUpdate(MobileObjectModelsUtil.java:1027)
      com.sybase.uep.tooling.ui.diagram.extension.commands.CommandUtils.runUpdate(CommandUtils.java:219)
      com.sybase.uep.tooling.ui.ModelsUtil.refreshRead(ModelsUtil.java:742)
      com.sybase.uep.tooling.ui.ModelsUtil$6$1.run(ModelsUtil.java:1046)
      org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection$3.doExecuteWithResult(AbstractModelerPropertySection.java:584)
      org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
      org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
      org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(CompositeCommand.java:403)
      org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:135)
      org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511)
      org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection.executeAsCompositeCommand(AbstractModelerPropertySection.java:315)
      com.sybase.uep.tooling.common.ui.property.view.UEPPropertySheetSection.executeAsCompositeCommand(UEPPropertySheetSection.java:406)
      com.sybase.uep.tooling.common.ui.property.view.UEPPropertySheetSection.runAsCommands(UEPPropertySheetSection.java:389)
      com.sybase.uep.tooling.ui.properties.sheets.mbo.MBOAttributesBoundMappingPropertySection.runAsCommands(MBOAttributesBoundMappingPropertySection.java:583)
      com.sybase.uep.tooling.ui.tableviewer.common.editingsupports.PropertyViewCommandDelegate.runInCommand(PropertyViewCommandDelegate.java:48)
      com.sybase.uep.tooling.ui.ModelsUtil$6.run(ModelsUtil.java:1039)
      org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Edited by: Jenny Bachmann on Feb 8, 2011 6:29 AM

    Hi Jenny,
    I can't remember what the issue exactly is but I think it's related to one of the data types used in the returned structure.
    In any case it's probably a good idea to create your own RFC enabled function module to call the 3 standard function modules instead of calling them one after the other. This way you will avoid unnecessary network communication and you have more control on the data that is exchanged.
    Regards,
    Pierre

  • UDESEncrypt Errors when using the JAVA engine (NW IDM 7.0)

    Folks,
    I'm seeing an error when I use the uDESEncrypt function with the Java Engine in NW IDM SP2 Patch 3.
    The error I am getting is:
    runFunctionsInString($FUNCTION.encrPWD()$$) got exception
    org.mozilla.javascript.EvaluatorException: uDESEncrypt: Key should be exactly 24 bytes long.
    The code calling it is:
    // Main function: encrPWD
    function encrPWD(Par){
         //Example calling DSE internal function
         //UserFunc.uStop("Terminated by user");
         key = "C:\Program Files\SAP\IdM\Workflow\configs\KEY\keys.ini";
         OutString = UserFunc.uDESEncrypt(key, Par);
         return OutString;
    I have also seen this error when using Patch 4.
    Interestingly enough, the error does not occur when using the Windows Engine.  Anyone else seeing this?
    Thanks,
    Matt

    Hi Matthew,
    Try to replace the '\' with '
    key = "C:
    Program Files
    SAP
    IdM
    Workflow
    configs
    KEY
    keys.ini";
    Alternative approaches,
    1) setting key empty and it will look into %DSE_HOME%\KEY\key.ini
      which should be C:\Program Files\SAP\IdM\Identity Center\Key\key.ini on default installation path.
    2) or setting the key to something like = 6D5A2AF59B1CDD7F9592484F178331C891537A3F9B91D362
       a 24 byte key...
    Also when using DES you should ensure that in Identity Center underneath Options/General
    you have encryption algorithm set to 3DES.
    Normally if you intend to use this for password provisioning in IC you would also
    on the identity store (for instance 'Enterprise people') underneath 'password policy' check
    of for 'enable password provisioning.'
    By doing so the MX_ENCRYPTED_PASSWORD with be set when operating through
    workflow (3DES encryption version of the MX_PASSWORD) which allows you to obtain password
    when provisioning to other target systems...

  • Can I assign several physical storage locations for each virtual machine when using the replication-feature from Hyper-V 2012 R2?

    Hi everyone,
    I have 2x physical servers running Hyper-V 2012 R2. Each hosts several virtual machines. The VHDs of the VMs are stored on several dedicated physical disks to have a performance boost. For exampe if VM A has two VHDs attached I made sure that the VHDs are
    on different physical disks to have them not slow-down each other in case of intensive disk accesses.
    So far so good. I was looking forward to the replication-feature. The idea is to have the two physical servers have their primary running VMs being replicated to the other physical server and vice-versa. I was hoping to have the chance to choose for each
    individual VM where the replicated VHD will be stored. But instead I can only see the one location/path which is configured in Hyper-V Manager when I activate the replication-feature on the server.
    Is there by any chance a way how to select the storage location for each VHD/VM if using the replication-feature of Hyper-V 2012 R2?
    Thanks in advance.
    Cheers,
    Sebastian

    Secondly, you could replicate different VMs to different storage locations to perform some of the disk balancing you are trying to perform.  Lastly, you could copy the vhd file to a different location
    before starting the VM.
    .:|:.:|:. tim
    Hi Tim,
    thanks for the reply. Sorry, but I had some other tasks to take care of, so I wasn't paying enough attention to this thread.
    The part I quoted from your reply sounds exactly like the action I'd like to perform, but as you pointed out before this should not be possible.
    How can I perform the action (replicating each VM to a storage location) as you mentioned secondly? To sum it up again:
    2x physical machines carrying severel HDDs
    8+ VMs spread to run on the 2x servers
    when setting up replication I can only set the storage-location from server A on B and vice versa B on A
    Thanks again for your reply.
    Cheers,
    Sebastian

  • Getting 415 Unsupported Media Type error when calling a windows web service

    I have a BPEL process that invokes a windows web service. This process is working currently on the production system. When trying to run the process in a new test clustered environment, I'm getting the error below (bolded).
    We're using 10.1.3.3 Oracle Application Server and BPEL. Please advise on what config files might need to be tweaked to fix this.
    InvokeWindowsLoggingWebService(faulted)
    [2010/04/16 17:26:35] Faulted while invoking operation "WriteLog" on provider "WindowsLoggingWebService". less
    -<messages>
    -<input>
    -<InvokeWindowsLoggingWebService_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    -<WriteLog xmlns="http://tempuri.org/">
    <FileAbsolutePath>
    R:\CV & RM\upload_from_test.log
    </FileAbsolutePath>
    <Content>
    ||*************************************************************************************|Append to log file 2010-04-16T16:57:08-04:00|*************************************************************************************||START DATE: 2010-04-16T16:57:08-04:00|END DATE: 2010-04-16T17:25:58-04:00|COUNT: 106|TRANSFER OF FILES TO TAS SUCCESSFUL
    </Content>
    <NewLineDelimiter>
    |
    </NewLineDelimiter>
    </WriteLog>
    </part>
    </InvokeWindowsLoggingWebService_InputVariable>
    </input>
    -<fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages>
    [2010/04/16 17:26:35] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 415 Unsupported Media Type
    </summary>
    </part>
    </remoteFault>

    I generated a proxy service in jdev and used the same parms as was done on OAS...
    <WriteLog xmlns="http://tempuri.org/">
    <FileAbsolutePath>
    R:\CV & RM\upload_from_test.log
    </FileAbsolutePath>
    <Content>
    ||*************************************************************************************|Append to log file 2010-04-16T16:57:08-04:00|*************************************************************************************||START DATE: 2010-04-16T16:57:08-04:00|END DATE: 2010-04-16T17:25:58-04:00|COUNT: 106|TRANSFER OF FILES TO TAS SUCCESSFUL
    </Content>
    <NewLineDelimiter>
    |
    </NewLineDelimiter>
    </WriteLog>
    and was able to call the service fine and it returned successful. Just seems to be an issue on the server when I execute it from there.

  • Getting error when using the option "Open Shared Calendar"

    Hello Everyone,
    I have created four calendars for our office all of them for booking meeting rooms.
    Three of the four work just fine but the fourth is being a pain.
    I'm running Exchange 2010 and all our clients are running Outlook 2007. I have re-created
    the meeting room a couple of times just to make sure I hadn't missed anything.
    When I, or another staff memeber tries to use the "Open a Shared Calendar"
    withing Outlook 2007 in Calendar view, we get the below error.
    Cannot display the folder. Microsoft Exchange is not available. Either there are
    network problems or the Exchanges computer is down for maintenance.
    Any ideas why I'm getting this error?
    Thanks,
    Sean

    Hi Sean,
    Could you please check the conference room type,whether it is an Auto Accept or Delegate Type.
     checking the conference room type :
    Get-CalendarProcessing conference room| fl *policy*
    you may get the below results:
    >Get-CalendarProcessing conferenceroom name| fl *policy*
    RequestOutOfPolicy    : {}
    AllRequestOutOfPolicy : False
    BookInPolicy          : {}
    AllBookInPolicy       : True
    RequestInPolicy       : {}
    AllRequestInPolicy    : True
    If "AllBookInPolicy       : True" it mean it is an Auto Accept type and if "AllBookInPolicy : False" then it is Delegate type conference room.
    If it is an Auto accept type then you should have Editor access on the concern room calendar to manage it and the same time if the room is an Delegate type you suppose to have Delegate access over the room.
    To check whether you have permissions to access the room calendar.
    >Get-MailboxFolderPermission -Identity conferenceroom name:\calendar
    RunspaceId   : b36c1c40-34df-49de-a978-792c216c211e
    FolderName   : Calendar
    User         : Default
    AccessRights : {LimitedDetails}
    Identity     : Default
    IsValid      : True
    RunspaceId   : b36c1c40-34df-49de-a978-792c216c211e
    FolderName   : Calendar
    User         : Anonymous
    AccessRights : {None}
    Identity     : Anonymous
    IsValid      : True
    RunspaceId   : b36c1c40-34df-49de-a978-792c216c211e
    FolderName   : Calendar
    User         : skumar(s)
    AccessRights : {Editor}
    IsValid      : True

  • Facing data type error when changing the order of fields in a query

    Hello Experts
    I am working on E sourcing 5.1.
    I have a query with some filters . I want to change the position of a particular filter.
    Basically I want to move a filter of type date to the top , so that it is the 1st parameter.
    I was able to do this by reorder option.
    However at runtime it gives me an error saying that "error  u201CORA-00932:  inconsistent datatypes:  expected NUMBER got date."
    Later I reverted back my changes so that the date filed is at its original position and faced no issues.
    Query worked fine.
    Is the order of filters important when executing a query.
    Please suggest how can I move the date filter to the top of the query's filter list.
    Regards
    Vikas

    Hello Vikas,
    Its not the SELECT statements that you need to change. You have to change the WHERE caluse.
    In the WHERE clause, some of the conditions will have some table column equated to a '?' symbol. This symbol is a place-holder for a filter prompt. There is a one-to-one correspondence between the '?' symbols and the filter prompts created in the query(under the Filter Prompt tab). This means that the first '?' corresponds to the first filter prompt, second '?' to the second filter prompt and so on.
    Keeping the above information in mind, you can attempt to make changes to your query. You can duplicate your existing query and try your hands at it.
    One more point worth mentioning : It is evident that if you need to use the same filter prompt at more than once place in the query definition, you have to create more than one instance of that query prompt.(Here by another instance I mean that the two filter prompts should have same values in their fields when you define them.) But even when you create more than one instance of a filter prompt, on the UI it will appear just as a single instance.
    If things have become more confusing than before (of which there is a high probability ) then please go through the online help for Queries. It has got an extensive documenation and will be surely be of some help to you.
    Good luck!!
    Devesh

  • Entire image turns black when using the type tool in Photoshop CC

    When I create a text layer, the whole image turns black.  If I enter the text blindly, I will see the expected results when I finish and click on another tool.  If I try to edit the text layer, everything turns black again.  I am not using the type mask tool.  I can select and move the layer and I can blend the layer; I just can't see what I am typing.
    Using Windows 8

    I had the same problem and the update of the video card driver did not help - only after changing the settings in photoshop under "Preferences >> Performance >> Advanced settings >> Basic" the problem was solved

Maybe you are looking for

  • How to unsubscribe calendars in iCal?

    I have some old subscriptions of friends' calendars in iCal that I would like to get rid off... How do I do this?! Thanks

  • Purchase order IDOCS

    Hi All, We have a legacy system to which I need to send data related to a purchase order. The information required is as follows: 1) Purchase order number 2) Purchase order position (line)      3) Project number 4) Item of purchase line 5) Item descr

  • ShowModalDialog in jsf

    I have a view page that shows a list account in a dataTable. When the user clicks on the edit link, a showModal box opens which shows the edit view for the list of accounts. When the user clicks on one of the Add or cancel action buttons, the action

  • Updation of Column according to the selection of Combo Columnn of Matrix.

    Hii Experts,               I have a matrix with two columns.               First column  is a combobox & validvalues are "Departmental,Contractor"               Now I want that if one choose Departmental in 1st column then one could not write anythin

  • Driver problem, x1600, XP not displaying correctly on large display

    I am using the ATI x1600 radeon mobility graphics card in my Macbook pro. When running bootcam and XP I try to get it connected to my 1080p television. I am using XP to play games, so all want is a wide screen resolution, 1280x720, 1360x768 ect. (so