Hello Guest it is March 28, 2024, 04:46:10 AM

Author Topic: Disable Sound  (Read 18498 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Disable Sound
« Reply #20 on: April 04, 2013, 12:03:58 PM »
Kenneth try a new label and call it MDI  When Mach3 changes state of the G20/21 it will show Inches, MM

(;-) TP
Re: Disable Sound
« Reply #21 on: April 04, 2013, 12:22:07 PM »
i know, wanted to not have those in this label.
is there a UserMDI1 ? :)

Kenneth try a new label and call it MDI  When Mach3 changes state of the G20/21 it will show Inches, MM

(;-) TP
Kenneth
Re: Disable Sound
« Reply #22 on: April 04, 2013, 12:23:27 PM »
the user label ?  UserLabel1

Hallo Kenneth,

what text did you set to your label?



Klaus
Kenneth
Re: Disable Sound
« Reply #23 on: April 04, 2013, 03:04:59 PM »
set the text you want to have displayed in the property dialog.




Klaus
The brain isn't a soap, it doesn't shrink when used.
Re: Disable Sound
« Reply #24 on: April 08, 2013, 05:42:11 AM »
if i use Inch and not UserLabel1, it will just be a label.
i want it to change as i click the Convert button.
unless i don't understand which lael you mean.
Kenneth
Re: Disable Sound
« Reply #25 on: April 08, 2013, 06:14:45 AM »
a better picture

Metric =  UserLabel1
12.000 = user input dro
Convert = button
led = user led
Lit is MM = stand label
Kenneth
Re: Disable Sound
« Reply #26 on: April 08, 2013, 06:51:54 AM »
also...is there a way to change/enlarge the font on buttons(without enlarging the button) ?
ie. Convert above
« Last Edit: April 08, 2013, 06:55:21 AM by Kenneth »
Kenneth
Re: Disable Sound
« Reply #27 on: April 08, 2013, 12:08:15 PM »
Hi Kenneth,

write a macro containing:

SetUserLabel(nr, "text")

where text would be the default (Inch / metric).
Put that macro in the General Logic configuration  Initialization String field.


Klaus
The brain isn't a soap, it doesn't shrink when used.
Re: Disable Sound
« Reply #28 on: April 08, 2013, 12:12:19 PM »
i have this....
but do you mean to write SetUserLabel(1,"Inch/Metric") ?
and it will pick between the two words ?

If GetUserLED(1012) Then
SetUserDRO(1010 , GetUserDRO(1010) / 25.400)
SetUserLabel(1,"Inch")  'displays Inch
SetUserLED(1012,0)
Else
SetUserDRO(1010 , GetUserDRO(1010) * 25.400)
SetUserLabel(1,"Metric")   'displays Metric
SetUserLED(1012,1)
End If
End
Kenneth
Re: Disable Sound
« Reply #29 on: April 08, 2013, 01:58:06 PM »
Hi Kenneth,

no, you must use the initialization text, either Inch or metrics.




Klaus
The brain isn't a soap, it doesn't shrink when used.