Jump to content

Comparing a # in an array to a reference


Recommended Posts

Hello there,

I'm a new LabView user who just started using it about 2 weeks ago. I'm trying to write a program that encode a picture (512x512 pixles) into a 512 columns x 512 row data file ( I think I got this part ). However, I'm trying to extract the value from the array. For instance, if the value > 0 @ x,y (30, 250), I want to show it in a graph. How would I do that!?

I also included part of the VI that I composed. Maybe it doesn't make sense to most of you, since I just start. But please help.

Thank you in advance,

Pui

Link to comment

QUOTE

I was trying to figure a way to compare all the values in a fashion that the computer reads the value @ (0,0) -> (0,1) -> ... -> (0,512) then down (1,0) - > (1,1) -> ... -> (1,512) until it finishes down to (512, 512).

The easiest way to do this part is with nested auto-indexing for loops. I don't fully understand what the rest of your code does, but this will simplify it some.

post-13866-1238011685.png?width=400

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.