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 06-18-2011, 07:44 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road
Need Programmer TEXT to BITMAP

The new Camsoft version 17.0 has the abililty to put an unlimited number of bitmaps up on the user screen.

I can see it would be REAL KEWL to be able to convert a text message to a bitmap and display for all sorts of events.

Anyway I did some searching and found this article:
Generate Image from text using C# OR Convert Text in to Image using C# « Tech Treasure

I'm NOT a C programmer. What would it take to make a standalone .exe where you'd pass the text, font, color and the utility would create a bitmap?

Karl
Reply With Quote

  #2   Ban this user!
Old 06-19-2011, 06:56 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,236
doorknob is on a distinguished road
Buy me a Beer?

I have worked with C# (that's C-sharp) a little bit in the past, although I'm no expert.

It looks like it should be relatively straightforward to do what you are looking for, using the code in the linked article as a starting point. That code looks like it returns a bitmap in memory - you would need additional code to write the bitmap out as a file (you might be able to find sample code to do that part).

IIRC you can get a free version of Microsoft Visual Studio that you could use to do the programming. If you have some programming experience in another language, you could probably learn enough to build such a program in a day or two of studying.

For someone who has the skills already, it might take just a few hours to cobble together something that would work, and maybe a few more hours to clean it up a bit and make it more user-friendly.
Reply With Quote

  #3   Ban this user!
Old 06-19-2011, 07:52 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by doorknob View Post
...For someone who has the skills already, it might take just a few hours to cobble together something that would work, and maybe a few more hours to clean it up a bit and make it more user-friendly.
I found a way to do most of what I need with another <Camsoft> command.

Still, I see several REAL KEWL possiblities if i could find a programmer type. I have a well stocked machine shop with many years experience. Maybe somebody out there would like to trade parts for programs.

Karl
Reply With Quote

  #4   Ban this user!
Old 06-19-2011, 08:07 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,236
doorknob is on a distinguished road
Buy me a Beer?

Karl, I will send you a PM later this evening.
Reply With Quote

  #5   Ban this user!
Old 07-07-2011, 11:43 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,236
doorknob is on a distinguished road
Buy me a Beer?

I'm not sure whether or not this is the proper place to post this, but I'll give it a try here.

As a follow-up to the discussion above, I worked with Karl_T to produce for him a proof-of-concept prototype of a Visual Basic 6 application program that permits the user to enter or edit the values of various gcode statements displayed on a single screen, and then click a button to load that program into Camsoft and execute it. In addition, the program was able to read from and write to Camsoft variable locations specified by the programmer. The Visual Basic program made use of the ActiveX DLL that ships with Camsoft.

For example, the program would permit the user to set or modify the X, Y and Z coordinates for a G0 or G1 move, or change a feed rate, or optionally include or omit a line of gcode, or similar, save the resulting gcode to a file on the user's PC, and then load the gcode program into Camsoft.

While the program that I wrote was fully functional, it was really only a test of the concept rather than a finished work that could be generalized and used by others. The test was successful, and Karl_T intends to further customize the prototype for his own purposes (after learning some Visual Basic programming).

The basic functionality that I tested in the program could certainly be expanded upon to build full-screen conversational user interfaces or to build other custom tools that would enhance the native capabilities offered by Camsoft. The program that I wrote was designed to run on the same PC that is running the Camsoft software. It appears, though, that the Camsoft ActiveX DLL also has the capability of being executed on a remote computer that can communicate with Camsoft via an RS-232 or network connection (subject to whatever Camsoft license requirements may be applicable).

Based on the experience that I gained while making that prototype, I am confident that I could do custom Visual Basic 6 software development for other Camsoft licensees, either on an hourly rate basis or possibly on a fixed fee contractual basis.

So, if anyone reading this has a need for custom Visual Basic 6 - Camsoft interface programming that I might be able to handle for you, feel free to contact me via private message.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-07-2011, 12:00 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

I'll follow up a bit more. ED WAS GREAT HELP!

He gave me the structure and an example to make a real neat conversational interface for Camsoft. The concept we went with was to have the VB front end write a short Gcode program, save the file, and load it into camsoft. The part can then be previewed in the graphics window. If changes are needed, just go back to the VB window, edit, reload, and view again in camsoft. When you're all set, put your tool in and press cycle start.

I plan on upgrading the existing Camsoft conversational LISTBOX to this. Should really simplify making most parts that don't need a full CAD/CAM program.

Karl
Reply With Quote

  #7   Ban this user!
Old 07-16-2011, 11:51 AM
 
Join Date: Jun 2011
Location: usa
Posts: 17
machines2go is on a distinguished road
Something different

This sounds good. I want something different and better than the rest. I don't understand quite yet the benefit. Are you saying I can make my own conversational interface with graphics myself with out being an advanced computer programmer? How far can I take this?
Reply With Quote

  #8   Ban this user!
Old 07-16-2011, 12:11 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by machines2go View Post
This sounds good. I want something different and better than the rest. I don't understand quite yet the benefit. Are you saying I can make my own conversational interface with graphics myself with out being an advanced computer programmer? How far can I take this?
Visual basic is probably the simplest of object oriented programming languages. But certainly not for everybody.I have no problem with sharing doorknob's work if he wants to give you the code. I assume he'd want a token offer from you.

Visual basic is a very capable language. You could make as nice an interface as you desire.

Karl
Reply With Quote

  #9   Ban this user!
Old 07-16-2011, 02:19 PM
 
Join Date: Jun 2011
Location: usa
Posts: 17
machines2go is on a distinguished road

Thank you Karl.

You have given me some new ideas.

I will look into Camsofts abilities before I go further.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- help with bitmap to vector electric2u ArtCam Pro 1 05-06-2011 03:55 AM
Greyscale bitmap to DXF or STL rweatherly Coding 6 08-20-2009 12:32 PM
Bitmap image to dxf Allsteel30 General CAD Discussion 0 06-10-2009 10:32 PM
Need Help!- Bitmap to .EPS bengalsfan Printing, Scanners, Vinyl cutting and Plotters 5 05-12-2008 10:55 AM
Bitmap trace tdnp Vectric 8 02-20-2008 04:11 PM




All times are GMT -5. The time now is 01:34 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 354 355 356 357 358 359 360 361