Hello Guest it is April 19, 2024, 06:29:27 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 - ballendo

Pages: 1 2 »
1
General Mach Discussion / Re: Should I remove the gallery ?
« on: March 15, 2007, 03:04:53 AM »
Benny,

No, I think you should keep it.

I agree with the previouspost that the row of buttons including the gallery link is very small., and might simply be overlooked...

Ballendo

2
John, Art,

I think it will ultimately depend upon whether there ARE many multiple identical DLL's in use at any given time.

If not, then separate naming will be fine.

However, I still think asking a user to DO this naming is asking for trouble over the long haul of mach3 life.

Please consider what happens as the DLL concept matures... When there are thousands to choose from.

More importantly, consider what happens as Mach becomes wider used by less "involved" operators.

I'd just like to see the potential disarray of ten thousand different named Dll's(993 of which are not being used, but still floating around the directory structure of my customer's computer) considered up front. Software design says always to consider borderline cases. the zero and infinite. please Consider "overflow".

(BTW, in this hypothetical example that user added them cuz he read that doing so would help him do something wonderful. Now I'm trying to help him get rid of the ones he didn't need, and dealing with the fact that he added some typo's when he re-named them... and perhaps those typo's now have two different and separate dll's named identically.) 

"Send me your list of DLL's" is not gonna cut it...

So perhaps my quest is more towards dealing with getting dll's into and OUT of a given user's directory structure.

(similarly: I dislike not knowing whether I can delete a given bitmap or not, since I can't remember which screen it goes with...)

Whatever you do, please give us a good means to MANAGE these DLL's in relation to multiple profiles. With unsophisticated users. Or sophisticated ones who've made misteaks...   

Ballendo

 

3
John,

Yes. But do keep in mind that worst case there could be 100 instances of a given plug in... (Not especially likely from where I'm sitting right now, but...<G>)

Point being that as long as Mach gives each instance (of a plugin type) a unique identifier as it is turned on (since Art says we can do that on the fly during application run time); then the rest is do-able by and IMO properly belonging to the plugin writer.

If the above shows that I've misunderstood where you're getting your two uniquly identified identical binary files PlgDev1.DLL and PlgDev2.DLL; help me understand?

Ballendo

Art,

Why not use a combination of "well-behaved" plug-ins which take care of the conflicts between each other, AND an enumeration "read-in" OF the plug-ins at M3/4 initialisation?

You're already creating a list of available plug-ins. Then we get to instantiate from that list as we wish. How about giving each one a superscript/subscript type ident as you read it into usage?

Following this line of thought but without any new features needed in Mach3, my next experiment is to try to see what would happen if I have the same binary code in two files, say,  PlgDev1.DLL and PlgDev2.DLL. Provided I can get Windows to tell me the name of the DLL file then I can make up a unique name string for return by SetProName and Mach will not know or worry that they are the same beast. The DLL will of course know which instance it is and do suitable things with its interpretation of pin numbers, shared buffer addresses and XML profile key names.

Of it works the only cost is not sharing the actual code but it is IMO much better for two or three potential devices (e.g. handwheels or Modbus devices) than having to have a two level config architecture to support multiple devices in one piece of code.

John Prentice



4
Art,

Why not use a combination of "well-behaved" plug-ins which take care of the conflicts between each other, AND an enumeration "read-in" OF the plug-ins at M3/4 initialisation?

You're already creating a list of available plug-ins. Then we get to instantiate from that list as we wish. How about giving each one a superscript/subscript type ident as you read it into usage?

read in. If already in use, increment instance ident value for the plug in (by type).

So the first modio plug in is modio(1), and the next one mach sees is modio(2) . Now mach knows they are different but it still expects THEM to "play fair" with each other...

Seems a fair division of the labor of keeping things "clean". Plug in writers have to do their part (like you describe in the joystick availablilty example), and you provide the means for multiple instatiations to be properly recognised by mach... 

Plug-in writers could use the instance ident to HELP their plugins play fair...

Ballendo


>> This is very complex to do. Not only because M3 woudl have to recognise each plugin, but because each plugin woudl have to recognise another. Its my feeling that a plugin , properly designed, should take into account other devices of its type. This is likely to be a failing in some of the earlier plugins. For example, my joystick plugin looks for any JoyStick and uses the first it finds. It is not settable to the stick #. Properly done, it shoudl "tag" that stick as used, and it should then ignore it so another plugin could grab the next stick. (If multiple sticks are desired. ) and then xml tags should reflect the device being used. All very hard to do.  A further problem is that when a plugin calls into MAch3, its very hard for MAch to tell WHO is calling, it just knows its a plugin. There is no enumeration device to show exactly whos on the phone, this makes it very difficult to make an easy interface to multiple objects. I suspect I can add support for this type of thing as I learn more on the shortcomings involved, but I think I'll do it as the next few Plugs are made, just in case a better solution pops up as I go. Even I have not played in this area enough to be considered an expert.  But in the interim, I really recommend a plgin be the master of its device type. It is my hope by having most of them as open source, that some integration can aoocur of features for various types of devices, but this will always be an area of concern I think. Of course, for th eavergae user, his interest will be in using 1-5 plugins, each representing a particular device, someone for example, with multiple ModIO's is likely to be somethign of a configuration expert and not as concerned as he will already have learned the shortcomings of that type of system.

5
Art,

How do we use "offscreen" objects to gain their functionality without having the object ON screen--as we have done since S/d's inception.

It has been common to place objects offscreen in this way--jog being perhaps the most comon example.

Do all such screens now need to be reconfigured?

How do we place such an "invisible" control?

Thank you in advance,

Ballendo

P.S. Glad to see the LED update!

Hi:
  This is my fault. SOme of the new features of the upcoming screend designer addin forced me to change the way things scale. The new method looks at each object and figues out its maximim size. It then scales the screen by the % change fro your displays size and the largest oibject.

  Are you sure there is nothing at the extreme of the cramped side? Send me the screen if you like, and Ill see if I can fix the bahavious.. This happens when I much in the screen design stages, but in this case, it was necessary for me to do it to add more toys for all you artistic types...

Thanks
Art


6
Works in progress / Re: An unfinished screen set - "Mach Blue"
« on: April 23, 2006, 06:44:12 PM »
Gauge is misspelled as guage in the screen just posted...

FWIW Starrett just spells it Gage.

Hope this helps,

B


7
Works in progress / Re: An unfinished screen set - "Mach Blue"
« on: April 18, 2006, 10:36:19 PM »
[ART, Brian, James, Benny,

Doh! Sorry JOHN, not James.

Ballendodo

8
Works in progress / Re: An unfinished screen set - "Mach Blue"
« on: April 18, 2006, 10:35:02 PM »
Hi,

I have a query. I need to add 3 labels for the leds shown next to the reset buton. But what are they for ?

Can someone please advise what these should be labelled.

Thanks



If you open the screen in S4, you can double click on the LED's to see what they are...

From bottom to top:
Estop, or OEM16
Estop, or OEM17
OEM 19

About those "or's" above...

Art uses these LED's during development, and the OEM codes are alternately used with the ESTOP system function. (I asked him this same question several months back)

So... I wouldn't bother with labelling them... (As Benny sez, they may be deleted from a screen with no ill effect.)

ART, Brian, James, Benny,
A suggestion for Screen4: How about an OEM lookup table attached to Screen 4? (In the video for S4 Art suggests loading the docs and using that... Wouldn't it make sense--and be FAR easier to use--if the OEM numbers mapped into S4 the same way the system functions do???


Ballendo
 

9
Works in progress / Re: An unfinished screen set - "Mach Blue"
« on: April 18, 2006, 10:27:03 PM »
We are not using RealDraw.

Weeelllll, What ARE you using???

Thank you in advance,

Ballendo

10
Mach Screens / Re: Screen design basics (Using Screen4)
« on: April 18, 2006, 10:24:40 PM »
Hello, Anybody out there????

What is the point of having a "support" forum if no support is avaialble???

Below are several questions, and suggestions... 81 views and NO replies???

I DID go ahead and ask one of these ON the yahoo group, and got nearly an immediate answer from Art. (re: Regaining the workspace pane if closed)

But I 've still got incrementing DRO's in S4 even after uninstall and re-install a couple times--even using anew directory.

Benny, I'm trying to make use of your preferred forum style, but it's not working for me...

Frustrated,

Ballendo

Hello Art, Brian, Benny,

I've recently installed Screen4 and have some comments/ questions/ bug? reports...

My monitor is set to 1024x768, so if I am designing a 1024x768 screenset I cannot see the whole screen at once.
Or can i?
IOW, is there a button or means to simply "have a look" at the present state as it will appear without the screen designer tools, etc. IMO, this would be a very useful thing to have for those of us who do not have large resolution screens.  (Yes, I realise I can have M3 running and simply import the screenset to have a look, but it would be nice to do it all within the Screen4 application, IMO.

Bug?  if I close the workspace pane, how do I get it back? (The View menu does not have a checkbox item for it.)

FWIW, I just tried to increase the resolution of my desktop (winxp) to something larger than 1024x768, and was successful to some degree. However, when I then imported the current development version 1024.set; all the DRO's were incrementing in unison. Is this some feature I've missed since I haven't been following the new development very closely?

The Tab flyout screen in the latest M3D-release does not appear properly on my 1024x768 screen in winXP. Adjusting its width to the left to see the whole thing is possible using the win resize slider<->, but is not remembered the next time it's used in that run, or in the next run of the M3 application..

I'd like to see a new support video showing the creation of BMP's/JPG's etc FOR USE in M3. (Benny,Brian, give us a peek at how you're creating the screens you're posting...)

I'd like to understand--in a support video, or by text here--how to use the "invisible "color" in graphics to have "holes" in the screen graphics for DRO's. And any other non-obvious items/functions not already mentioned in the existing S4 video...

IOW, could we have an update to the docs/ videos for screen design; aimed at those who haven't been following the Yahoo discussion thread (where I'm sure this has all already been covered. Someof this I |"knew" and i've just forgotten because it's been awhile since i last used it. Where can i get the most comprehensive and current screen design info for the RELEASE version of M3?) For example, how does one edit a script button in the current M3 release version?

In addition, It might be useful to have perhaps some comments on the intended organisation of the M3 graphics folders, and consids for choosing a .jpg over a .png,. or .bmp (Not to mention HOW to go about these conversions; I mean how to choose the size to make the original, or what makes sense when re-sizing/changing filetypes...

Maybe what I'm asking for is an intermediate Screen design lesson? (Though I feel that some of this is more like the basics)

Thank you in advance,

Ballendo


 

 

Pages: 1 2 »