[SOLVED !] Virtual Serial Port Driver


Closed Thread
Results 1 to 10 of 10

Thread: Virtual Serial Port Driver3023 days old

  1. #1
    Sargon
    Guest Sargon's Avatar

    0 Not allowed!

    Default Virtual Serial Port Driver

    I try to use Eltima - Virtual Serial Port Driver, VB 2008 and Proteus Isis to simulate a serial communication between PC and 16f877.

    VB code:
    Code:
    Public Class Form1
        'Dim WithEvents Comm1 As New IO.Ports.SerialPort
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Comm1.PortName = "COM3"
            Comm1.Parity = IO.Ports.Parity.None
            Comm1.BaudRate = 2400
            Comm1.DataBits = 8
            Comm1.StopBits = 1
            Comm1.Open()
            If Comm1.IsOpen = True Then TextBox1.Text = " serial port COM3 is open"
    
        End Sub
    
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            Dim I As Integer
            For I = 1 To 10000
                Comm1.Write("A", "A")
            Next I
        End Sub
    End Class
    Picbasic code:
    Code:
    Include "PROTON_4.INC"
    
    Dim X As Byte
    
    DelayMS 200
    Cls 
    
    Again:  
    SerIn PORTC.7, 17197, [ Wait ("A"), X]
    Print At 1,1 ,"X= ",  X
    GoTo Again
    In ISIS Compim port is set to COM3

    It does not seem to work...

Attention

This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

The advertisements we display are relevant to this web site and your browsing history

Please consider supporting us by disabling your ad blocker.


Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

If you can, please report issues in the forum area WebSite / Forum Issues


Thank you for your attention.

  • #2
    Sargon
    Guest Sargon's Avatar

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    I tried somethink like that:


  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #3
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,350
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    Hi,
    I have used it between RealBasic and ISIS and it works fine for me, I always use the USART but that should not matter.
    Have you checked your VSPE configuration?

    Regards,
    Bob

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #4
    wastrix
    Guest wastrix's Avatar

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    Baudmode = 17197 is 1200 baud, your PC application is set up for 2400 baud!

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #5
    Sargon
    Guest Sargon's Avatar

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    Wastrix , you are right. I changed the Baudmode to 16780 (Baud = 2400) and still no change.
    I attached a zipped folder that contain VB 2008 project, ISIS and Proton files, and also a Printscreen jpg picture.files.zip

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #6
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,350
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    Hi,
    I have just had time to look at some of the files, am I missing something but the VB form shows port 3 is open, Compim in ISIS is set for port 3 but VSPE is showing port 1 directed to port 2?
    I can not do anything about VB2008.

    Why not try with hyperterminal first?

    Regards,
    Bob
    Last edited by RGV250; 21st October 2011 at 17:26.

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #7
    Sargon
    Guest Sargon's Avatar

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    No! The virual port are COM3 and COM4 . I changed the Compim to COM4 and.... IT WORKS! :-)

    So, in VB the port is COM3 and in ISIS (Compim) is COM4.

    Thanks RGV250. Reading your message I understood that VSPD need two diferent ports ( a pair).

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #8
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,350
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    Hi,
    I am not sure how that works unless you have changed the com pair in VSPE to 3 and 4 as well?.

    Regards,
    Bob

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #9
    Sargon
    Guest Sargon's Avatar

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    No, I didn't change them. The Virtual ports was all the time COM3 and COM4 (in the left sidfe of the picture). COM1 and COM2 is on the right side of the picture, near the button "Add Pair" (If I want to add a new pair of vritual ports).

    I attached a new picture whit explanations.
    Click image for larger version

Name:	VSPD.jpg
Views:	38
Size:	46.2 KB
ID:	1217

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #10
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,350
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.09 GB

    0 Not allowed!

    Default Re: Virtual Serial Port Driver

    Hi,
    OK, I see now, I must have a very old version of VSPE.
    Anyway, glad it is sorted.

    Regards,
    Bob

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

       

    Similar Threads

    1. [SOLVED !] USB Virtual Com Port (CDC) & USB_ADC sample
      By crankshaft in forum Proton Plus Compiler v3
      Replies: 35
      Last Post: 18th March 2013, 00:15
    2. GRAPHIC LCD and TOUCHscreen plus serial driver
      By AnthonyHarris in forum Wanted and For Sale
      Replies: 0
      Last Post: 4th December 2010, 23:50
    3. USB hid - Serial Driver
      By Tim in forum The Lounge
      Replies: 50
      Last Post: 15th August 2010, 20:57
    4. [SOLVED !] Serial Data out of the PC serial Port
      By Harrison in forum Labcenter Proteus VSM
      Replies: 7
      Last Post: 6th March 2008, 19:12
    5. USB Virtual com port
      By normnet in forum Proton Plus Compiler v3
      Replies: 11
      Last Post: 7th November 2005, 06:36

    Tags for this Thread

    Posting Permissions

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