LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image of board

hi there..
i dont know if this is possible to do in labview.
I have a test board. with devices on a position on the board.
i want to know if i can draw a broad with labview and whatever positions that have the devices on the board. will be highlighted or indicated somehow that there are devices there...
for instant this image....






i have devices in position 0, 3, 5, 8, 10, 11, 14, 16, 20

I already have an array of all the positions...but the array is 1D.
i want to know if it is possible to set an image like the actual board or something similar and indicated the one that is located on the board..
I dont know if that is possible. can someone let me know.
thanks


http://forums.ni.com/attachments/ni/170/323443/2/draw%20board%202.PNG


Message Edited by krispiekream on 05-13-2008 06:31 PM

Message Edited by krispiekream on 05-13-2008 06:31 PM
Best regards,
Krispiekream
Download All
0 Kudos
Message 1 of 10
(3,520 Views)
You can do whatever you want using a picture control. Have you tried?
Message 2 of 10
(3,514 Views)
no i have not. i guess if its possible. i'll look more into it.

Best regards,
Krispiekream
0 Kudos
Message 3 of 10
(3,510 Views)

Consider a typdef cluster of leds or customized buttons or pict boxes (very nice for graphics and has as many predefined states as needed).  This is not as flexible as the picture bux but very easy to implement and works well in a dataflow model to store yhe system state.   See attached

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 4 of 10
(3,501 Views)
hi paul,
i finally got a chance to look at this issue again and i was trying to open your vi, but i have labview 7.0.
can you save vi to previous version 7.0?
thanks

Best regards,
Krispiekream
0 Kudos
Message 5 of 10
(3,460 Views)
Hi krispiekream,
 
I have attached Paul's example, saved for LabVIEW 7.0. 
Jennifer R.
National Instruments
Applications Engineer
Message 6 of 10
(3,433 Views)
THANK YOU Jennifer_R...
I finally got a chance to look at this today..
it is exactly what i wanted!!!
thank you so much1!!
Best regards,
Krispiekream
0 Kudos
Message 7 of 10
(3,380 Views)
My pleasure krispiekream.  I'm glad Paul's example was helpful. 
Jennifer R.
National Instruments
Applications Engineer
Message 8 of 10
(3,375 Views)

Thanks I couldnt back save it to 7.0 since I dont ahve it on my current system.  I use mostly 8.5.  NI could possible set up an online service for back saving versions?  I use clusters to model data layout often since it is the simplest approach.  When this method fails I then look at the picture control or other activeX services for presenting my data. One improvement on my original code is to implement the leds as picture boxes and then you have n-state logic instead of boolean.  You can also customize the leds to show diferent true false images.

 

Paul

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 9 of 10
(3,360 Views)
Hi Paul,
 
I figured you probably were not able to convert the VI.  Thanks for providing the initial code. 
 
Having an online utility to save VIs for previous versions is an interesting idea.  I can definitely see how that would be useful, although I am not sure what resources would be required to implement it.  Please feel free to submit a product suggestion, and maybe it will become a future feature. 
Jennifer R.
National Instruments
Applications Engineer
Message 10 of 10
(3,357 Views)