User Profile

Collapse

Profile Sidebar

Collapse
TXShooter
TXShooter
Last Activity: Jan 21 '13, 02:10 PM
Joined: Jan 2 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks Isaac. I ended up going about it the 'semi-hard way' on this particular program. For now, this works, but I would LOVE to pick your brain about other aspects of both the DAQ and the Quad-Relay. Is there any way we can get together to discuss?

    Code:
              
              'Parse out the DAQ state
              Dim array1 As Char() = returndata.ToCharArray()
              Dim source As Char() = array1
              Dim TextBoxString
    ...
    See more | Go to post

    Leave a comment:


  • TXShooter
    started a topic Need advice on how to program...

    Need advice on how to program...

    I am still new to VB Programming, and I'm seeking advice in Visual Basic on how to write a program that will perform the following duties:

    1) Install as a service on Windows Server Platforms
    2) Display a splash screen upon bootup/service start
    3) Read in an XML file for settings
    4) Listen on LAN for messages from remote computers
    5) Send commands to turn on/off a remote relay
    6) Install an animated...
    See more | Go to post

  • Holy C**p, Rabbit, that did it!

    "source" contained the entire xml 'file' in a streaming string.

    The problem was that "datavalues : 10000000001" was my output instead of "input1stat e: 0" (etc.). I needed to break down the string into appropriate variable/value segments.

    However, it would seem that I'll need to go a completely different direction with my XML programming in order to...
    See more | Go to post
    Last edited by TXShooter; Jan 8 '13, 02:48 PM. Reason: Forgot to insert details.

    Leave a comment:


  • How do I process XML in Visual Basic?

    I've tried, and I've tried, and I've tried... I just can't seem to get a handle on parsing an XML stream from a device. It should be simple, but I MUST be missing something. All I want to do is to display the variables in the XML stream, and the values to those variables, in Me.Labelx.Text format so that my form looks like:

    input1state = 0
    input2state = 0
    input3state = 0
    input4state = 0
    input5state = 0...
    See more | Go to post

  • Code tags weren't available for my first post. Sorry.
    See more | Go to post

    Leave a comment:


  • Extract and process XML data from a string

    I'm trying to process the returndata from this device:
    http://www.controlbyweb.com/support/five-input.html

    My code is thus:
    Code:
    Public Class ControlByWebTester_Form
      Private Sub Read_DAQ()
        Dim tcpClient As New System.Net.Sockets.TcpClient()
        Dim port As Integer
        Dim ipAddr As String = Convert.ToString(IPAddr_TextBox.Text)
    
        Try
          'Connect to DAQ
          port = Convert.ToInt32(IPPort_TextBox.Text)
    ...
    See more | Go to post
    Last edited by Rabbit; Jan 3 '13, 01:25 AM. Reason: Please use code tags when posting code.
No activity results to display
Show More
Working...