VS 2005 - Serial Communication Between PLC And C#

Feb 4, 2012

I am working on a project where I have to design a front end(on C#) and have to display the data coming from PLC.

1. What name space I have to used.
2. What function I have to used for Serial communication.
3. What .dll file I have to add in my project.

View 10 Replies


Similar Messages:

Is It Possible To Use A Serial Port Like Session In C#

Jun 17, 2010

I am using serial port communication in my asp.net webform application...

[code]....

This method works when i send i single message... But when want to send sms in bulk opening and closing port everytime is not a good idea... So my question is it possible to use a serial port like session in c#?... When i open a port i want it to be open for 1 hour and then if my time expires i want to close the port and open it the next time...

View 1 Replies

How To Create Serial Auto Number

Feb 4, 2011

I want to make the number for sales orders as an example:

SO/2011/001
(for
sales order
first)
SO/2011/002
(for
sales order
second)

View 6 Replies

DataSource Controls :: How To Get The Serial Number

Jun 7, 2010

How can I get the serial number when you add a new row in the table Add time in order to add the number in the second table

I mean I want in same the sqlcommand to insert and get the value of ( serial )..

View 3 Replies

C# - Add A Serial Number As The First Column In A GridView?

Jan 22, 2011

I have a Grid View . It has two bound columns. I need to have a Serial Number column as the first column.

View 2 Replies

SQL Server :: Shift Serial No After Deletion?

Nov 20, 2010

I have an sql table in which i have two columns enq_no and enq_serial.

for a particular enq_no, enq_serial should get incremented by one starting from 1.

What is the best approach to achieve this?

another issue is that after deletion enq_serial should get decremented by one.

How can i get this?

Is after delete trigger could be a good option?

If so? how can i get this with after delete trigger?

View 4 Replies

Reading Data From Client Computer Serial Port Using Web Application?

Jan 2, 2010

Is it possible to read data from serial port of client system using asp.net web site. Here is my scenario

I will be having computers connected in LAN and a web application which resides on server. Each client computer will be connected to a external machine using serial port and is ready for reading data, external machine measures equipment details and sends through serial port.Now I need to read the same data using my web page, is it possible?

Like when we do video chatting our web page reads data from web cam and sends the stream to web page. this way how can I read data from client machine to web page.

View 1 Replies

Configuration :: How To Change Algorithm Of Serial Key Template Of Web Setup Project

Dec 22, 2010

Can I change algorithm of serial key template of web set up project ? If I am not able to change algorithm, what could be the best method to implement product key(serial number) concept in web setup project.

View 1 Replies

Visual Studio :: Serial Port With Portable Data Terminal?

Aug 30, 2010

I am making application with portable data terminal which connected to serial port. User will go with portable data terminal and scan data with it than we will connect it to PC and read all the data from it.

View 2 Replies

Forms Data Controls :: Generating Serial Number In Gridview?

Jan 11, 2011

I want to generate serial number in gridview but the serial number should be equal to the count of records for a particular column(in my case No. of Villages).

I know how to generate serial number but i am unable to generate number of rows equal to the number of records of my datatable column(Village_Name---say for example 45 rows--- any no. of rows)

View 4 Replies

SQL Server :: Want To Set @Serial Column Result Based On MyDate Cloumn How To Do That

Mar 2, 2011

i have the folllowing Query , and i want to do some thing like this, but i dont know if my query is right or wrong .DECLARE @Serial varchar(50)

select MyDate,MyName,@serial
from Names
where @Serial in
( if(MyDate>'10-10-2011') select '393939'))

as u Noticed i want to Set @Serial Column Result Based On MyDate Cloumn how i can do that?

View 8 Replies

Trying To Add Functionality To Take In Data From A Serial Port And Then Put The Parsed Info Into A Series Of Textboxes?

Feb 1, 2010

I'm new here and I've run into a problem with my first asp project. I've taken over this webpage and am currently trying to add functionality to take in data from a serial port and then put the parsed info into a series of textboxes. Right now I can get the data from the serial ports but the text boxes refuse to show the data.

[Code]....

NOTE: These are System.Web.UI textboxes, so I can't use text delgate and Invokes (which is the usual solution I have seen)

View 7 Replies

Forms Data Controls :: How To Generate A Serial Number Dynamically In Listview?

Sep 20, 2010

my listview having 3 columns:SI.No,HallticketNo,Name.

I bind data to listview but the "SI.No" column in listview showing Empty data.

So,how to generate serial number in listview ?

View 5 Replies

Forms Data Controls :: Creating Auto Serial No's In Datalist Control?

Sep 23, 2010

i have a data list control and i have bind it dynamically now i want to add a new serial no column and also display serial no's

View 1 Replies

C# - Display A Table With Various Info (names, Dates, Serial Numbers, Notes)?

Jul 28, 2010

I need to display a table with various info (names, dates, serial numbers, notes). In addition, there is one field I need to be one of three specified values (Raise, Lower, Release). What view would be the best/easiest to implement which would let me add/edit/delete entries as well as provide a drop down option for the Raise, Lower, Release options?

