Hello Guest it is May 31, 2023, 12:13:02 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 - kc5qoc

Pages: 1
VB and the development of wizards / File selection dialog
« on: July 05, 2006, 11:50:57 AM »
In writing my wizard I need to be able to select a file for processing. I could make the user fill in a textbox but then with a textbox spelling counts and if they are like me  that is problametic (see what I mean).

Does anyone have a VB script to select a file ? Kind of like the one that appears when you load a G-Code file ?
I read the Enable documentation and being rusty to say the least at VB, I would sure appreciate any and all help.

Second Question:  - Is there a way to extract the text associated with a UserLabelXX ?

Thanks in advance.

VB and the development of wizards / Calling a specific Wizard
« on: June 28, 2006, 11:14:35 AM »
So I have this Wizard that I would like to call from a button on my new screen.

I can get to it by clicking the "Load Wizard" button and scrolling down the list, selecting it and then selecting "Run".
I am to lazy for that - I want to create a button that just calls my wizard.

What is the VB syntax for calling a specific wizard from a button ?

I am working on a wizard which needs to execute and external program. I is executable in a cmd window and requires several parameters. (i.e. >stretch file.in file.out xorg xact yorg yact )

Does anyone know how this can be accomplished in VB script ? I have looked at the shell command but can not figure for the life of me how to pass it variables.

Thanks for your help.

General Mach Discussion / encoder interface specifics
« on: June 16, 2006, 04:34:09 PM »
Hi all

I am new to this encoder business - I have run steppers without them for years with no problems.

I am considering the following:

An encoder (a 300 cpr model from US Digital  - 1250 ppr ) on my X and Y motors that requires 400 steps per inch
When an EStop signal is sent my control sets the motors to free wheel - no voltage is applied to the motors at all
I use this free wheeling state to reposition the machine (It is a sewing machine - not a mill - its is in the garage)

Now the "I hope to" section:
I cause an EStop
I move to a position and zero out the system and it hopefully zeros the encoder DRO
When I get to the new position I would like to see the DxDy coordinates in the encoder DRO

My question is:
Because the EStop condition existed before the attempt to zero and then the move of the machine, will the encoder DROs still function properly or will they be blocked due to the EStop condition ?

any thought on this matter would be greatly appreciated

General Mach Discussion / Opto-Isolated parallel card
« on: May 15, 2006, 02:16:43 PM »
I am new to this forum but I need you help in locating a good cheap (mutually exclusive ?) optically isolated parallel card.

Does anyone have any good suggestions ?

Pages: 1