LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading images efficiently

Solved!
Go to solution

Something like this should do :

 

Example_VI_BD.png


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 11 of 25
(1,487 Views)

I'll try this

0 Kudos
Message 12 of 25
(1,486 Views)

What is the name of the function placed under 'index array' function? I cannot find it.

0 Kudos
Message 13 of 25
(1,479 Views)
Solution
Accepted by bikekowal

"delete from array", indeed it's icon changes slightly depending on what in conneted in.

 

but the png I posted is a snippet, it means it contains the code, download the png to your desktop and then drag and drop the file on an empty block diagram, it will import the code, magic!


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 14 of 25
(1,476 Views)

This 'snippet' is amazing. I haven't seen that before, it is really great tool.

 

I run the code and unfortunately got a following error:

 

Error 16 occurred at Read BMP Header Info.vi

 

LabVIEW:  Image not found.
=========================
NI-488:  SRQ stuck in ON position.

 

 

0 Kudos
Message 15 of 25
(1,474 Views)

I restart the computer and now its working. And as I see, the application is working quite fast. Thank you very much for your help 🙂

0 Kudos
Message 16 of 25
(1,467 Views)

Maybe you help me with another thing - is it possible to delete a file after reading it? I mean delete an image from disk after displaying it?

0 Kudos
Message 17 of 25
(1,462 Views)

sure, in the "file" >> "advanced" palette, there is a "delete" primitive.

 

Clipboard01.png


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 18 of 25
(1,458 Views)

OK, thanks, but I rather mean deleting the file automatically - I get one image, display, delete then get another one, display, delete and so on... Till tomorrow I won't have a chance to check it so will this be ok?

original2.png

 

 

0 Kudos
Message 19 of 25
(1,452 Views)

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 20 of 25
(1,447 Views)