Jump to content

plneo

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

plneo's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello everyone, Can I seek some assistance here? I have attached a VI here and I am trying to display a 8-bit grayscale image in the picture box. However, everytime I load the array, the colours are not correct. I am aware that I can do something to the 'color' terminal of the flatten pixmap.vi. Can I ask how do I set the 'colour' terminal of the flatten pixmap.vi so that it can display 8-bits grayscale image? Thanks. Download File:post-5479-1157550331.vi
  2. Hello everyone, Can I seek some assistance here? I have attached a VI here and I am trying to display a 8-bit grayscale image in the picture box. However, everytime I load the array, the colours are not correct. I am aware that I can do something to the 'color' terminal of the flatten pixmap.vi. Can I ask how do I set the 'colour' terminal of the flatten pixmap.vi so that it can display 8-bits grayscale image? Thanks.
  3. Hello everyone, I wonder if anyone can advise me what is happening in this VI? (Note that my VI is only partially completely for its purpose.) I have an array that is generated outside the 'for' loop. All I want to do is to use the 'for' loop and get a subset of the externally-generated array. The 2 'for' loops are used to calculate the index of the required subset of the array. However, when I do the wiring, it seems to be that the external for loop is truncating my 2D array into a 1D array. What is happening here? Is there any way I can pass in an externally-generated 2D array into the 'for' loops for subsequent processing? Thanks. Download File:post-5479-1154533521.vi
  4. Hello everyone, I wonder if I can get some advice regarding timing issues? I am trying to write a VI that does two main tasks 1. To load and hold an image into a device for say, 5 seconds, 2. To take a photo of the image loaded into the device after it goes through an optical system. Let's say it takes 3 seconds for the image to be captured to be ready. So, in order for the VI to capture the right image (i.e. the image after it passes through the optical system), it will be good to start the execution of the 2nd task 3 seconds after I start the 1st task. I wonder what is the appropriate method for me to include a 3 seconds delay in the 2nd task when the 2 tasks are in the same frame of a flat sequence? Pardon me if I am asking an seemingly easy question. There are just too many things to learn when I need to embark into the many areas of LabView simultaneously!
  5. Hi everyone, I wonder if you have such problems before? When I load the code resources into a CIN, I received the following warning message and it reads: MV_Open.vi - The shared library expected to be at "C:\Program Files\MATRIX VISION\mvLabVIEW SDK\MV_Open\MV_Open.lsb" was loaded from "NULL". The 'Run' icon also disappears and I am unable to do anything with the VI. Does anyone has a walk-around for this problem? The .lsb file is generated using MS Visual C++ 6.0 and I am using LabView 8.0 at the moment. Thanks.
  6. Hi everyone, I wonder if anyone can advise me with using MS Visual Studio .net 2003 with Labview 8 to generate .lsb file? I managed to find this online (http://zone.ni.com/devzone/conceptd.nsf/webmain/E4EC7623343805F686256EDD00784341) and followed it. It is meant for MS Visual Studio .net 2003 with Labview 7.1. When the .lsb file is created and when I try to load it in Labview, an error message reads "Could not get resource named MV-Open from MV-Open.lsb". I have a frame grabber card (from Matrix Vision) and it has a readily developed Labview SDK with it and I am trying to get Labview to automate the card to capture images. Can anyone share with me their experiences with Matrix Vision or .lsb experiences? Thanks.
  7. Thanks Yen. It took me the whole day to get familiar with simple array functions and trying to control the colors[] array. Afterall I am a 3-day old Labview user. Your method works. Many thanks. Thanks to Cool-LV for helping too!
  8. I just want to confirm, when I used Yen's method, my output file is not black-and-white, instead, it is made up of 2 colors. The .bmp file can be red with blue or yellow with green or green with white or etc.... And everytime I run the program, it will get different combinations. I wonder if anyone is seeing this too? Is there anyway I can do so that I will always get black and white ONLY in my .bmp file? Appreciate your help/assistance/comments.
  9. I am not sure if I have what you have mentioned. However, when I looked under my NI tree, I see this... National Instruments > Vision. Is this what you are talking about? Pardon my ignorance.
  10. Hi everyone, I am totally new to Labview and need some help here. I have generated an array using LabView and want to convert the array into a .bmp file. In my array, the element can only hold a value of '0' or '1'. I want to convert this array full of '0' or '1' into a .bmp file with black and white pixels. I wonder if this is possible? Thanks.
×
×
  • Create New...

Important Information

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