Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 09:46:34 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  Screen designer tips and tutorials
| | | |-+  LEDs with transparent off
Pages: 1   Go Down
Print
Author Topic: LEDs with transparent off  (Read 617 times)
0 Members and 1 Guest are viewing this topic.
Ron Ginger
V4 Screen Contributor

Offline Offline

Posts: 547



View Profile WWW
« on: March 11, 2010, 07:55:53 PM »

I want to make 2 LEDs to show the jog state of STEP or CONT. I made an LED with Real Draw that has one side transparent, the other has the word STEP. When the LED cycles I wind up with the word on all the time. It appears that when the LED goes off the Transparent write leaves the old ON state image there and writes transparent over it.

Has anyone tried this? Am I missing something.?

Id like to have the two LEDs on top of one place so either the word STEP or CONT will appear. I cant write the 2 words on one LED because there is a 3rd state, MPG, where both STEP and CONT shold be off.
Logged
DaveCVI
V4 Screen Contributor

Offline Offline

Posts: 523



View Profile WWW
« Reply #1 on: March 12, 2010, 04:28:11 AM »

Hi Ron,
You are right that drawing a transparent led is really drawing transparent pixels - which is not the same as "undrawing" the opposite led state pixels.

I had not tried to make a tri state led - sounded interesting so I figured I'd try it.
I managed to make two overlaid leds look as a tri state led.
I've shipped the sample screen set to you via direct email.

BTW, for the jog mode case you mentioned, I believe that is really a 4 state conditions that you will want to show visually. The 4 states are:
1) cont jog
2) step jog
3) MPG jog
4) no jogging - all three mach leds (14, 15 and 57) will be off if jogging is disabled, hence the multi state led will probably want to have an "off" visual state too.

Dave


Logged

Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!