D davelew1s Active Member Licensed User Longtime User Dec 8, 2009 #1 Hi! I am trying to use this library but having problems...I want to get the information from a port not a file, is this possible? Thanks in advance Dave Lewis.
Hi! I am trying to use this library but having problems...I want to get the information from a port not a file, is this possible? Thanks in advance Dave Lewis.
agraham Expert Licensed User Longtime User Dec 8, 2009 #2 Desktop or device? What sort of port? The answer is almost certainly not. You will have to acquire the document and save it to a file before accessing it.
Desktop or device? What sort of port? The answer is almost certainly not. You will have to acquire the document and save it to a file before accessing it.
D davelew1s Active Member Licensed User Longtime User Dec 8, 2009 #3 Thanks agraham for the quick response, I thought that might be the answer but hoped.. it's for desktop and i'm using port 7879..the data comes in streams sometimes short sometimes long ones..one complete message is 13 lines long like so:- <MODESMESSAGE> <DATETIME>20091208162929</DATETIME> <MODES>4CA700</MODES> <CALLSIGN>RYR3513</CALLSIGN> <ALTITUDE>36000</ALTITUDE> <GROUNDSPEED>424</GROUNDSPEED> <TRACK>191</TRACK> <VRATE>0</VRATE> <AIRSPEED>000</AIRSPEED> <LATITUDE>48.6544</LATITUDE> <LONGITUDE>-5.8470</LONGITUDE> <SQUAWK>2210</SQUAWK> </MODESMESSAGE> Thanks again Dave Lewis.
Thanks agraham for the quick response, I thought that might be the answer but hoped.. it's for desktop and i'm using port 7879..the data comes in streams sometimes short sometimes long ones..one complete message is 13 lines long like so:- <MODESMESSAGE> <DATETIME>20091208162929</DATETIME> <MODES>4CA700</MODES> <CALLSIGN>RYR3513</CALLSIGN> <ALTITUDE>36000</ALTITUDE> <GROUNDSPEED>424</GROUNDSPEED> <TRACK>191</TRACK> <VRATE>0</VRATE> <AIRSPEED>000</AIRSPEED> <LATITUDE>48.6544</LATITUDE> <LONGITUDE>-5.8470</LONGITUDE> <SQUAWK>2210</SQUAWK> </MODESMESSAGE> Thanks again Dave Lewis.