Using Arduino and Visual Basic to select the connected port dynamically and transfer the data from one of the sensors (here Ultrasonic Distance. Note: communication over serial port was not implemented, because there was no demand for it. WxWidgets / gtk visual serial port terminal.
Visual c++ serial com port free download. Linux visual serial port terminal. WxWidgets / gtk visual serial port. Program running on PC is written in VB6. Dec 12, 2006. To access the data, via the RS232 port, I wrote a windows visual basic program. You can also use KDevelop with QT or Anjuta with GTK mainly for C/C++, or use your favourite editor and wxWidgets (C/C++), each and every one of them are cross-platform (run on Windows boxes as well) but wxWidgets is. Hello everyone, I know there must be hundreds off posts (I have searched) on programming Linux for newbies like me. Here's my situation. I can hold my own when it comes to Windows programming. I know and use Assembly, C, PowerBasic. I've written some Windows programs (GUI and console).
I fly electric model planes and to find out more about the power usage during flight I designed and built a little datalogger. The datalogger measures voltage, current, temp, rpm, altitude and GForce. The data is stored within an eeprom onboard. Fender Serial Number Decoder Telecaster. To access the data, via the RS232 port, I wrote a windows visual basic program. The GUI extracts the data and saves it as a.csv file.
It then converts the raw data into chartable information for the user to interpret. It can also display live data, this is used for bench testing i.e. To gauge the power usage with various props and gear ratios etc. Now 2 out of the 3 pcs in the house have fedora the 3rd is windows only because of visual basic. I wish to dump windows and migrate over to fedora. To do this I would like to be able to rewrite the GUI in fedora and be able to port it windows or other linux OS's.
Unfortunately I do not have the first idea on 1. What program to use to develop the new code (preferably drag and drop action for the GUI). How to access the comport directly(com1, com2) or indirectly (via a usb to rs232 cable) 3.
How to save the extracted data to a file 4. How to open the said file and chart the data Requests 2, 3 and 4 may be explained with the sourcing of a development program. Paranormal Activity 2007 Dvdrip Torrent Download.
Please do not think the program must be visual basic based, I am willing to learn new programming skills. I think the best option if you need cross-platform portability and a GUI would clearly be java. Personally, I like Netbeans, as it has a quite nice GUI editor integrated, which I find a lot more intuitive than the Eclipse one (although I probably prefer the Eclipse IDE for the rest of the coding).
Coming from a VB & VC background myself I found it quite easy to pick up, as the development process is quite similar, and the java language itself is quite nice. Of course the main benefit is you only need to build your application once, and it will run on any computer with a JVM.
Java has pretty good serial port accessing tools too- google for javax.comm tutorials. Last edited by AlexThomson_NZ; 13th December 2006 at 12:37 AM. Reason: Added the extra 'm' to 'javax.com'. How to access the comport directly(com1, com2) or indirectly (via a usb to rs232 cable) 3. How to save the extracted data to a file 4. How to open the said file and chart the data Take a look here This is built using Java It sends programs to and from the machines using the serial ports, so its quite possible,even if it was built under windows. One thing to note, make sure you download and install the correct Comm extension from sun Saving the extracted data to a file is easy as I use a buffer to hold the incoming control programs (just a bunch of ascii code really), then have a timer that signals shutdown serial port if no fresh data recieved within say 5 seconds (user selectable), post process data according to some simple rules, then save in a named file As for charting said data.
I'll leave that upto you I can post up the heart of the sending/recieving code if you need Boris. You can also use KDevelop with QT or Anjuta with GTK mainly for C/C++, or use your favourite editor and wxWidgets (C/C++), each and every one of them are cross-platform (run on Windows boxes as well) but wxWidgets is easiest as it uses platforms own gui api to draw the widgets. One nice editor for multiple languages is Eclipse, vanilla for Java and with plugins for zillion other languages. You could also use C# with Mono or Gambas (not sure how close it is to Visual Basic though - my Basic is limited to Vic 20 days and then I moved onto Pascal). When I first migrated to Linux just a couple of years ago, I was in a similar situation. I needed to port my Visual Basic apps I had for working with PIC and AVR microcontroller projects to Linux. I went with C.