ad: dxeng

APRS plugin (uiv32x visual basic)

Discussion in 'Computers, Hardware, and Operating Systems' started by PU5TOK, Jul 29, 2012.

Thread Status:
Not open for further replies.
  1. PU5TOK

    PU5TOK Ham Member

    Anyone help me!

    How can i send telemetry data with this program uiv32x made by Visual Basic v5?

    Private Sub mUIV_NotifyTelemetry(strCallsign As String, strTo As String, strDigis As String, strHeader As String, intSource As UIView32.FRAME_SOURCE, strTelemetry As String)

    Dim strA As String
    strA = strCallsign & ">" & strTo
    If strDigis <> "" Then strA = strA & "," & strDigis
    strA = strA & ":" & strTelemetry
    ShowText txtStatus, strA & vbCrLf
    End Sub

    i cant understand each variable!

    :eek: Sorry about my English, 73 !
     
  2. KK4AMP

    KK4AMP Ham Member

    They aren't variables, they are strings.

    I don't know much about the program you've mentioned, but the code snippet is building a string of text called strA from the other strings and adding a few characters to format it. If you were calling me, I think:

    strCallsign = "PU5TOK"
    strTo = "KK4AMP"
    StrDigis = "Hello there!" (I think. someone else check me here if they know more about this particular program)

    strA would be created as blank. The first line after the DIM for it would make strA become:
    PU5TOK>KK4AMP

    If strDigis was empty, strA would be unmodified by the next line. However, it isn't in this example so strA becomes:
    PU5TOK>KK4AMP, Hello there!

    strA then gets a colon ":" and telemetry added to the end of the line. Don't ask me about telemetry, 'cuz I dunno yet.

    The last line of the subroutine appears to print the entire theng, then a CR/LF to be ready for the next print on a new line.
     
  3. PU5TOK

    PU5TOK Ham Member

    Thanks i'll try!
     
  4. PU5TOK

    PU5TOK Ham Member

    uiv32x is an Automatic Position Reporting System program
     
  5. K6ABZ

    K6ABZ Ham Member

    Are you using a TNC to send the APRS packets? Have you considered simply rolling your own APRS software, rather than relying on someone else's code?

    I ask because using a TNC is really not all that hard; you can enter conversation mode with one command, then it's just a matter of sending short data messages that comprise APRS messages.

    Here's a page outlining the APRS protocol:
    http://www.aprs.net/vm/DOS/PROTOCOL.HTM
     
  6. PU5TOK

    PU5TOK Ham Member

    TNC APRS packets to send? Have you thought about simply rolling your own APRS software, rather than relying on someone else's code?

    No I'm using only software

    I ask because using a TNC is not really that hard, you can get in talk mode with a command, then just a matter of sending short messages comprising data APRS messages.

    okay

    Here is a page that defines the protocol APRS:
    http://www.aprs.net/vm/DOS/PROTOCOL.HTM

    Thanks, I look
     
  7. PU5TOK

    PU5TOK Ham Member

    This was a great help, thanks
     
Thread Status:
Not open for further replies.

Share This Page