Art
Peter:
toggle quoted message
Show quoted text
I don't use VB myself, but Les Newell sent me a test vb application that will do movement perhaps if you ask him he'll release that test skeleton for you. You need to 1) SetProfileName( "name" ) // this sets the profile name your going to use. 2) LoadLayOut( "Name ") // name of the layout screens it will use.. 3) InitEngine( ) // this initializes the engine... 4) StartEngine( ) // this starts the engines timer facilities. At this point you can do movement as long as you press whatever Reset button you have on your screen.. The is a function called SetHandle( hdl ) that you may have to call to set the windows handle of the window which will display the loaded screen set. If you don't wish to use the screens at all, then there are a few other calls you need to make to reset the engine and monitor its status. Its easier, since your user would need a rest button, to at least create a screen with just a reset button and indicator on it, and display that small screen in a button or editbox in a vb form. That way you don't have to worry about the estop and such. This is only necessary if you don't intend to load any screens... I don't know whats causing your out of memory error though, unless your queueing up moves without the engine running or something... Good luck, Art www.artofcnc.ca ----- Original Message -----
From: "Peter" <elasebay@...> To: <mach1mach2cnc@...> Sent: Monday, March 01, 2004 7:04 AM Subject: [mach1mach2cnc] Re: Version 4.0a Hello Art, |