Visual Basic 6 and Pic com


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2004
    Location
    nebraska
    Posts
    79

    Default Visual Basic 6 and Pic com

    Hi
    Does anyone have a link that would be good for making a Program to open up the serial port on a PC to comunicate with a pic. I have very basic skills with VB and cannot find any understandable info. I'm trying to make a very basic data logger. Or could anyone suggest another program to use.

    Thanks
    Nick

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Well, if you're not happy with VB or any of the other PC based programming options, then why not simply use Hyperterminal to grab and save your Data, and program your PIC to output the Data already pre-formatted in the format you want to use it. If you want to import into Excel for example, you can have your PIC output in a format that Excel will accept. If it's going to be printed, then again the PIC can be programmed to output pre-formatted pages.

    Conventionally, folks just dump data out of the Data-Logger and use the program on the PC to format and manipulate the data in a desired way... there's nothing to say you can't do that processing onboard the PIC.

  3. #3
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216


    Did you find this post helpful? Yes | No

    Post Link to an example

    Here's a link. Get familiar with Bruce's site... there's a wealth of information there. Also, give the forum search feature here a shot.

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Thanks for the link Rhino.

    Nick. You might also want to take a look at Jan Axelsons serial links page here http://www.lvr.com/serport.htm

    If you're looking for a good book on the subject, Jan's book Serial Port Complete is 2nd to none.

    You can download the VB source code from her book here http://www.lvr.com/files/spc.zip

    The .zip file contains a few template VB applications ready to run. The devlink app has the ability to log incoming data to file, and is very easy to modify.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. pic basic i2c bus does not work
    By tamertokgoz in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 12th June 2008, 22:57
  2. Visual Basic 6 and Vista
    By cooksydesign in forum Off Topic
    Replies: 2
    Last Post: - 11th February 2008, 13:54
  3. PIC - 8 Pins - 6 Output Pins ?
    By DanPBP in forum Off Topic
    Replies: 0
    Last Post: - 22nd October 2007, 00:23
  4. send data from VB 6 to PIC 16f84
    By win_832001 in forum Serial
    Replies: 2
    Last Post: - 9th March 2006, 14:21
  5. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 20:10

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts