Go to Post But don't forget about the little details, that can (and will) come back to haunt you. - Ben Piecuch [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 09-02-2013, 17:04
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Image Dst issues

Hello. I am doing my vision tracking on the dashboard. I would like to display the rectangles on the real image which means I have to make the VIs not overwrite the image. I found out that this is done by wiring up image dst. what I dont understand is this: what do I wire up to image dst? Do i create a constant at that location? What do I do?
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2013, 20:03
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Image Dst issues

Because of their memory size, the vision team chose to expose allocations to the user. This means that they are a bit more fiddly that normal LV data, but it isn't that hard or dangerous.

If you look at the left of the typical vision diagram, you'll see that some images are Created and are wired in as dest images to other blocks. These are typically not deallocated and are used over and over, so no need to close them.

Make sure that you set the image depth correctly or you'll get runtime errors about the destination not being compatible.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2013, 22:59
Hypnotoad's Avatar
Hypnotoad Hypnotoad is offline
Junior Assistant Secretary of Moon
no team
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: California
Posts: 114
Hypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these partsHypnotoad is infamous around these parts
Re: Image Dst issues

That is good knowledge to have in the future, but I was hoping to learn how to use the image dst link on the vision VIs.
__________________
The following sentence is true.
The preceding sentence is false.
This sentence is false.
This signature is false.
My teeth are false.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2013, 10:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Image Dst issues

I'm sorry if my post was confusing. I was explaining how to create an image that you would then wire into Dst.

I believe the general rules for image VIs are that with no Image Dst, it will attempt to use Image Src for the output image. If that won't work, it will return an error.

If you wire an Image Dst, it will leave Image Src alone and will place the output into Image Dst.

There is also the technique of branching the wire and wiring a single image to both Src and Dst. I believe this is similar to leaving Dst unwired. The help for the various Vision VIs will contain details about Src and Dst requirements.

Greg McKaksle
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


All times are GMT -5. The time now is 22:58.

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