where do i start ?
ok, here is what i want to do.
i need to build a database application.
i also need this program to get information from a serial connection (RS 232)
the info that comes in is going to be from a pic chip.
i will be gathering info from this module connected to the computer by RS 232, data will be comming in every minute or so. and the program will be to manipulate this data as it comes in.
so, where do i start ? there are no current apps that do this kind of thing . i am the only employee of the company i work for. but i am going to develop this. there isnt a major rush on the project and it gives me the excuse to learn to write programs. So what i need to know is.......
where does a total newbie ( only some BASIC experience )
go to learn simple to complex programming, manipulating a database, and especially getting data from a device connected to a serial port. ?
i have looked at python
C++ (looks intimidating) but i have QT designer (may make it easier ?)
Glade (can it work with python ? )
after i load IDLE, how do i get the tk or tkinter module to load ?
i dunno - you guys with some experience, gimme a leg up, point me in the easiest dirrection to start out with..that will not take me two years to be proficient with.
Geez that sounds like a task. I doubt you can become quicky proficient in any language fast enough. I would think learning some C and C++ would be helpful since you will likely need to interpret some other programming in order to do yours and both languages ar every common. Knowledge of BASH or some other scripting language would be a benefit.
I am not your friend
oi vay... that's some work for non-programmer types.
personally it's been a while since I've touched a serial port... it's not hard, but may be difficult to understand if you're not a developer... the end result would be you copying some code chunks from the 'net that just work and you have no clue how...
python should do it (pyserial module), but like I said, I haven't touched a serial port in some time.... last time had something to do with line printers...
I believe (and someone can correct me on this) that there is an easier way to do this... being that the serial port will have a device node, you should be able to "pull" data from it with a bash script, assuming you are recieving structured data....
# !/bin/bash while true do read LINE < /dev/tty0S echo $LINE done
assuming input is newline separated and on "COM1"....
Hey, this is great !
i dont mind taking some time (6 mos to a year) to learn this stuff. it will take us that long to get this far along in our project. i want to be ready when the time comes. and i want to delve into programming and from what i have researched, python seems to be what i am looking for.
pasting code does not bother me at all
i still dont know anything about how to get tkinter or tk.
i am learning this as i go.
so far i have mastered simple addition and printing some strings.
big newbie here, but i have used the basic compiler that talks to the pic chip pretty extensivly.
just really wanted some dirrectional pointers.
This thread made me interested to include a serial port/device detect in hwd. I found a similar thread on linuxquestions.org.
http://www.linuxquestions.org/questions … did=188998
Its good to have the setserial package:
# pacman -S setserial