Communications :: Develop Modbus RTU Master Program?
Jul 11, 2010
I want to develop Modbus RTU Master program ..I am expert in Modbus communication and I have designed the Modbus pre-programmed remote controls ,, Now I want to interface some Modbus RTU slave devices to my own developed application ... and looking for kind guidance ..I am much familiar with the Modbus RTU syntax and I've tried following to initiate the the master query but I am getting initial 3 bytes ok ,, rest of them are changing the values on COM port so slave is not responding to my command ..
******************************
Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click
Dim BYTE1 As Byte = 1
Dim BYTE2 As Byte = 6
[code].....
View 1 Replies
ADVERTISEMENT
Jul 11, 2010
I want to develop Modbus RTU Master program ..
I am expert in Modbus communication and I have designed the Modbus pre-programmed remote controls ,, Now I want to interface some Modbus RTU slave devices to my own developed application ...
I am much familiar with the Modbus RTU syntax and I've tried following to initiate the the master query but I am getting initial 3 bytes ok ,, rest of the bytes are changing the values on COM port so slave is not responding to my command ..
CODE:
View 8 Replies
Aug 9, 2011
Want to develop POS program in visual basic?
View 2 Replies
Dec 24, 2009
i am trying to develop a program that will get all the processes in the task manager and from there, i'll get a specific application so that i will restart it. the problem is this:
I can call that specific application yet before restarting it i shall manipulate it's pause button before i can actually kill it,.HOw do i "click" the pause button on the called application? Can you help me with the code that i need to use?
View 3 Replies
Jul 13, 2011
I'm having problems with a stock program that I'm developing. It's a program that adds a quantity of products to a field called stock quantity in a table named Stocks. In the part of adding a quantity inserted by the user it's ok, it works, but it adds to all fields in the table.I need that the user may choose also the product Id of the product to add, in order to prevent the situation above.
[code]...
View 10 Replies
Oct 3, 2009
I have no problems with the Syntax Errors.So far the only problems I'm having are with the Runtime Errors and Logistic Errors.
View 4 Replies
Jan 7, 2012
I'm starting to work through Murach's ASP.Net 4 Web programming with vb2010.
Do I leave the 2010 studio default collection of settings from Visual Basic Development to Web Development or Web Development(Code Only) in order to follow the examples and learn to develop web pages? And are there other things I should do to set up the enviornment for persuing this.
View 1 Replies
May 3, 2011
As I need a program to develop an ebook, I wrote one. But perhaps I am re-inventing the wheel. Does such a program already exist in visual basic, that is to say is it available in the forums? If not I am willing to upload it.
View 16 Replies
Feb 15, 2011
I'm trying to develop a simple program which will show a form with a listbox and a button. The buttom will allow a listbox entry to be selected and close the form. The entry will them be sent to the previous open application.
For example, I could select my postcode from the listbox and have it sent to the currently selected field in my internet browser. Or the current date to my text editor.[code]...
View 1 Replies
Jul 21, 2009
I dont know how 2 develop PDA system... using vb.net
View 3 Replies
Jan 22, 2009
I'm trying to develop a program structure in very broad terms. At this point, the Forms used do nothing but call other Forms and allow for their closure. After startup and initialization activities, I want the user to set up options and run the program. The program can be run again (click one button) and again with the same options, or (click another), the options can be changed for the next and subsequent runs. Clicking a third button will cause shutdown activities to be performed.
Sounds pretty simple. However, I get the options form the first time, but subsequent ShowDialog calls cause the form to pop up (I detected a Load and an Activated call) for an instant, then disappear, and the program rolls on without permitting option selection, even though the key variable NewSetup is definitely True.
Code:
Public Class RunMain
<STAThread()> _
Shared Sub Main()
[code]....
View 6 Replies
Jul 14, 2011
am looking to develop a simple program which inputs a students details and prints to the output,
View 3 Replies
Jan 17, 2009
I need to know how to develop an inventory system using vb.net with msaccess
View 1 Replies
Jan 12, 2010
Hows it going. Im in some need some help. Im trying to make a Program called process master, and one of it's features is When clicking an item in Listbox1, It will show on the side in Label 11 the path of that process.
System.IO.Directory.GetCurrentDirectory.listbox1.selecteditem = label11.text As you can very well see, im new with System.IO commands. Been wanting this as one of the main features!
View 1 Replies
May 5, 2010
I'm trying to access a device with modbus in VB or C#. I've been searching all over for a simple way to do it. I know that It would be connecting through a TCP Connection, and I know the address of the device. I need to read the input on it (whether of not it's on), and to toggle the relay on it as well.
View 3 Replies
Dec 27, 2008
I am trying to build an IM program i found one (see attachment) but it is network only and i want to build one that goes over the internet?
View 6 Replies
Feb 21, 2011
I am trying to develop a program that will allow a user to automatically log into a website with a username and password and click login, which works fine, However after clicking login i am trying to have the pragram click another button to submit a file. This is where the program bombs. This secondclick will work in a separate event but not in the same event as the login.
View 9 Replies
Apr 26, 2009
I put it in Communications.For My programming class at school we are required to have made a program. So I decided to make a LAN messaging program which uses VB and Microsoft Winsock Control 6.0. Im quite new and noob at using VB so i'm using a tut here, url... to make the base program.As you can see if you've read it, he uses Microsoft Visual Basic 6.0, while I use Microsoft Visual Basic 2008 Express Edition.
View 3 Replies
May 26, 2012
Is it possible to develop a program in vb.net which can find the location of vehicle in a cctv camera range?if possible ,what are the APIs and technologies used for it?can any one suggest any link or the steps involved in this process...?
View 5 Replies
Mar 8, 2012
I am developing a software that will monitor/poll serveral Modbus/TCP devices on a network.
I have managed to connect to one device using VB.Does anyone know of a driver or perhaps a 3rd party software I could use that will enable me to connect to more than one Modbus/TCP device?
View 2 Replies
Oct 18, 2010
i m working on an application which communicates with PLC machine using Modbus protocol. Now i m able to generate and communicate a modbus data frame with PLC the only problem that i m facing is that in all the data frames of modbus the last ascii characters should be Carriage return + Line feed which should be read by the PLC as 0D 0A that is in Hexadecimal form. But i m not able to do this. The rest entire string is properly read by the PLC but How do I make it read the CR+LF.
View 2 Replies
Dec 17, 2008
I dont know wether this is the right place but would i be able to use somthing like streamreader to change a .txt on another computer? If so, how?
View 3 Replies
Aug 5, 2009
Lately, ive been using winsock quite a lot. I made a chat application, and now i want to make a remote desktop program. I dont want a half asses one, where u can press buttons that send info to the server, but i want to have a client server relationship where you see the screen, have control to the keyboard, and the mouse. Any tips on how i can go about this?
View 1 Replies
Oct 8, 2008
I am playing with network sockets as I need to work on a client-server application. So I have tried this simple code from VS help:
Code:
Dim tcpClient As New TcpClient()
'The following line do not belongs to original code 'But I needed to add it as debugger told me that 'I couldnt getStream from closed sockets
tcpClient.Connect("127.0.0.1", 8000)
Dim netStream As NetworkStream = tcpClient.GetStream()
If netStream.CanWrite Then
[code]....
So, I supposed that the code above would write the message to the loopback IP (127.0.0.1), it would be kept in the network buffer and would be spited out when it readed the same loopback IP. However, when it gets the line whre it should read the stream, the program just stalls and keep reading it forever. I have tested the stream with as if it was just awaiting for something to read. I have tested the stream with getStream.DataAvailable and it returned me False, what makes me guess that the data is NOT being properly written to the IP.
Firstly I thought that it could be something with the loopback IP, then I tried to provide the machine local IP (192.168.2.25) but I got the same behavior: code stalls...
View 5 Replies
Dec 6, 2008
I am writing a program which sends email automatically. Sending the mail works fine. The problem is that this will be on portable systems and not always have internet connection.
Is there a way to determine if an internet connection is available before attempting to send.
View 2 Replies
Apr 19, 2010
I need to interface between a PC and a Microcontroller based Controller to transfer data between the PC and the Controller?
Ive got acces to the register numbers or names in the Microcontroller.
View 2 Replies
Jun 19, 2008
I'm trying to write a vb.net program that will upload a file to a FTP site that has SSL (explicit, although I'm not sure what this means).The sample code and explanations I've Googled always assume when it's SSL that I'm using a client certificate. But I have no certificate to load.I simply need to login, accept their certificate and upload my file.When I accept their certificate am I actually installing it on the client? For example of FileZilla a box pops up and I just click on accept, then my login is complete.
View 1 Replies
Oct 31, 2008
I want to create a program that will keep track of the amount of (network/internet download) data that has been received, but I have know idea how to go about doing it.Where would be a good place to start with this type of development? Or could some one give me example code that will get me started.
View 1 Replies
Aug 27, 2008
Like the title says, is there a freeware program out there for serial communication that is better than Windows Hyperterminal?
View 1 Replies
Jul 4, 2008
I am trying to write a program to ping computers on my network to see if they are turned on. So far i have the following:
Code:
If My.Computer.Network.Ping("192.68.0.5") Then
MsgBox("Computer is on.")
Else
MsgBox("Ping request timed out.")
End If
If i use ip addresses, this works fine but i would rather use hostnames due to the ip addresses being dynamic (something which is outside my control). Using the hostname, it reurns "Computer is on" if the ping is successful, but if the hostname cannot be found, instead on returning "Ping request timed out", an error occurs as follows:
A first chance exception of type 'System.Net.NetworkInformation.PingException' occurred in System.dll
View 2 Replies