Hello Guest it is July 27, 2021, 06:13:19 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.


Messages - tmead

Pages: 1 2 3 4 5 6 7 »
1
Did you get this to work ? I have a bunch of these drives stored at work from a previous project that didn't ship, and have a possible project using Mach3 as a control system for a piece of bespoke equipment.

The drive manual seems to indicates that you have to connect to the drive using Baldor's mint workbench software and configure the drive to effectively 'follow' the pulse train on a digital input by setting the drive up using the mint keywords. I've read conflicting info on this, some versions of the microflex manual indicate the drive can do step/dir, and some say it can't.

The drives have been around a good few years now, and Baldor's helpdesk have been really good in the UK on a recent project with these drives (not Mach3 based).

2
Machscreen Screen Designer / Re: Machscreen file name history
« on: March 24, 2011, 07:59:31 AM »
OK, that's logical, and as I have machscreen setup to open the last editted file automatically I rarely use the 'file -> open' route, which would explain why the list is so out of date.
It might be useful if the mru is updated when machscreen opens a file automatically?

Tim

3
Machscreen Screen Designer / Re: Disappearing buttons
« on: March 24, 2011, 07:55:19 AM »
Thanks Klaus, that sort of explains it. We have a standard button on top of an LED, so that the led shows as a ring around the button. This is similar to the arrangement of the reset button on the 1024 screen set. The problem we have is that when the LED changes state it covers up the button until the mouse pointer is waved over the top, and then the button is redrawn.

However - the reset button on the 1024 screen set uses a button which is placed on top of two status LEDs. This arrangement works all the time, although any mods to it are a bit unpredictable ! What I'm after is a button/LED combo that performs in the same way !

Tim

4
Machscreen Screen Designer / Re: Disappearing buttons
« on: March 23, 2011, 07:12:24 PM »
Thanks Ger,

The button is just an ordinary one, so no images are involved.

I can't remember if I placed the LED or button first in machscreen.

I'm sure I've seen a send bitmaps to back option somewhere or something - is that at all relevant ?

The reset button on the standard 1024 screenset has this arrangement, and that works well. Its frustrating that I don't know why !

Tim

5
Machscreen Screen Designer / Disappearing buttons
« on: March 23, 2011, 05:42:06 PM »
I've developed a screen set with some buttons that sit on top of LED indicators. Sometimes the buttons disappear when the LED changes state, and they re-appear when the mouse is waved over the top. Any ideas ?

Tim

6
Machscreen Screen Designer / Re: Machscreen file name history
« on: March 23, 2011, 05:33:46 PM »
Hi Klaus, sorry for the delay, but there has been alot going on. I now have another version of Machscreen installed on a different PC, and the same issue. The mru list is never up to date, frequently it shows around 5 or 6 versions out of date.
Tim

7
VB and the development of wizards / Re: Dialog box - which button pressed
« on: February 28, 2011, 05:10:40 AM »
Ahh... thanks for that, I'd had a play with something similar, but did not get the syntax right.

I'm still in favour of the inputbox method, as I cannot get the DlgFocus command to allow direct entry into the box without having to click into it. The inputbox command does it for me !

Tim

8
VB and the development of wizards / Re: Dialog box - which button pressed
« on: February 27, 2011, 05:43:21 PM »
Thanks for that, I've just got to a similar result by discriminating between entered data and cancel by using len(answer)>0.

I can't helpfeeling there must be a way of checking which button was pressed, which may be more elegant. However, these ways work !

Help much appreciated.

Tim

9
Blatant bump for the post !

Does anyone know how to determine which button was pressed in a dialog box ?

Tim

10
VB and the development of wizards / Dialog box - which button pressed
« on: February 25, 2011, 12:11:14 PM »
I'm struggling a bit to try to get some code to update a userlabel. Seems there are a few ways of doing this. So far I've found:

Method 1
      Qty = GetUserLabel(61)
      Qty = Question("Enter Quantity of Line " & ThisPriority)
      SetUserLabel(61,Qty)

But there is no way to pick up the current value of the label to use as a default - means the user has to type new every time

Method 2
      Begin Dialog TextBoxSample 16,30,180,96,"Enter Required Quantity"
         OKButton 132,20,40,14
         CancelButton 132,44,40,14
         Text 8,8,32,8,"Text Box:"
         TextBox 8,20,100,12,.TextBox1
      End Dialog

           Dim Dlg1 As TextBoxSample
      Button = Dialog ( Dlg1 )
           
      SetUserLabel ( 61,Dlg1.TextBox1 )

Same problem - I can't figure a way to show the current value, and the user has to click into the field before entering data

Method 3
      Default = GetUserlabel(61)
      Answer = InputBox$("Enter data", "Title", Default, 200, 200)
      SetUserLabel(61,Answer)

Now this one I like - but i can't crack the last bit - how to not update anything when cancel is pressed ! At the moment the contents of the label are wiped if cancel is pressed, and I'd liek them to be left alone !

The Cypress Enable manual is full of detail about how to construct dialogs, but there is a level of assumed knowledge about what to do with the output that I simply don't have !

Tim

Pages: 1 2 3 4 5 6 7 »