Account  |  Mobile  |  Help    
 
Home Database Live Audio Forums Wiki Classifieds Submit Info About

Go Back   The RadioReference.com Forums > Software > Scanner Programming Software


Scanner Programming Software This is the place to discuss scanner programming and control software.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-14-2008, 11:58 AM
bezking's Avatar
Moderator and DB Admin
 
Database Admin
 
Join Date: Aug 2006
Location: Long Island, NY
Posts: 1,587
Send a message via AIM to bezking
Default Developers: What language?

Hey software developers:

What programming language did you write your applications in? I'm thinking about learning a .NET language and am curious about what you guys did. I'm looking for good control over serial ports and data-file parsing. (I want to see how I can have a PC interact with my Garmin GPS)

Thanks!
__________________
--bezking
Moderator, NY-NJ DBA, Wiki Admin
bezking @ radioreference.com
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 07-14-2008, 12:01 PM
Member
 
Premium Subscriber
 
Join Date: Jun 2003
Location: Santa Clara, CA
Posts: 2,583
Default

Mostly C++, with a little "straight C" and assembly thrown in.
__________________
I'll keep my freedom, my guns, and my money... you can keep the change
Reply With Quote
  #3 (permalink)  
Old 07-14-2008, 01:02 PM
gmclam's Avatar
Member
 
Premium Subscriber
 
Join Date: Sep 2006
Location: Fair Oaks, CA
Posts: 2,557
Smile Programming

For "control programs", I like to write in a language as close to the hardware as possible, which is typically assembly. While that works for "devices" (like your scanner), it is not portable between platforms/etc such as the ability to use the same source code for a PC or MAC program. C, C++ and newer variations of C work fairly well for writing "applications" that can be transported. But it does depend on the type of program you want to write. Each language has its strong points.
__________________
PRO-95 | (customized) PRO-10 | PRO-97 | PRO-77 (customized) | PRO-92 | PSR-300
Reply With Quote
  #4 (permalink)  
Old 07-14-2008, 11:58 PM
ProScan's Avatar
Member
 
Audio Feed Provider
 
Join Date: Jul 2006
Posts: 238
Default

Assembly is used very little and only if it can't be done at a higher level or speed is needed. It's like re-inventing the wheel. Depending on the language, assembly is 100 to 500 times more code.

In Windows programming, normally the lowest level the programmer will want to go is the Windows API level using C++, VB, VB .net, C# .net, etc.

Learning any of the .net languages (VB .net and C# .net) is a good thing. The .net languages (also called the .net framework) include thousands of namespaces. Namespaces are libraries which are higher level then the API's. Programming with the .net framework, high level and low level can be mixed. Generally you want to program at the highest level possible. The advantage of high level is less code, faster development time, proven methods, etc. The disadvantage of high level is using libraries that may contain bugs, overhead, user downloading external programs (DirectX), or the library doesn't have the exact functionality that you want.

If there is something that can't be done a high level, then use the Windows API. Choosing VB or C# (pronounced C Sharp) is a matter of personnel preference. The syntax is different. I have only found one difference and that is VB doesn't use pointers. VB has an interop pointer but not the real thing.

During development of ProScan, I was experimenting with changing a bitmap color and to get the speed I needed, I had to use a pointer so I made a C# .dll file and called the procedure from VB .net

To answer your question. ProScan is developed with vb .net using aprox. 100 windows API for the low level audio (waveIn/waveOut), wave file write (mmio) and various miscellaneous things that couldn't be done at a higher level. The .net framework 2.0 and above contains a serial port class and all modern languages have excellent data-file parsing.
__________________
Bob
Taking Computer Aided Scanning to the next level!
http://www.proscan.org ProScan Web Server http://proscan.dyndns.org:443/
bob@proscan.org

Last edited by ProScan; 07-15-2008 at 12:43 AM..
Reply With Quote
  #5 (permalink)  
Old 07-15-2008, 08:06 AM
bezking's Avatar
Moderator and DB Admin
 
Database Admin
 
Join Date: Aug 2006
Location: Long Island, NY
Posts: 1,587
Send a message via AIM to bezking
Default

Thanks guys - I think I'll download the Visual Studio express editions (free!) and see which language I prefer before I go and shell out however much money the real VS editions cost.

Thanks again!
__________________
--bezking
Moderator, NY-NJ DBA, Wiki Admin
bezking @ radioreference.com
Reply With Quote
Sponsored links
Reply

Bookmarks

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
Attn Developers - Beta Web Service v1.2 needs testing blantonl System-wide Administration 1 12-04-2007 10:14 PM
Police drop Radio codes to speak same language gatorhater Texas Radio Discussion Forum 2 02-21-2007 05:38 PM
Plain Language Initiative musicman Virginia Radio Discussion Forum 15 10-08-2006 02:00 AM


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


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All information here is Copyright 2009 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2009 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions