Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Pro Visual Basic 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro Visual Basic 2005 For advanced Visual Basic coders working in version 2005. Beginning-level questions will be redirected to other forums, including Beginning VB 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Visual Basic 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 19th, 2006, 10:58 PM
Authorized User
 
Join Date: Oct 2006
Location: , , Singapore.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to poja
Default combining a software and a programming code

hi,
i have an equipment from a company, which has a coordinator and a router.. this device comes with a software which has a some commands to be transfered between the coordinator and the router. now my problem is i don't know how to connect to the software to the programming which has to be done in VB 2005(the software must be in the back ground of the programming)... pls some one help me



  #2 (permalink)  
Old November 8th, 2006, 11:25 AM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You will have to provide more information. Does the equipment software provide an API for automation? There are a number of ways to interface between applications. Essentially, the company providing the equipment and the software to run it should also provide information on how to interface with it, if such a facility exists.

Woody Z http://www.learntoprogramnow.com
  #3 (permalink)  
Old November 8th, 2006, 09:25 PM
Authorized User
 
Join Date: Oct 2006
Location: , , Singapore.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to poja
Default

hi,
there is no such information.. the only information they have provided is a flow chart on how the device works.

it says after receiving the command it Uses AT commands to send it to the AT+++ (Software Configuration) if not it takes pin 15 low (Hardware Configuration).

i guess i have to call the AT command of the software into the program.But since i am not familiar with VB.NET i am not too sure how!well there are 2 AT commands.

Enter AT Command Mode: 41 54 2B 2B 2B 0D(this is the command).
Exit AT Command Mode: CC 41 54 4F 0D (this is the command).

but i m not too sure Wheather this is the one that needs to be called

  #4 (permalink)  
Old November 9th, 2006, 12:58 AM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This sounds like serial port or modem controls to me... AT = Attention, for example. You have no documentation?



Woody Z http://www.learntoprogramnow.com
  #5 (permalink)  
Old November 9th, 2006, 05:55 AM
Authorized User
 
Join Date: Oct 2006
Location: , , Singapore.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to poja
Default

nope no documentation? the only thing i have isthe manual of the device.. which has its coomands and eeprom settings.. u r right the coordinator is connected to the usb port in computer and the device has a com port which will be connected to the message board for display

  #6 (permalink)  
Old November 9th, 2006, 11:21 AM
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You should start by looking at the books by Jan Axelson.
Her site is www.lvr.com
If this is your first try at controlling devices from a PC, then you are in for a lot of fun and an lot of work. A big part of what I origianlly did with programming was controlling devices mostly using basic. It isn't all that hard, but it is very different from typical windows programming.

The manual for the device probably contains all the information you need about how to communicate with it and how to make it do the things it is built to do. You have to learn about the process of sending command - generally, what happens is you tell the device you are going to send a command, it replys that it is ready for the command, you send the command, it replys that it received and understands the command, and so on.

A quick check on the Web indicates you won't have too much trouble getting information on how to do this with VB.NET. However, programming with a USB port is not exactly the same as programming a serial port - they are conceptually the same thing in that they provide a way to communicate with periferal devices, but they aren't programming in the same way.

Woody Z http://www.learntoprogramnow.com
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Developing C# Windows Software Download Code webdudeIA All Other Wrox Books 7 April 26th, 2011 11:33 PM
software of c++ programming language jhanny007 C++ Programming 17 December 22nd, 2006 09:23 AM
combining a software and a programming code poja Visual Studio 2005 0 October 16th, 2006 04:17 AM
best WWW Authoring Software (FREE!) software crmpicco HTML Code Clinic 2 July 18th, 2005 03:37 AM
Software to align HTML code itHighway HTML Code Clinic 2 July 17th, 2005 12:30 PM



All times are GMT -4. The time now is 07:01 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.