Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2016, 09:12:03 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
211  Mach Discussion / Flash Screens / Re: How to round numbers on: September 08, 2008, 02:01:07 PM
These are the formating parameters:

Days:Hours:Minutes:Seconds

Code:
"%D:%H:%M:%S"

(f)loating point number, (4) decimal points, (+) or -

Code:
"+%.4f"

integer, no decimals

Code:
"%i"

hex number

Code:
"%x"

Format to send the above:

fscommand( TYPE fmt DRO Number , ABOVE FORMAT )

Example:
fscommand ("DROFmt800" , "format" )
212  Mach Discussion / Flash Screens / Re: How to round numbers on: September 08, 2008, 01:54:02 PM
Hi,
To format a DRO use:

Example will format DRO 104

Code:
fscommand( "DROFmt104", "%.0f")

To format to time based:

Example will format DRO 815 and 814

Code:
fscommand( "DROFmt815", "%D:%H:%M:%S")
fscommand( "DROFmt814", "%D:%H:%M:%S")

Thanks,
Jason Blake
213  Mach Discussion / VB and the development of wizards / Re: openteachfile name on: September 05, 2008, 06:36:54 PM
Hey Nick,

I stubbled across this  Smiley I dont get much time to come to the forum lately...working on the Mach screen development stuff...

This is what I would do:

Code:
Dim fso, fldr, s
Set fso = CreateObject("Scripting.FileSystemObject")

'Prompt For Teach file new Name And location
ppp = InputBox("Enter a File Name:")

'Default to C:\ if you just want the name you can allow them to make the file type too
filePath="C:\" + ppp + ".tap"

'Verify
MsgBox ("Copy File: "+ "C:\Mach3\Teach.tap" + " TO: "+ filePath + " ? ")

'Close the FIle if loaded in Mach
DOOEMButton (169)

'If you need to make the user aware there is already a file with that name
If fso.FileExists (filePath) = true Then

'Promt User

End If

'Copy it
fso.CopyFile "C:\Mach3\Teach.tap", filePath


'Open the file
loadfile filePath

'Remove System object Clean up
Set fso = Nothing


Thanks,
Jason Blake
214  Mach Discussion / Flash Screens / Re: So "Gotcha" work arounds for flash wierdness.......... on: September 05, 2008, 03:17:27 PM
Hi James,
We talked via email and worked it out.

The included Flash.DLL provide with the Mach installer is corrupt.
I will provide the working Flash dll to all here in a sticky topic.

 Hopefully Brian will get that fixed.

215  Mach Discussion / Finished Screens / Re: Ultimate Screen Mill/Lathe/Plasma (TouchScreen and/or Mouse and/or keyboard) on: August 08, 2008, 11:20:36 PM
It is fixed in the final release of the screen, as well as a number of other enhancments have been added........I have not had the time to update the "preview" located here.
216  Mach Discussion / Finished Screens / Re: Ultimate Screen Mill/Lathe/Plasma (TouchScreen and/or Mouse and/or keyboard) on: July 29, 2008, 03:17:58 PM
Hey Dave,
I'm sorry ...Mach Motion should have everything up on Monday I belive.
Also will upload the Lathe and Plasma versions...The screen is built from all of the "Mach Components" so I will update these as well. It will be another week or so before everything get uploaded.
217  Mach Discussion / Mach Screens / Re: Call for G-code display window on: July 28, 2008, 10:21:06 PM
Hey Gerry,
Thats funny we posted at the same time  Grin
218  Mach Discussion / Mach Screens / Re: Call for G-code display window on: July 28, 2008, 10:19:45 PM
Hey Greg,

Under "General Configuration" in Mach you can set the Gcode editor.

Or

If you need total control on what program to open the currentl loaded file in use something like this on the Edit button:

Code:
DoOEMbutton(168)'**Close the FIle first**

If(FileName="No File Loaded.")Then'**Check to see a file is loaded**

Print"LOAD A FILE FIRST"

Else

Shell "notepad "+ FileName, vbNormalFocus ' **YOU CAN DO THIS FOR NOTEPAD**

'Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE "+FileName, vbNormalFocus'**Or open in what you want**

End If
219  Mach Discussion / Finished Screens / Re: Ultimate Screen Mill/Lathe/Plasma (TouchScreen and/or Mouse and/or keyboard) on: July 28, 2008, 03:29:24 PM
Thank you in the final version of the screen all spelling fixed  Grin

Here are the "HELP video's"
<a href="http://www.youtube.com/cp/vjVQa1PpcFPcB6QNHgeaxTc2tYo6C6_8DMgcajogxhw=" target="_blank">http://www.youtube.com/cp/vjVQa1PpcFPcB6QNHgeaxTc2tYo6C6_8DMgcajogxhw=</a>


220  Mach Discussion / Flash Screens / Ultimate Screen Mill/Lathe/Plasma (TouchScreen and/or Mouse and/or keyboard) on: July 28, 2008, 02:31:07 PM
Please see:
http://www.machsupport.com/forum/index.php/topic,7714.0.html
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!