![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
The data has a form and protocol determined by agreement between the parties at each end. For instance, it could be pure ASCII text, such as might be sent to a Model 33 TTY or a glass teletype. On the other hand, it might be wrapped in a protcol containing a header followed by a message followed by a checksum or CRC. Special codes might be used to indicate the beginning and end of these sections. It depends on how serious error-free transmission and reception is. The output from a temperature-measuring device is probably relatively simple. Just get the manual for the device and read it. Sellers of these things don't require you to guess and iterate to find an answer.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#12 | |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
Quote:
|
|
|
|
|
|
|
#13 |
|
Professional Programmer
|
Is using C# a possiblity for this project? Serial port access in C# is really simple.
|
|
|
|
|
|
#14 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
C# Syntax (Toggle Plain Text)
Python Syntax (Toggle Plain Text)
|
|
|
|
|
|
|
#15 | |
|
Expert Programmer
|
Quote:
|
|
|
|
|
|
|
#16 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
If you want to use .NET, I wouldn't bother with C++ .NET - it's very different to normal C++, and would be just like learning a new language. And it's more convoluted than C#.
Visual C# Express is free (http://msdn.microsoft.com/vstudio/express/), and you get a decent GUI designer. Of course, if you already use wxWidgets, you might find something like C++ or even Python easier with the right libraries. |
|
|
|
|
|
#17 | |
|
Professional Programmer
|
Quote:
Ooble pretty much covered it. VC# 2005 Express is free. It has a great GUI designer. I've seen you posting Java around the forums, and C# is pretty similar to Java. The only requirement is going to be that the machine you are running this on will need the .NET framework installed. Since you mentioned that it's going to be Windows XP, odds are it's already installed, but if not it's free anyways. I wouldn't say that it's any more restricting than having to have the JRE installed. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data logging problem from the serial port | jerryleo | Perl | 0 | Jan 10th, 2006 7:47 AM |
| Help in QBASIC (I think it's similar to VB) | phoenix987 | Visual Basic | 3 | May 9th, 2005 12:33 PM |
| Help with a QBASIC program | phoenix987 | Other Programming Languages | 4 | May 5th, 2005 12:27 PM |
| Script to output HDD data to serial port | Europa2010AD | C | 2 | Apr 6th, 2005 1:37 PM |
| Printer Port Programming | shadowhunter | C++ | 3 | Feb 28th, 2005 4:16 AM |