I need a VB.net 2008 hero (bounty paid)
Oldbitcollector (Jeff)
Posts: 8,091
I need a VB.net 2008 hero.
Recently, Dr_A was kind enough to share some Xmodem code (in VB.net 2008) here:
http://forums.parallax.com/showthread.php?141936-Message-for-OBC
I have spent a week+ doing battle (between running shipping for PP/GG, and doing my other job) trying to get this functioning as a stand-alone app. I simply don't have enough hours in the day to learn VB.net without spending the next few months, (it's on my list). I'd like to get this app created quicker. There are people here who speak Visual as a second language.
Here's what I need:
Turn this into a stand-alone, Windows app, with 4 buttons, baud (default 115200), and Comport adjustment box.
Button 1) Open Communication
Button 2) Close Communication
Button 3) Send file. (open file dialog allowing user to pick a file, upon clicking "OK" it starts Xmodem send
Button 4) Recieve a file (open a "Save as" file dialog asking for a name/locatin, upon clicking "OK" it starts Xmodem receive.
The program must be free to all, no strings attached. Program must work with Spin Xmodem code.
I'll send a Quickstart and "Servo & More" package to whoever can be the hero.
Thanks!
Jeff
Recently, Dr_A was kind enough to share some Xmodem code (in VB.net 2008) here:
http://forums.parallax.com/showthread.php?141936-Message-for-OBC
I have spent a week+ doing battle (between running shipping for PP/GG, and doing my other job) trying to get this functioning as a stand-alone app. I simply don't have enough hours in the day to learn VB.net without spending the next few months, (it's on my list). I'd like to get this app created quicker. There are people here who speak Visual as a second language.
Here's what I need:
Turn this into a stand-alone, Windows app, with 4 buttons, baud (default 115200), and Comport adjustment box.
Button 1) Open Communication
Button 2) Close Communication
Button 3) Send file. (open file dialog allowing user to pick a file, upon clicking "OK" it starts Xmodem send
Button 4) Recieve a file (open a "Save as" file dialog asking for a name/locatin, upon clicking "OK" it starts Xmodem receive.
The program must be free to all, no strings attached. Program must work with Spin Xmodem code.
I'll send a Quickstart and "Servo & More" package to whoever can be the hero.
Thanks!
Jeff
Comments
Jeff
Edit I forgot 2010 can create a project with any of the CLRs so I can set it for 2.0
Edit: I found xmodem.bin at PropellerPowered and I'll use that.
https://www.dropbox.com/sh/qwhixzvtlrvp1u1/fmzOix84Wu/PropellerBASIC/Useful%20Binaries/sources
Jeff
This may/may not be a good idea when someone is attempting to type the corresponding xmodem command on the BASIC side.
Jeff
@localroger, Might be getting some garbage characters on the last packet. I sent the "readme.txt" file over as a test and got around 60+ of the same character on the tail I haven't identified yet.
Jeff
Edit: I am doing this in VS 2005 with the 2.0 Framework. I just found out that Mono supports VB.NET with the 2.0 framework so hopefully this can be ported to Mono for cross platform use.
I think it is very important for VB programs with a UI to drop out and let events settle, because DoEvents() does not actually do all the events that can be processed during a dropout. I personally get really annoyed when the controls freeze on an app. I noticed the bottleneck late in testing because I rarely use baud rates above 19200 in real work myself and did the early stuff at 9600 so I could bork the comms to test recovery.
Anyway I could stand to figure out this fast timer thing and after a job I have to complete tomorrow I could spend a few more hours on it.
My test was the transfer of a 7mb wav file to the SD card. Took about an hour.
The throughput of the Xmodem really isn't an issue here as it is mostly used for moving files < 32k into the PMC project.
Jeff
Love the idea personally..
Jeff
Sounds like you got it!
Jeff
Looking forward to those automation features I requested in the thread. <hint.. hint.. smirk>
Localroger and I both agreed off thread that the bounty went to you when you crossed the finish line.
Debt paid in full today. Look for some goodies in your mailbox on Thursday.
Jeff
Jeff