Page 1 of 1

pH probe error

Posted: Wed Aug 21, 2013 4:29 pm
by saf1
There is a red light on the Reef Angel controller box, the status light I believe, that is steady on. Any way to check what it is? When I look at the display it says PHE Error.

I looked at the probe and it looks ok. Connection is solid. Looking at the ReefAngel Client v3.0 doesn't really yield much so not really sure. The pH display seems to be ok but for a few days it doesn't have the typically curve but goes from 7.9 to about 8.1 in a straight line about 90 degrees (over a couple days I guess).

Hmm...only other thing appears to be that the listener stopped. Usually it is perfectly fine so wonder if there is a conflict. But would that cause a issue with the pH probe or is the status indicator representing the stopped listener.
Com 8 - not sure what USB is doing. Maybe that is the light being displayed / status wise I mean.

Edit: Log file.


*****8/21/2013 4:22:23 PM*****
Message:
Access to the port 'COM8' is denied.
StackTrace:
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at ReefAngelWCFListener.ReefAngelListener.ConnectToSerialPort()

*****8/21/2013 4:22:53 PM*****
Message:
Access to the port 'COM8' is denied.
StackTrace:
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at ReefAngelWCFListener.ReefAngelListener.ConnectToSerialPort()

*****8/21/2013 4:23:23 PM*****
Message:
Access to the port 'COM8' is denied.
StackTrace:
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at ReefAngelWCFListener.ReefAngelListener.ConnectToSerialPort()

*****8/21/2013 4:23:53 PM*****
Message:
Access to the port 'COM8' is denied.
StackTrace:
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at ReefAngelWCFListener.ReefAngelListener.ConnectToSerialPort()

*****8/21/2013 4:24:23 PM*****
Message:
Access to the port 'COM8' is denied.
StackTrace:
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at ReefAngelWCFListener.ReefAngelListener.ConnectToSerialPort()

*****8/21/2013 4:25:47 PM*****
Message:
Access to the port 'COM8' is denied.
StackTrace:
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at ReefAngelWCFListener.ReefAngelListener.ConnectToSerialPort()

*****8/21/2013 4:28:41 PM*****
Message:
Could not connect to net.tcp://localhost:8733/ReefAngelListener/. The connection attempt lasted for a time span of 00:00:02.0191155. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8733.
StackTrace:

Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at ReefAngelClient.ReefAngelService.IReefAngelListener.Subscribe()
at ReefAngelClient.Form1.bwConnect_DoWork(Object sender, DoWorkEventArgs e)

Re: pH probe error

Posted: Wed Aug 21, 2013 4:36 pm
by rimai
The red status led is either an overheat or ato timeout.
What libraries version are you using?

Re: pH probe error

Posted: Wed Aug 21, 2013 8:00 pm
by saf1
1.0.9 if I recall correctly. The last auto update via arduino reef angel code tool. I will double check although the client isn't working because something else has a hold on the port it uses. Not sure what but I recall my watch not syncing so maybe that is what happened they are both trying to use that port for some reason.

Re: pH probe error

Posted: Wed Aug 21, 2013 9:37 pm
by rimai
Just clear both ATO and overheat.
PHE is PH expansion by the way.
If you don't have the pH expansion module, it will show error.

Re: pH probe error

Posted: Thu Aug 22, 2013 3:36 pm
by saf1
I keep clearing on the actual device and it keeps returning. I have a pH probe but no ATO. The error continues to show PHE: Error

I'm only using the standard pH probe that ships with the kit. Is there something else enabled that I need to disable?

Re: pH probe error

Posted: Thu Aug 22, 2013 3:47 pm
by rimai
Like I said. PHE is for pH expansion. When you created your code, you probably chose pH expansion.
Maybe your overheat temp is too low?