Hello Guest it is June 06, 2023, 10:28:41 PM

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 - Whacko

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 »
General Mach Discussion / Re: Merlin
« on: August 01, 2007, 05:49:16 PM »
Thanks Brian, I figured that one out, I should have posted that it's sorted, my mistake. I'm a bit slow you know! :D


General Mach Discussion / Merlin
« on: July 31, 2007, 05:05:50 PM »
Anybody got an idea how to disable "Merlin" the interactive help character? Most of my functions and customization is unknown to the character. Although he is cute in a way, he is not of much use and if I want to go commercial, it might become a bit of a problem.


General Mach Discussion / Re: DRO not 0
« on: July 28, 2007, 05:22:07 PM »
Hi Franco,
Have you entered zero in the DRO's in the Settings screen?

General Mach Discussion / Re: and, or ,xor
« on: July 28, 2007, 05:08:27 PM »
Hi Dan,

I did an edit to the post to answer your whole question.


General Mach Discussion / Re: and, or ,xor
« on: July 28, 2007, 04:58:26 PM »
Hi Dan,
Apologies, they say presumption is the mother of all evil. I presumed you did not know about the VB files.
This is one example. Open Mach3, and zero your X and Y DRO's
Open the VBScript utility in the Operator menu.
Copy and paste this:

Dim xpos As Variant
Dim ypos As Variant
Dim result As Variant
    GetDRO ( 0 )
    xpos = GetDRO ( 0 )
        GetDRO ( 1 )
        ypos = GetDRO ( 1 )
result = xpos Xor ypos
MsgBox (result)

(Edit) I forgot to mention, you have now a value in "result" that you can use in an if statement to test for conditions, or against other variables etc. There is actually many
ways that you can utilise logical operators in an if statement.

After the VBScript jog the x and y some distance and run the script again. You will get a value in the Msgbox. You can't do much with it, as it is just an example. As I said earlier, you can apply it to achieve something specific which depends on what your application is. The "And" operator can be used in a similar way. Experiment with it, and work out what the values mean, then you can apply it.

Best regards

General Mach Discussion / Re: and, or ,xor
« on: July 27, 2007, 06:20:29 PM »
Yeow Dan,

That is a very broad question, those are logical operators and you can use it for so many reasons, you will have to be more specific what you want to do, or you can get some more information on the MicroSoft website VBScript help, or download the VB-Script-Commands.pdf in the download section of Art's homepage.


General Mach Discussion / Re: We need Linux port
« on: July 25, 2007, 07:00:52 PM »
Did you know that XP runs some of the ATMs here in Sweden? I have never heard of a problem that was XPs fault. Altho we have made quite a few jokes about it. (and no it's not the kind of ATM that you can use MS paint on, these are secure)
2000 has been used for a long time in ATM aswell without a problem.

Hey David, Our airports are running on Microsoft 2k servers, in the earlier years it wasn't unusual to walk into a terminal building, and seeing a BIG blue screen saying "Windows protection error, your system needs to be restarted!" It was VERY funny! That was then running NT, but a lot of the problems even then was the translators between non Windows servers and Windows servers, but the worst is, the entire National breweries plant automation are running on NT, and I saw a night watchman crash the system, he was fascinated by the mouse and the "ladders"! Maybe he thought it was a game, he was clicking away until the plant shut down! THAT was funny!


Which version are you running? I think that was for the older Ver 1.84. The menu's have been changed on the newer versions.


I agree about the proxi switches, just be carefull where you mount it, so you don't get a false trigger from shavings etc.


General Mach Discussion / Re: We need Linux port
« on: July 25, 2007, 05:33:46 PM »
Yeah, I agree that there is a lot of frustration towards Bill Gates and Microsoft, I understand that fully, but I might add that in my field I have found that most problems people experience with Windows is not the operating system, but bad drivers and coding practices by third party developers, that even goes as far as hardware's firmware that does not comply to the standards. OS2 just didn't get the market mainstream, why? Maybe that's the way money/profits influence the products available today. My problem is basically what faces a lot of developers and engineers, I love the idea of opensource and Linux or other OS developments, but the pressure to perform just leaves alsmost no time to get involved in a public project. Too few hours in a day! So what Microsoft offers in it's products and the availabilty of third party software for the Microsoft OS allows productivity, maybe one day I can contribute to opensource OS development, but right now I have to row the boat, or sink! ;D


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 »