| View previous topic :: View next topic |
| Author |
Message |
kc7aad Contributor

Joined: 09 Oct 2005 Posts: 53 Location: Spokane Washington
|
Posted: Thu Oct 02, 2008 3:00 am Post subject: Serial port read - 2 - 5 second duration... |
|
|
It looks like with VDSDLL, I can read a comm port, but I just want to make sure before I buy it. I have the need to create a small program that will grab the data from a serial port, and be able to parse it. It only needs to grab about 2 to 5 seconds of data.
Once it is parsed, I need to send that info to a server on my network, or store it locally until the PC is connected to my network from somewhere.
Sound like something doable?
I am trying to create a tracking program that will log the username, IP Address, WAN Address of Internet connection (If present) and the GPS Coordinates of the PC. My Laptops have a builtin GPS Receiver in them, and it is connected to COM3 internally.
Anybody done this or something similar that I could look at your code??
Will VDSDLL do what I need it to, as for reading the COM PORT?
Thanks for any help!!
|
|
| Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Thu Oct 02, 2008 4:08 am Post subject: |
|
|
I uploaded a dll a while back that interfaces to com ports... It has been working very well for me... You can find it here:
http://forum.vdsworld.com/viewtopic.php?t=3224
Hooligan
_________________ Hooligan
Why be normal? |
|
| Back to top |
|
 |
kc7aad Contributor

Joined: 09 Oct 2005 Posts: 53 Location: Spokane Washington
|
Posted: Fri Oct 03, 2008 5:08 am Post subject: |
|
|
Thanks Hooligan!! Just what I was looking for.
If anyone has any need for this sort of thing, let me know and when (if) I get it done, i'll post it here.
|
|
| Back to top |
|
 |
kc7aad Contributor

Joined: 09 Oct 2005 Posts: 53 Location: Spokane Washington
|
Posted: Sat Oct 04, 2008 3:22 am Post subject: |
|
|
I was able to make the Example in here work, but it's not displaying the correct text. It should be reading the info as ascii, since it is simply a GPS string sent from a GPS Receiver built into my laptop. It is on COM3, and it should be 4800,N,8,1 just as it shows.
Any ideas why this would be?? Is it not trying to read the text as ASCII?? Or is it something weird that I can't fix with this. Here is the screenshot of what it is doing...
Thanks for the help.
| Description: |
|
| Filesize: |
10.31 KB |
| Viewed: |
28352 Time(s) |

|
| Description: |
|
| Filesize: |
10.31 KB |
| Viewed: |
28352 Time(s) |

|
|
|
| Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Sat Oct 04, 2008 4:02 pm Post subject: |
|
|
I think I know what the issue is... There is a newer dll available, but I wont be able to post it until Monday... (Does it work at 9600 baud?)
Hooligan
_________________ Hooligan
Why be normal? |
|
| Back to top |
|
 |
kc7aad Contributor

Joined: 09 Oct 2005 Posts: 53 Location: Spokane Washington
|
Posted: Sat Oct 04, 2008 5:05 pm Post subject: |
|
|
| I haven't tried it at 9600, because I only need 4800. I can try at at 9600 on Monday as well and let you know.
|
|
| Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Mon Oct 06, 2008 2:51 pm Post subject: |
|
|
I uploaded a new comport dll (at my original thread...)
That should correct the issue. Note the minor change in syntax...
Enjoy,
_________________ Hooligan
Why be normal? |
|
| Back to top |
|
 |
kc7aad Contributor

Joined: 09 Oct 2005 Posts: 53 Location: Spokane Washington
|
Posted: Tue Oct 07, 2008 4:42 am Post subject: |
|
|
Might be doing something wrong, but when I extract the files, and try andrun the example program, it errors out on line 51. Any ideas??? I tried adding the dll to the systes 32 directory, just in case it wasn't able to find it, but still no go. It says "Library Function not found at line 51."
Any hints?
I tried it on a Vista PC, and it seems to open it just fine, but no-go on my XP-SP3.
|
|
| Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Tue Oct 07, 2008 2:47 pm Post subject: |
|
|
Somehow you are using the older dll. (The date on the old dll is 11/4/04, the date on the new dll is 11/30/04). try down loading and replacing the old dll...
Let me know if that helps...
Hooligan
_________________ Hooligan
Why be normal? |
|
| Back to top |
|
 |
Hooligan VDS Developer


Joined: 28 Oct 2003 Posts: 480 Location: California
|
Posted: Wed Oct 15, 2008 3:59 am Post subject: |
|
|
Have you had any luck with this?
Just wondering...
Hooligan
_________________ Hooligan
Why be normal? |
|
| Back to top |
|
 |
|