Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET C#4.0
I have one laboratoric device, which it is connected with computer by
rs-232c serial interface.
I know taht this device is using ASTM protocol.
I need to connect to this deviceand send him some commands.
How to do this and give me the example link .
Posted 18-Apr-12 20:55pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You need the ASTM protocol specification to talk in the right "language" with your device. I saw, that you can buy the specs at astm.org or Google might help you.
 
Then you need the SerialPort Class[^] to communicate with the device via RS232.
 

BTW: Why did you tag your question wit ASP.NET?
  Permalink  
Comments
anilsarapati at 19-Apr-12 2:09am
   
thanq for your information andy. i want to get the data from that device and display it in my asp.net page so i tagged asp.net also
Andy411 at 19-Apr-12 2:28am
   
OK, I guessed something like that.
I'm not sure if you have the right to access the serial port from your code behind, because you are running with the user credentisl of the ISS. I haven't done that before. You might teke care of that.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You should find the manual for your device to see the commands.
 
To send via serial see this link : Serial Communication using C# and Whidbey[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

we have solution available for ASTM protocol based interface for lab equipment
 
It will cost you Rs. 35000 per machine . bidirectional
 
Interested ? contact me on 9782888802
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

The Device send an the PC answer by
how can read ENQ and Send ACK by Serial port
i need help
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 5 Oct 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100