Go to Post Take what you have learned, build on it and share it. Others will do the same. Enjoy the journey. - Bertman [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2009, 12:24
TDohse TDohse is offline
Registered User
AKA: Thomas
no team (NI)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 39
TDohse is an unknown quantity at this point
Re: Error -1074396080 camera trouble

Error number -1074396080 means "IMAQ Vision: (Hex 0xBFF60450) Invalid image type." (You should be able to right click and select "Explain error" where it occurs, or in LabVIEW select Help->Explain Error... to get error explanations)

If you look at the "Detailed Help" for ColorThreshold, you'll see this text:

Quote:
Image Src is the reference to the image to threshold. The source image is converted to 8 bit and contains the result of the threshold if Image Dst is not connected.
Here's what I suspect is happening: Your input image is a U32 image, and you're not supplying a destination image to the first ColorThreshold call, so it is changing the image to a U8 during the operation. When you call ColorThreshold a second time, you are passing in a U8 image, which is an invalid input, causing the error.

You will need to use a second IMAQ Create, with type "Grayscale (U8)" to supply to the "Image Dst" input of the first ColorThreshold, otherwise it will overwrite your source image (U32) with the threshholded image (U8).
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble With Autonomous Camera Tracking whswrestler189 NI LabVIEW 5 21-01-2009 19:20
Error in code light on, trouble finding error Bryan Herbst Programming 16 12-10-2007 21:59
I'm having trouble with this camera stuff Ianuser Programming 5 13-02-2007 10:45
Camera servo trouble Demothesis Electrical 5 27-01-2007 17:15
Having trouble with your camera mount? Chriszuma Programming 7 01-02-2005 22:12


All times are GMT -5. The time now is 00:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi