videos?
Not Found
The requested URL /videos.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at robot.tmcp.com.au Port 80
about?
Not Found
The requested URL /videos.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at robot.tmcp.com.au Port 80
contributors?
Not Found
The requested URL /videos.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at robot.tmcp.com.au Port 80
feedback?
Not Found
The requested URL /videos.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at robot.tmcp.com.au Port 80
I have decided to dig the project out again after giving up on it some time ago.
I have decided to just use a VB.net application for the moment and communicate with the device via telnet.
After converting the serial port code to telnet I can use the device as before. The only problem is with adding a schedule.
When I add a schedule
day | hour | min | code
4 | 12 | 45 | 3
I get the following back when reading in the schedule.
day | hour | min | code
13 | 10 | 52 | 13
I know the problem is in the vb.net application with the sending of data but don't know what specifically is wrong.
I would appreciate your thoughts on the problem.
Can you post some code where this problem occurs? VB.NET handles strings and characters differently than it handles bytes, which could be a cause of your problem.
Edit: I uploaded an old copy from when I was playing with the code.
Here is the current code I have.
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Try
Dim day As Decimal = 0
Dim code As Decimal = 0
Dim hour As Decimal = 0
Dim min As Decimal = 0
If selday.Text = "Sunday" Then
day = 1
ElseIf selday.Text = "Monday" Then
day = 2
ElseIf selday.Text = "Tuesday" Then
day = 3
ElseIf selday.Text = "Wednesday" Then
day = 4
ElseIf selday.Text = "Thursday" Then
day = 5
ElseIf selday.Text = "Friday" Then
day = 6
ElseIf selday.Text = "Saturday" Then
day = 7
End If
If selcode.Text = "Start1" Then
code = 1
ElseIf selcode.Text = "Stop1" Then
code = 2
ElseIf selcode.Text = "Start2" Then
code = 3
ElseIf selcode.Text = "Stop2" Then
code = 4
ElseIf selcode.Text = "Start3" Then
code = 5
ElseIf selcode.Text = "Stop3" Then
code = 6
ElseIf selcode.Text = "Start4" Then
code = 7
ElseIf selcode.Text = "Stop4" Then
code = 8
ElseIf selcode.Text = "Start5" Then
code = 9
ElseIf selcode.Text = "Stop5" Then
code = 10
ElseIf selcode.Text = "Start6" Then
code = 11
ElseIf selcode.Text = "Stop6" Then
code = 12
ElseIf selcode.Text = "Start7" Then
code = 13
ElseIf selcode.Text = "Stop7" Then
code = 14
ElseIf selcode.Text = "Start8" Then
code = 15
ElseIf selcode.Text = "Stop8" Then
code = 16
End If
hour = selhour.Value
min = selmin.Value
Dim msg() As Byte = {day, hour, min, code}
objSocket.SendString("n")
For i = 0 To 3
objSocket.Sleep(20)
objSocket.SendByte(msg(i))
Label7.Text = Label7.Text & " " & msg(i)
Next
Label7.Text = Label7.Text & " - "
Finally
End Try
End Sub
I'll try and have a look at it tomorrow. It could be mucking up because I think it may be expecting BCD numbers and not normal text but I'll have to check.
Actually, forget that. The 13 and 10 are just a carriage return and line feed. So, so long as it happens consistently what you've done is fine.
Comments
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
I don't know if you need all the brackets but I couldn't be bothered to check
I will try it in VB first with the same math and see how I go.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
I ended up using this
in the sendDataSerial function however I still don't get the correct time.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
Should be
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
videos?
Not Found
The requested URL /videos.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at robot.tmcp.com.au Port 80
about?
Not Found
The requested URL /videos.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at robot.tmcp.com.au Port 80
contributors?
Not Found
The requested URL /videos.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at robot.tmcp.com.au Port 80
feedback?
Not Found
The requested URL /videos.htm was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at robot.tmcp.com.au Port 80
there is not much to check out about your robot
Sorry, I have been busy with several other projects and therefore the website has been delayed.
I will send you a PM when the website is finished.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
Now to convert it to Java.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
The Matchport uses the Java serial object to communicate with the serial port.
This page describes it in detail.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
I will
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
Hope all goes well.
This is the first time I have gotten a board made up.
Once I have it built I will tell you how it goes.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
The only thing I haven't tested is the Matchport as it has 2mm pitch pins.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Check out my robot using the propeller RECONAUTOR
If you like my avatar then check this out Propeller Domed Sticker
I have decided to dig the project out again after giving up on it some time ago.
I have decided to just use a VB.net application for the moment and communicate with the device via telnet.
After converting the serial port code to telnet I can use the device as before. The only problem is with adding a schedule.
When I add a schedule
I get the following back when reading in the schedule.
I know the problem is in the vb.net application with the sending of data but don't know what specifically is wrong.
I would appreciate your thoughts on the problem.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
Hope it helps.
Edit: I uploaded an old copy from when I was playing with the code.
Here is the current code I have.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
Post Edited (computer guy) : 11/30/2008 9:46:22 AM GMT
which makes me think that the vb.net telnet component is sending a LF and CR before the bytes therefore resulting in the above data.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
to
Its a bit of a kludge so if there is any other suggestions I would be more than happy to hear them.
Thank you
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Building Blocks To The Propeller Chip A web site designed to help people who are new to the propeller chip.
Guitar Hero controller using the prop (WIP) --> HERE
Actually, forget that. The 13 and 10 are just a carriage return and line feed. So, so long as it happens consistently what you've done is fine.