Hello Guest it is March 28, 2024, 04:45:21 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - atwoodr

Pages: 1
1
Is there a way to simply have a customizeable keypad pop up in Mach3 that will allow the user to enter a value for a particular DRO on the screen?  We are developing something for a tablet and this would be really helpful.

The MachScreen Kaypad only can do this for 1-6 DROs, they cannot be user-defined DROs, and I need between 5-9 on 17 different screens (that is more than 100). 

2
General Mach Discussion / Auto-detecting Mach3 Installation directory
« on: March 29, 2014, 04:26:30 PM »
Hi Everyone,

Is there a way I can auto-detect the Mach3 installation directory? I have some VB code that right now assumes the installation directory is C:\Mach3\... as a temporary measure.  Is there any way to tell where the program is installed from the VB code itself on the fly?

Thanks,
Ryan

3
Hi all, I have a program that cuts many different types of boxes.  Each screen has a "cut" button that executes a set of commands that is unique to that page.  However, at the bottom of each file of code in this "cut" button is a set of 10-15 Subroutines / functions that are exactly the same for each screen / box / button. 

How do I extract these 10-15 functions into a separate .vb file that I can include or import in Mach3?  The idea is that I don't have any duplicate code.

4
Hi Everyone, I searched the forums as best I could for what I thought would be a simple, common question, but I am unable to find an answer, "How does one update (or toggle) an LED on the screen using VB code in a button on the screen?" 

I apologize if I am missing something obvious, but I can't seem to figure it out.  I have tried setting different values to True or False including the code below:

Code: [Select]
Dim test As Boolean

test = GetOEMLed(500)

If (test = true) Then
  DeActivateSignal(500)
  DeActivateSignal(OUTPUT4)
  DeActivateSignal(77)
  DeActivateSignal(852)
Else
  ActivateSignal(500)
  ActivateSignal(OUTPUT4)
  ActivateSignal(77)
  ActivateSignal(852)
End If

I can use any LED OEM code for this.  I just need to get 4-7 of them to work on the screen. 

Thanks,
Ryan

5
FAQs / Allowing DRO values to change via user input in Mach3
« on: July 20, 2013, 06:10:34 PM »
Hi Everyone, I am new to Mach3 and Screen4 and am trying to simply create my own screenset that allows the user to change/edit the values in the DROs I have placed on the screen.  When I load the 1024.set file (the standard .set file), the X,Y,Z DROs on that page are changeable by clicking on them, typing "27" for example, pressing enter, and the value is shown as changed on the screen.

Basically, I need 4 input fields that can serve as variables for a VB macro I am creating.  When I try to edit my screenset's DRO values in Mach3, they don't change.  Is there some setting I need to change somewhere? (i.e. in the "General Config" section or somewhere like that?).  I tried searching for this topic on the forums, but had no luck.

Thanks,
atwoodr

Pages: 1