View 3 Replies

USB Communication From WEB

Jan 6, 2010

Currently I am functioning on a project (Winfroms). Where I can able to communicate with the USB device and send/read data from it using the WINUSB custom driver. This will work only in windows. Now currently the client want this in web whereas independent of OS (Linux, Mac, Windows). Accessing a driver from a client side to send/read data that too for different OS.

View 2 Replies

ASP 2.0 And COM Port Communication?

Feb 20, 2010

ASP.NET 2.0 and COM Port Communication

I have a managed DLL which communicates with the devices attached on COM/Serial ports. The desktop Winforms application sends requests on ports and receives/stores data in memory. In Winforms app I have added a reference to DLL and I am using the methods. This works well. Now, there is a situation where I need to show this data from serial/com port on a web-page. And also users should be able to send requests to the ports using this DLL. I have made a web app in ASP.NET (2.0). Added a reference to the DLL. I am able to use this DLL, the DLL communicates on the COM upon button click on web-page and also the response is shown on web page. However I am not happy with the approach and strongly feel that this is a bad approach. Also the development server crashes after 3 -4 requests. What is the best approach in this scenario. If I use a windows service then how would my ASP.net app will communicate with the Weindows service.Or can this be easily done using WCF. I have not used WCF any time nor any of .net remoting technique.

View 1 Replies

Window Application Communication With Web?

Oct 26, 2010

Is it possible to build a windows application to send articles to a blog I have developed?

View 1 Replies

MVC :: Communication Between HTTPHandler & Controller

Jan 15, 2011

So I am working on a project in ASP.NET MVC 2 with C#.I have a View with a file upload but this is a flash component (.swf).The result of the file upload (the storing of the file and processing of data in the database) is done in a HTTPHandler.I would like the HTTPHandler to send information to my active controller.

Is there a way to get the controller that was used to load the view? I'm having problems finding information about it online.

View 1 Replies

How To Log Communication Of A WebService Running On IIS 6.0

Apr 13, 2010

I'm running an ASP.NET WebService on IIS 6.0 that shows a lot of HTTP 500 (probably just exceptions from the WebService) inside the log at %systemroot%System32LogFilesW3SVC1 on a customers site.

Is it possible to log the content of those HTTP responses and there requests without modifying the WebService using IIS or a plug-in for IIS?

I thought of using Wireshark or Fiddler to sniff on the HTTP traffic but I would prefer to just turn on an option inside IIS to make him log the communication (this should not be to hard since it is logging the requested URLs anyway)

View 2 Replies

Php - Communication Of Two Apps On The Same Machine?

Oct 15, 2010

I have an ASP.NET app running on a webserver. A third party is created another app in PHP which needs to send data to my app for processing. Initially it was assumed that the PHP app would be deployed elsewhere so we agreed that the communication would occur over the internet via HTTP (over SSL). My app would simply use a generic handler (ashx) file to recieve the data and send confirmation back.

Now it seems that the PHP app might be deployed on the same machine as my app. I like the fact that using HTTP (as opposed to say direct database access), the PHP app needs to know nothing at all about how my app works. But using the public internet seems silly for communication between two apps on the same machine. If the PHP app simply used a localhost address, would this ensure that all the data stays within the machine? Is there a better way to do this?

View 4 Replies

Web Forms :: Two Way Web Part Communication?

Jan 20, 2010

I have two web parts WebPart1 has a tree control1)WebPart2 gets displayed when a node in a tree is clicked.2)User can enter a text in web part 2 and click ok button then Web part1 has to be refreshed and the new node should get displayed In step 1 WebPart1 is Provider and WebPart2 is consumer.In Step2 its vice versa. Is it possible to swap this using the provider consumer?

View 1 Replies

IPhone Communication With Windows C# App?

Oct 28, 2010

I am create an iPhone app that needs to talk to a Windows C# app. The app will run as either a Service or Form Application.

What would be the best way to accomplish this? Ideally exposing a service-type architecture would be best as I don't need a stateful connection (stateless is fine in this case).

Can a WCF service hosted by my app using a form of TCP binding be consumed by my iPhone? Or can an app host using httpBinding without the aid of IIS or some other web server?

View 3 Replies

Communication Between Aspnet_isapi.dll And Aspnet_wp.exe?

Sep 21, 2010

To guarantee optimal performance, aspnet_isapi uses asynchronous named pipes to forward requests to the worker process and to get responses. On the other hand, the worker process exploits synchronous pipes when it needs to query for information about the IIS environment (that is, server variables).

Does the worker process always uses "synchronous" named pipes? (Response to aspnet_isapi.dll would be asynchronous too, right?) Can the worker process talk directly to IIS or does it have to send a synchronous request to aspnet_isapi.dll to inquire about IIS environment etc.?

View 1 Replies

Add Text Communication To Web Application Using Vb.net?

Dec 7, 2010

i built a web based task manager / scheduler using vb.net

i need to add a small communication part to it to allow users to send messages to each other.

below is my concept design. the question is: is this the correct way of building a simple communicator or do you have better ideas?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved