07-24-2006 10:39 AM
07-24-2006 10:44 AM
07-24-2006 10:46 AM
07-24-2006 10:52 AM
@Adma wrote:
the problem with that is I need a third color....green, red...blue
07-24-2006 11:04 AM
07-24-2006 11:31 AM
07-24-2006 12:09 PM
Arbitrary number state buffers (including tri-state) can be implemented with a enum. If you want a graphical control I would sugest using a picture ring.
Paul
07-24-2006 12:28 PM
I I would use a color box indicator dressed up as LED. For a simple example see my post here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=129184&query.id=0#M129184
(The above example has 4 states, but I am sure you can simplify. ;). Of course if the state is determined by code, you don't want to use an event structure)
(This is similar to Novatron's example. Novatron, I don't uderstand why your colorbox is a control and you write to it using a value property. Why not make it an indiacator and place it at the location or the property node and delete the property node? Your current approach has two disadvantages: (1) Since it is a control, the user can change the color during run, fighting the code. (2) You have all the performance overhead writing to value property nodes.)
07-24-2006 12:44 PM