Jump to content

Displaying array contents


Recommended Posts

Greetings from a newbie,

I'm doing some image processing with LV7.0. My client doesn't want to updgrade. :angry:

My task is to read in a .bmp file that's written by another process snagging images, and then cause some stages to move based on the contents of the bmp. I'm trying to examine the values of the 2D array that I've created from the 8-bit pixel data.

Could anyone suggest a technigue for display the contents of a 2D array of unsigned byte [8-bit integer (0 to 255)]'s? I tried dropping an array display on the front panel, and setting the number of dimension to 2, but when I wire up my 'unflatten pixmap.vi' 8-bit pixmap output to the array input, I get an error message complaining the source is unsigned 8-bit integer, but the sink is type void. Can I coerce the type? How does one do that?

Thanks for any help you could provide, I'd be glad to provide any additional info that would be helpful.

Regards,

John

Link to comment

Greetings from a newbie,

I'm doing some image processing with LV7.0. My client doesn't want to updgrade. :angry:

My task is to read in a .bmp file that's written by another process snagging images, and then cause some stages to move based on the contents of the bmp. I'm trying to examine the values of the 2D array that I've created from the 8-bit pixel data.

Could anyone suggest a technigue for display the contents of a 2D array of unsigned byte [8-bit integer (0 to 255)]'s? I tried dropping an array display on the front panel, and setting the number of dimension to 2, but when I wire up my 'unflatten pixmap.vi' 8-bit pixmap output to the array input, I get an error message complaining the source is unsigned 8-bit integer, but the sink is type void. Can I coerce the type? How does one do that?

Thanks for any help you could provide, I'd be glad to provide any additional info that would be helpful.

Regards,

John

You might want to look at the picture control or intensity graph to display your image, rather than an array display.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.