---
+ Post New Thread
Results 1 to 11 of 11
  1. #1
    Newbie level 3
    Points: 852, Level: 6

    Join Date
    Apr 2008
    Posts
    4
    Helped
    0 / 0
    Points
    852
    Level
    6

    proteus virtual terminal

    I use ISIS 6.9 for simulating a communication between PC and PIC16F877A.
    I want send data to PIC by using virtual terminal.
    But my problem is ,the virtual terminal just send keyboard ASCII codes to output.
    But i must send data like this "0x04 0xF4 0x01 ..." that the equivalent character did not found on keyboard.
    Can i send text files by virtual terminal (like hyper terminal) ?

  2. #2
    Full Member level 1
    Points: 3,115, Level: 13

    Join Date
    Jan 2004
    Posts
    113
    Helped
    15 / 15
    Points
    3,115
    Level
    13

    virtual terminal proteus

    You would be better to use either the Pattern Generator Virtual Instument (will load a CSV file containing the bytes you want to transmit) or the file or pattern input generator.

    Iain.


    1 members found this post helpful.

    •   Alt13th May 2008, 16:20

      advertising

        
       

  3. #3
    Advanced Member level 1
    Points: 4,480, Level: 15

    Join Date
    Jul 2004
    Location
    Hungary
    Posts
    410
    Helped
    157 / 157
    Points
    4,480
    Level
    15

    virtual terminal in proteus

    Quote Originally Posted by behrouz2007
    I use ISIS 6.9 for simulating a communication between PC and PIC16F877A.
    I want send data to PIC by using virtual terminal.
    But my problem is ,the virtual terminal just send keyboard ASCII codes to output.
    But i must send data like this "0x04 0xF4 0x01 ..." that the equivalent character did not found on keyboard.
    Can i send text files by virtual terminal (like hyper terminal) ?
    Simply type 'cntrl A' for 0x01, cntrl B for 0x02... and so on. THis is working on the virtual terminal (switch it to hex echo to see).
    For the he high values like 0xF4 (dec 244) use the alt 0244 as usual

    Hope this helps
    zuisti


    1 members found this post helpful.

  4. #4
    Newbie level 5
    Points: 774, Level: 6

    Join Date
    Oct 2008
    Posts
    9
    Helped
    0 / 0
    Points
    774
    Level
    6

    virtual terminal isis

    Quote Originally Posted by zuisti
    Quote Originally Posted by behrouz2007
    I use ISIS 6.9 for simulating a communication between PC and PIC16F877A.
    I want send data to PIC by using virtual terminal.
    But my problem is ,the virtual terminal just send keyboard ASCII codes to output.
    But i must send data like this "0x04 0xF4 0x01 ..." that the equivalent character did not found on keyboard.
    Can i send text files by virtual terminal (like hyper terminal) ?
    Simply type 'cntrl A' for 0x01, cntrl B for 0x02... and so on. THis is working on the virtual terminal (switch it to hex echo to see).
    For the he high values like 0xF4 (dec 244) use the alt 0244 as usual

    Hope this helps
    zuisti
    What if i need to send byte 0x00 ?

    THanks man



  5. #5
    Advanced Member level 1
    Points: 4,480, Level: 15

    Join Date
    Jul 2004
    Location
    Hungary
    Posts
    410
    Helped
    157 / 157
    Points
    4,480
    Level
    15

    proteus virtual terminal help

    Quote Originally Posted by brunoaduarte
    What if i need to send byte 0x00 ?
    Hi;

    You are right, it's not possible in the VirtTerm window (unfortunately).

    However, an "easy" workaround to this:
    Use an other char instead of the null (for ex. a backslash '\') and make a simple converting routine
    in your serial receiving sw to substituting it with a null character.
    zuisti



    •   Alt13th October 2008, 19:30

      advertising

        
       

  6. #6
    Newbie level 5
    Points: 774, Level: 6

    Join Date
    Oct 2008
    Posts
    9
    Helped
    0 / 0
    Points
    774
    Level
    6

    using virtual terminal in isis

    Great idea, i'm going to try that.

    Are there any tutorial on how to send bytes to the virtual terminal using that Pattern Generator Virtual Instument , i don't undestand how to do that.

    Thank's



  7. #7
    Advanced Member level 1
    Points: 4,480, Level: 15

    Join Date
    Jul 2004
    Location
    Hungary
    Posts
    410
    Helped
    157 / 157
    Points
    4,480
    Level
    15

    using virtual terminal in proteus

    Quote Originally Posted by brunoaduarte
    Are there any tutorial on how to send bytes to the virtual terminal using that Pattern Generator Virtual Instument
    I think it's impossible.
    But ... hopefully you can be using the pattern generator INSTEAD of the virtual terminal as an input device.
    I haven't tried it yet , study carefully the timing and clocking items in the pattern generator help.
    Good luck!



  8. #8
    Newbie level 1
    Points: 681, Level: 5

    Join Date
    Feb 2009
    Posts
    1
    Helped
    0 / 0
    Points
    681
    Level
    5

    virtual terminal pic

    how can i enable echo i'm searching the option and trying to add echo=1 ori something like this in property menu .. for over 2 h..



  9. #9
    Newbie level 3
    Points: 689, Level: 5

    Join Date
    Feb 2009
    Posts
    3
    Helped
    0 / 0
    Points
    689
    Level
    5

    proteus virtual terminal connection

    You can find electronic message center related issues solved at http://www.empvisualsolutions.com/mo...ystem&sp_id=61



  10. #10
    Advanced Member level 2
    Points: 5,672, Level: 17

    Join Date
    Mar 2002
    Location
    UK
    Posts
    520
    Helped
    47 / 47
    Points
    5,672
    Level
    17

    virtual terminal в proteus

    I had to do this once. I think I set up another virtual PIC and loaded a data table and conversion software into it. I then communicated with the virtual chip with terminal in ascii. This then converted it to whatever code I needed, and output it to the main chips ser in port. Was a while ago, so no longer have details.
    "A" could be 0x00 "B" 0x01 etc, or whatever.



  11. #11
    Newbie level 3
    Points: 702, Level: 5

    Join Date
    Jul 2009
    Location
    kathmandu
    Posts
    3
    Helped
    2 / 2
    Points
    702
    Level
    5

    Re: Using Proteus Virtual terminal for sending data to PIC

    hi i am using proteus 7.1.when i want to transmit any character to serial port and to check i am using virtual termial,but the terminal show different character then transmitted one.my circuit is


    1 members found this post helpful.

+ Post New Thread
Please login