Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Serial Port read failed, frame errors, can't purge....*sigh*
#1
It's been very slow going getting these old drivers to come back up. For the Ocelot and Datanab, it seems to be a COMM port related issue, now that the local config file issue is resolved.

When first connecting, the Datanab does do some kind of response, but when going back for data, it gives a read error, and then a "can't purge" the read buffer error, and then just cycles over and over doing that. Is the problem possibly anywhere other than in the device itself?


Code:
04/22 22:55:14-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.559, Status/App Status
    <GetIncomingData>: Entering function
}
04/22 22:55:16-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.168, Status/App Status
    <GetIncomingData>: Msg received []
}
04/22 22:55:16-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.603, Status/App Status
    <GetIncomingData>: Unexpected response size received: 0
}
04/22 22:55:16-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.629, Status/App Status
    <GetIncomingData> No data to process.
}
04/22 22:55:26-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1814, Status/App Status
    <Connect> Updating sensors (second try)
}
04/22 22:55:26-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.168, Status/App Status
    <Send> Sending msg: [FA0300640020]
}
04/22 22:55:26-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.659, Status/App Status
    <GetIncomingDataAddr>: Entering function
}
04/22 22:55:26-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.691, Status/App Status
    <GetIncomingDataAddr>: [DISCONNECT] Read failed on /Local/COM1. Port Err: {Frame}
}
04/22 22:55:26-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1011, Status/App Status
    <UpdateSensors>: An error occured attempting to get data from the address.  Data req result was: Disconnect
}
04/22 22:55:26-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1829, Status/App Status
    <Connect> [DISCONNECT]
}
04/22 22:55:29-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCKit, CQCDriver_DriverBase.cpp.3553, Status/App Status
    Driver 'Datanab32-1' is trying to connect to its device
}
04/22 22:55:29-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1771, Status/App Status
    <Connect> Entering Connect function
}
04/22 22:55:29-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.764, Status/App Status
    <GetIncomingData>: [DISCONNECT] Could not purge the read buffer for /Local/COM1
}
04/22 22:55:29-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1787, Status/App Status
    <Connect> Device at Address 250 is not responding.
}
04/22 22:55:29-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1829, Status/App Status
    <Connect> [DISCONNECT]
}
04/22 22:55:32-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCKit, CQCDriver_DriverBase.cpp.3553, Status/App Status
    Driver 'Datanab32-1' is trying to connect to its device
}
04/22 22:55:32-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1771, Status/App Status
    <Connect> Entering Connect function
}
04/22 22:55:32-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.764, Status/App Status
    <GetIncomingData>: [DISCONNECT] Could not purge the read buffer for /Local/COM1
}
04/22 22:55:32-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1787, Status/App Status
    <Connect> Device at Address 250 is not responding.
}
04/22 22:55:32-hickory, CQCDrvDev, CIDMacroDbgThread1
{
    CQCGenDrvS, MEng.User.CQC.Drivers.DataNab.DriverImpl_Dev.1829, Status/App Status
    <Connect> [DISCONNECT]
}
Reply
#2
If you are getting frame errors, it would seem that the port settings don't match the device's port settings.
Dean Roddey
Explorans limites defectum
Reply
#3
Hmm...possible, I guess, though I haven't touched any of those devices since they last worked, so I've definitely not changed the hardware settings for the port (if there are any), and haven't changed the manifest settings for port connection. But I'll double check.
Reply
#4
Could also be because you need a null modem and aren't using one, or vice versa I guess?
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recurring Errors - Help to identify Bugman 1 296 04-02-2022, 07:52 AM
Last Post: Bugman
  More CQC Errors znelbok 3 479 01-23-2022, 06:32 AM
Last Post: Dean Roddey
  New Install Errors znelbok 3 559 11-29-2021, 02:42 AM
Last Post: znelbok
  I cant enter parameters for sizing into the webcam widget. I get errors about invalid ghurty 2 1,242 04-29-2020, 04:01 PM
Last Post: Dean Roddey
  Is there a way to change the listening port for the CQC server? ghurty 3 1,233 04-23-2020, 05:54 PM
Last Post: Dean Roddey
  Write Failed / ZWave gReatAutomation 22 6,766 03-20-2020, 12:29 PM
Last Post: Dean Roddey
  RIVA errors zra 3 1,525 02-09-2020, 04:02 PM
Last Post: Dean Roddey
  DIDOrb_ThisFacility.cpp.563 Failed/Not Found simplextech 5 1,724 01-31-2020, 01:22 PM
Last Post: simplextech
  CIDLib_RefVector.hpp.470, Failed/Bad Parms simplextech 1 857 01-12-2020, 06:06 PM
Last Post: Dean Roddey
  Serialization of CQC SMS Serial Interface Driver gReatAutomation 52 19,235 09-21-2019, 12:59 PM
Last Post: gReatAutomation

Forum Jump:


Users browsing this thread: 1 Guest(s)