Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

i have connect gps serial output to PC. actually

Status
Not open for further replies.

hassanmd

Member level 1
Joined
May 31, 2007
Messages
41
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,554
connect gps pc

i want to get interrupt when each character is received. as in microcontroller .plz help me on any platform like assembly,c++ or matlab.
thnks
 

mpch_elec

Member level 1
Joined
Jul 22, 2009
Messages
33
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Tehran,Iran
Activity points
1,505
gps output to pc

you Have 2 Ways For This in c++:
1)Using Threads
2)Using Timer

1)Thread
with using thread you can have parallel processing in one main program.
you can put your check routine in thread and when it's occured do every thing that you want
notice that when the thread routine running the main program is running too.
2)Timer
with timers
you can check state in periodical time...
when it occured jump to every where yu want.

good luck.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top