Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

ComRS232 blocking with SerialIn & SerialOut


oldnick Nov 27, 2013 01:34 PM

Hello,

I am using successfully with CR100, the function to receive and send SMS (RS232)<-->Wavecom modem. While the program running if I disconnect the modem from the RS232 PORT and try to use it with my PC(Loggernet) most of the times I can not connect.
The SMS messaging is called from the slow sequence run every 2 minutes.
I use the example from the link of campbell ftp://ftp.campbellsci.co.uk/pub/csl/outgoing/programs/SMSRECEXAMPLE.CR1

Please advice
Regards
Nikos


aps Nov 27, 2013 01:39 PM

Change the serialopen to:
SerialOpen (SMSPORT,9600,0,10000,1000)

This changes the com port to be able to accept Pakbus communications all the time. It does however limit your ability to send or receive binary data, but that should not matter too much for SMS messaging.


oldnick Nov 28, 2013 10:52 AM

Daer Andrew,

I would like to thank you for the fast reply BUT unfortunately that did not work well.
I left the datalogger connected with modem for 5hours and then I try to connect to PC (disconnect modem RS232port and connect PC) BUT it did not communicate.Trying for a lot of times to close and open application Loggernet finally it connected.
Is is possible to cause that problem any strange configuration of the logger or modem?

Thanks


aps Nov 28, 2013 04:11 PM

What baud rate do you have Loggernet set to for the connection speed of the Pabkbus port. The logger serial port will be locked to 9600 baud.


aps Nov 28, 2013 04:11 PM

What baud rate do you have Loggernet set to for the connection speed of the Pabkbus port. The logger serial port will be locked to 9600 baud.


oldnick Nov 28, 2013 07:40 PM

I have setup the max baud rate of the Loggernet to 9600.

Log in or register to post/reply in the forum.