CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-02-2005, 01:00 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
A coulple questions about GUI design...

First,
I created an entire menu system in my Operator interface by using the LISTSETUP commands..
The user clicks on a choice and that pops up another list with more options for the users choice.
Anyone ever do something like this? Is this normal?

2nd.
When using the SLEEP command, does this command stop all code from running or just the current code being executed? And what about if a user clicks on something while the code is still processing the sleep timer?

3rd.
PICTURE command. I can not seem to get more than 1 picture to be placed on the screen with this command. I can change the picture, but it will only let me place 1 bmp file at a time. Am I doing something wrong or is this normal?

4th.
I am creating my own graphics (wife making me buttons) for use in the camsoft interface. She has made buttons (2 of each for Up and Down) positions. When a user clicks the button, I want the button to depress when the user clicks on it, and then pop back out. IE: ButtonUp.bmp and ButtonDwn.bmp. But how do I get it to do this smoothly?? Any suggestions? I tried using the sleep command but its not smooth.

Thanks for all the help..!! When I get the GUI finished, I will post screen shots of it!

Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 04-02-2005, 02:04 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Did you download the extra BMP buttons that Camsoft posted?
Al
Attached Files
File Type: zip NewBitmaps.ZIP‎ (224.5 KB, 60 views)
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 04-02-2005, 02:16 PM
 
Join Date: Sep 2003
Location: ADDISON, Illinois
Posts: 17
Jim Cooper is on a distinguished road

Murphy,

The first assumption is correct. The list box should pop up when you issue LISTPICK and wait until the user picks from the list. The selection will be stored in a variable.

I had to try several logic routines using the SLEEP command. I got mixed results in performance. It does seem to be waiting or sleeping the amount of time issued until the next command runs. However I found some logic on the Camsoft CD that used SLEEP and it works okay. But what I found that really worked while other stuff like buttons were running was this instead of SLEEP.
IF test THEN GOTO :LOOP
your logic here
:LOOP

The PICTURE command does only show 1 picture but Camsoft just answered my email to them today the latest version has the ability to tell the user the X,Y location of were you clicked on the picture which means you can have one picture that shows a row of images and you would be able to tell which image the user clicked on. I thought I was the only one that worked on Saturday.

I didn't have a chance to ask about what Al just said about downloading bitmaps but I have never been able to find a page to download them. I have got them before in a zip file.

I know that you are using the $495 factory automation software version and I have the CNC versions but the latest installation CD has more bitmaps every time I get an update. I have also made my own bitmaps of buttons and lights from photos I took of two of my other Allen Bradley and Fanuc controllers.

Jim C.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 04-02-2005, 04:05 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Originally Posted by Al_The_Man
Did you download the extra BMP buttons that Camsoft posted?
Al
AL, thanks for the file.. However, I find most of the stock Camsoft graphics to be less than desireable. Some of them look very nice, and I plan on using the nice one's, but most look funky to me. (I am not into the cartoon look as I would describe it) I like the graphics that are an actual photo the best..

Besides, my wife is a webmaster, graphics expert and photoshop god. I just tell her what I want and she makes it.. (Lucky eh? LOL)

Thanks!!!
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 04-02-2005, 04:15 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Originally Posted by Jim Cooper
Murphy,

The first assumption is correct. The list box should pop up when you issue LISTPICK and wait until the user picks from the list. The selection will be stored in a variable.

I had to try several logic routines using the SLEEP command. I got mixed results in performance. It does seem to be waiting or sleeping the amount of time issued until the next command runs. However I found some logic on the Camsoft CD that used SLEEP and it works okay. But what I found that really worked while other stuff like buttons were running was this instead of SLEEP.
IF test THEN GOTO :LOOP
your logic here
:LOOP

The PICTURE command does only show 1 picture but Camsoft just answered my email to them today the latest version has the ability to tell the user the X,Y location of were you clicked on the picture which means you can have one picture that shows a row of images and you would be able to tell which image the user clicked on. I thought I was the only one that worked on Saturday.

Jim C.
My LISTSETUP works perfectly... Did you know the following line can be used?

!LISTADD TIME \34

This will display the word TIME and then the variable \34 next to it within your selection list! I ran a loop so that the list updates with the timer file at 1 second. Now I can click a process that activates the LISTSETUP and put all the current process parameters into the list and have them updated by the timer.fil. (This command rocks)

I solved my Picture problem by using buttons as pictures and changing the bmp file that represents the button. 14 buttons to represent each of my 14 processes and when the user clicks the button, the ListSetup runs and displays all of the parameters for that process.

When I figued this all out and made it work, I was dancing around I was so happy..

Thanks for all the help.. I will play with the loop idea instead of the SLEEP command and let you know how it works out..

Murphy
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 04-02-2005, 05:04 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by murphy625
AL, thanks for the file.. However, I find most of the stock Camsoft graphics to be less than desireable. Some of them look very nice, and I plan on using the nice one's, but most look funky to me. (I am not into the cartoon look as I would describe it)
Yeah, I am with you there, I don't like the 'Video Game' look alot of their graphics has. I prefer a more professional look, screens similar to alot of the off-the-shelf systems. Clean & functional
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 04-02-2005, 05:37 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

AL,

Would you happen to have a screen shot of one of those off the shelf, clean and functional interfaces?

I've never seen one before.. It would be nice to get a reference.

Thanks,
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 04-02-2005, 05:54 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

I will try and post a couple.
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 10:43 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353