Download ActiveComport    |     Visit the ActiveComport website

Index - Log in! - Sign up! - Visit website
Serial comm using ASP
 
ActiveXperts Software Forum Index -> ActiveComport Toolkit -> General
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jones



Joined: 24 Nov 2007
Posts: 1

PostPosted: Sun Nov 25, 2007 12:17 am    Post subject: Serial comm using ASP

I want to know if this is correct or something is lacking if I'm going to use ASP to communicate serially from a PIC16F877A.I'm going to receive data from PIC and check it in the database from the PC and then returns confirmation message to the PIC
<%
dim serial : set serial = server.createobject("mscomm1.mscommlib")
dim rec_msg
serial.setting ="9600 N 8 1"
rec_msg = serial.input
.
.
.
%>
Is this right for initialization and receiving data from PIC or not? Is there something first I need to command before I could use the "rec_msg" variable value to compare it in my database?
Please I need your answers
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum