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.

problem with P96 serial out command in CR10X


sroof Feb 21, 2010 08:29 PM

Hi,

I’m using a CR10X with a single weather station and I’m having trouble getting the Serial Out (P96) command to send ASCII data out to my PC COM port consistently. I'm trying to read the ASCII stream in the WeatherView32 software. The ASCII data come through sometimes, but often not at the top of the hour and sometimes not at all. I'm using PC208W to communicate with the logger, but I quit PC208W before starting WeatherView32 since they fight over control of the COM port.

My CR10X is connected to a SC932 and then to a RAD Short Haul modem and a couple hundred meters of wire to a PC. I’ve set the jumpers in the SC932 to allow "Two Way or One Way" communication as described in the SC932 manual. My CR10X program executes every 10 seconds, measuring the sensors, calculating dew point, correcting snow depth readings, etc. A P92 instruction acting 20 seconds into a 30 sec interval sets the output flag high, activates storage Area2, outputs various measured values, then a P96 command (52, Printer Comma/9600 Baud) should send the data to my PC. My program also writes data to storage Area 1 at 10 and 60 minutes and the end of each day. This is why I set the P92 to act 20 secs into a 30 sc interval so to avoid conflicting with these output instructions.

Anybody have ideas why the P96 Serial Out is not working?
Could my program be too busy to send the ASCII data? (I don’t see overrun errors)
I could post my program code here if that's not considered bad form - it's almost 700 lines.

Thank you!
Steve Roof
Hampshire College, Amherst, MA


IslandMan Feb 22, 2010 11:37 AM

Steve,
This is going back in my memory banks a bit but I believe you can only have one way communication set up in the SC932 to do a serial out aka printer dump. You need the SC932/Rad setup to get your regular program tables, correct? You may have to use P15 instruction on a pair of Control ports with a 2nd SC932/Rad setup to accomplish this.
Dave

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