Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imaq image control (Delete default Value)

Solved!
Go to solution

I have a problem with the vision imaq image control.

 

I have defined for a "imaq image control" a default image for the development.

Now the default image is no longer need and i want to remove the default value an reset the Control to an empty image.


How can i reset the default Value from the "imaq image control" to an empty image?

0 Kudos
Message 1 of 9
(5,502 Views)

@Cardinal1664 wrote:

 

How can i reset the default Value from the "imaq image control" to an empty image?


Write empty image to this control and set it to default value, then save VI:

 

empty.png

Message 2 of 9
(5,491 Views)
Solution
Accepted by topic author Cardinal1664

I have about 20 Vi's with imaq image controls with default images!

It must be possible to empty the image with a mouse click.

Like Array -> empty array

 

I don't want to too that progmaticaly!?

0 Kudos
Message 3 of 9
(5,481 Views)

Hey,

 

unfortunately Andrey is right. Thats the only way.

 

Bets Regards

 

Gregor

0 Kudos
Message 4 of 9
(5,476 Views)

OK thanks for the answer

0 Kudos
Message 5 of 9
(5,472 Views)

@Cardinal1664 wrote:

I have about 20 Vi's with imaq image controls with default images!

 

I don't want to too that progmaticaly!?


Another possible way is to automate this task, something like this:

 

SetDef.png

Just obtain list of VIs where Vision Control should be resetted to default, then run snippet above in the cycle.

 

Andrey.

 

Message 6 of 9
(5,464 Views)

Thanks Andrey for the code!

 

But isn't that a missing feature that you can click on the image Control an select ->empty image!?

0 Kudos
Message 7 of 9
(5,455 Views)

@Cardinal1664 wrote:

Thanks Andrey for the code!

 

But isn't that a missing feature that you can click on the image Control an select ->empty image!?


Yes, it is. Proceed to LabVIEW Idea Exchange and submit your suggestion.

0 Kudos
Message 8 of 9
(5,452 Views)

Ok. I suggested it:
Idea exchange

 

0 Kudos
Message 9 of 9
(5,438 Views)