Migrating from V2

Discussion in 'C-Bus Toolkit and C-Gate Software' started by Jannie, Jan 11, 2005.

  1. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    Tried the Toolkit for the first time today. What a battle!

    Software installed fine on clean Win2K system. However cannot get the system up. Scanning network and most other actions either produces Toolkit error messages, crashes or just hangs.

    System: Win2K with PCI on Com1.

    Some questions:

    1) How do I migrate a V2 project? I've tried copying the V2 project directory but when I do an Import, it crashes.

    2) How do I set the network number, it seems to default to 254 and I cannot see where to change it. The network is set to 2.

    3) When I use the "Find Networks" option, the system sees the interface, identfy the project. It then opens the network and "Identify Duplicate Units". It then pops up with a cannot open network error.

    If I 'ping' the network it sees all the units on the network.

    Any ideas? Where can I find decent documentation?
     
    Jannie, Jan 11, 2005
    #1
  2. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia

    Sorry to hear you're having trouble.

    Could you advise what version Toolkit you're using and what the error messages are? Also, what version PCI are you using?
     
    Duncan, Jan 11, 2005
    #2
  3. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    V1.1.4. Not to sure about the PCI version. It's a DIN rail unit, installed in the last year. Can I check via C-Gate 1.5?

    I copied the V2 project directory into the same location on the new machine. When I import the project the systems say 'Importing Project..." but this seems to carry on forever. How long should a project take to import. After 20 minutes or so, I have to kill the app and restart.

    I often get a "Cannot open network" error.

    Other times I get a Win2K OS error, saying the application terminated.
     
    Jannie, Jan 11, 2005
    #3
  4. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia

    It certainly shouldnt take 20 mins..

    You can check the firmware version of the PCI using V2 and checking the Status Tab of the PCI..

    Is the serial port a real DB9 COM Port or a USB Device?
     
    Duncan, Jan 11, 2005
    #4
  5. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    It's a 232 port on a desktop machine.

    Don't have V2 available to check as I put the Toolkit PC on the interface.

    I also have a TICA installed on the same system connected via Com2. It seems to pick it up as a PCI. I get the same result when trying to use the TICA interface.
     
    Jannie, Jan 11, 2005
    #5
  6. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Thanks Jannie,

    Its puzzling.. Whilst we have had SOME problems with comms, its generally be resolvable to issues with old PCI's/Minder.. Further, now that you've essentially tried 2 PCI's I'm beginning to wonder if there's 'issues' on the Network you're trying to scan with poor comms, is that a possibility?
     
    Duncan, Jan 11, 2005
    #6
  7. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    Hi,

    So is Tica a PCI?

    The network is extremely stable. The production C-gate is 1.5 with 3 (older) PCI's and everything seems to work fine.

    Why won't the project import? Does it scan as it import or is the omport first completed before it connects to the network?

    Why is it coming up with a default network number of 254?
     
    Jannie, Jan 11, 2005
    #7
  8. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    CAn it not be a C-Gate 2 issue? I noticed their is no networks.txt file on v2. Must I create it. The PCI connects to network 2 with bridges to networks 1 and 3.
     
    Jannie, Jan 11, 2005
    #8
  9. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Network's number downwards from 254.

    The project import is a good question, are you able to send us a CB2 file that we can try ourselves?

    You dont need to import in order to scan the network. Try setting your default Com Port under File|Preferences then press the "Scan Network" button.
     
    Duncan, Jan 11, 2005
    #9
  10. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    I kept on trying to import the database and after one crash, when I restarted the program the database was imported! I can now load the project from the db. I made no changes prior to this.

    The topology consists of three networks, with a PCI to the 'center network', Network 2. Network 1 and 3 are connected via bridges.

    I can now scan network 2 (the directly PCI-connected network), but cannot scan network 1 and 3 (the bridge-connected networks).

    I can ping networks 1 and 3 and it replies with the correct units, but when I try to scan the networks, it sits on the 'Scanning for duplicates; screen for a while and then gives an error 3051 'Network failed to open'.

    1) Are there any special setups for a three networked, bridged topology?

    2) Do I not need a networks.txt file for C-Gate?

    PCI Firmware is 3.11.
    Bridge Firmware is 4.1.00
     
    Jannie, Jan 12, 2005
    #10
  11. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    Because I managed to scan the PCI-network after 30 or so attempts, I did the same with the bridge-connected networks, i.e. start the scan, software crashes or hang up, restart the software and scan.

    After many of these attempts, it just now suddenly started scanning one of the remote networks, found all the units and while retrieving the groups, crashed.....

    Surely this software is not fit for production?

    I especially built a clean Win2K installation, loaded all the Microsoft patches (to ensure as clean an environment as possible) and then installed the Toolkit. Therefore the fact that the software crashes all the time points to a flaky application.

    When will we see stable software?
     
    Jannie, Jan 12, 2005
    #11
  12. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    Once again tried scanning the bridge-connected network, this time using the Scan New Units option. It found 32 of around 80 units and then crashed with the following error log.:

    --------------------------------------------------------------------------------
    TITLE
    --------------------------------------------------------------------------------
    Application Error
    --------------------------------------------------------------------------------
    USER COMMENTS
    --------------------------------------------------------------------------------

    --------------------------------------------------------------------------------
    CUSTOM INFO
    --------------------------------------------------------------------------------
    Version = 1.1.4
    Build = 124

    --------------------------------------------------------------------------------
    ERROR MESSAGE
    --------------------------------------------------------------------------------
    Exception 'ECGateCommandTimeOut' in module CBusToolkit1_1.exe at 0012DC1C
    TcgcNetSyncNew120-completed MMI 1 of 1.
    303-New Unit Found: address=2 type=BRIDGE2F version=4.1.00 serial=80698.49
    303-New Unit Found: address=8 type=PC_INT_1 version=3.06 serial={none}
    303-New Unit Found: address=61 type=RELDN12 version=1.1.28 serial=63354.73
    303-New Unit Found: address=62 type=RELDN12 version=1.1.28 serial=63354.70
    303-New Unit Found: address=63 type=RELDN12 version=1.1.28 serial=63354.57
    303-New Unit Found: address=64 type=RELDN12 version=1.1.28 serial=63354.71
    303-New Unit Found: address=66 type=RELDN12 version=1.1.28 serial=63354.75
    303-New Unit Found: address=67 type=RELDN12 version=1.1.23 serial=58950.19
    303-New Unit Found: address=68 type=RELDN12 version=1.1.28 serial=63354.79
    303-New Unit Found: address=69 type=RELDN12 version=1.1.23 serial=58950.346
    303-New Unit Found: address=71 type=RELDN12 version=1.1.28 serial=63354.74
    303-New Unit Found: address=72 type=RELDN12 version=1.1.28 serial=63354.76
    --------------------------------------------------------------------------------
    CALL STACK
    --------------------------------------------------------------------------------
    Call stack:
    :0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
    :7C59BBF3 [kernel32.dll]
    Recursive call (3 times):
    :0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
    :77A82955 [ole32.dll]
    Recursive call (2 times):
    :0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
    :0040776D [CBusToolkit1_1.exe] DynArrayHigh (system.pas, line 10344)
    :00411EE6 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.WriterIsOnlyReader (sysutils.pas, line 7071)
    :00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
    :0064A121 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.SetTimeout (CIS_TThreadWrappedIndySocket.pas, line 587)
    :00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
    :00649DB7 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteBuffer_EndWrite (CIS_TThreadWrappedIndySocket.pas, line 463)
    :00649F7B [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteLine (CIS_TThreadWrappedIndySocket.pas, line 525)
    :0064A6C4 [CBusToolkit1_1.exe] TThreadCommandSocket.ProcessCommand (CIS_TThreadWrappedIndySocket.pas, line 825)
    :00648BB3 [CBusToolkit1_1.exe] TcgConnectionAdministrator.SendCommand (CIS_TcgConnectionAdministrator.pas, line 42)
    :0052E2DB [CBusToolkit1_1.exe] InternalSendCommand (CIS_TCGateCommand.pas, line 201)
    :0052E3ED [CBusToolkit1_1.exe] TCGateCommand.CommandExecute (CIS_TCGateCommand.pas, line 240)
    :0040286F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 942)
    :0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
    :00402C95 [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1123)
    :00402CBD [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1127)
    :00402FC8 [CBusToolkit1_1.exe] SysReallocMem (GETMEM.INC, line 1253)
    :00402FEE [CBusToolkit1_1.exe] SysReallocMem (GETMEM.INC, line 1258)
    :00403043 [CBusToolkit1_1.exe] ReallocMem (system.pas, line 1257)
    :0040504F [CBusToolkit1_1.exe] LStrSetLength (system.pas, line 6684)
    :00404D30 [CBusToolkit1_1.exe] LStrCat (system.pas, line 6080)
    :00641CC2 [CBusToolkit1_1.exe] TCGateObject.GetAddressAsCGateID (CIS_TCBusObject.pas, line 225)
    :00641CE5 [CBusToolkit1_1.exe] TCGateObject.GetAddressAsCGateID (CIS_TCBusObject.pas, line 227)
    :00641C7A [CBusToolkit1_1.exe] TCGateObject.GetOIDAsCGateID (CIS_TCBusObject.pas, line 218)
    :005BB63B [CBusToolkit1_1.exe] TCBusNetworkCGateAgent.NetworkIdentifier (CIS_TCBusNetworkCGateAgent.pas, line 282)
    :005BE1C3 [CBusToolkit1_1.exe] TCBusNetworkCGateAgent.NetSyncNew (CIS_TCBusNetworkCGateAgent.pas, line 1414)
    :005BE3BF [CBusToolkit1_1.exe] TCBusNetworkCGateAgent.SyncForNewUnits (CIS_TCBusNetworkCGateAgent.pas, line 1442)
    :005BB0D5 [CBusToolkit1_1.exe] TCBusNetworkCGateAgent.AgentLoad (CIS_TCBusNetworkCGateAgent.pas, line 182)
    :00532807 [CBusToolkit1_1.exe] TPersistableObject.StorageLoad (CIS_TIdentifiableObject.pas, line 109)
    :00709F04 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnScanNewUnits (CIS_TddPhysicalUnitsDisplay.pas, line 2216)
    :00508151 [CBusToolkit1_1.exe] TTBCustomItem.Click (TB2Item.pas, line 1350)
    :00508096 [CBusToolkit1_1.exe] TTBCustomItem.ClickWndProc (TB2Item.pas, line 1318)
    :00463D1E [CBusToolkit1_1.exe] StdWndProc (Forms.pas, line 1459)
    :77E11EF0 [user32.dll]
    :77E1204C [user32.dll]
    :77E117A0 [user32.dll]
    :77E15E6E [user32.dll]
    :77E15F69 [user32.dll]
    :0046EA59 [CBusToolkit1_1.exe] TApplication.ProcessMessage (Forms.pas, line 6630)
    :0046EAA0 [CBusToolkit1_1.exe] TApplication.HandleMessage (Forms.pas, line 6649)
    :0046B08D [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4692)
    :0046B11B [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4700)
    :0046B1C7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
    :0046B1E7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
    :0051346F [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 127)
    :005134BB [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 135)
    :77E13869 [user32.dll]
    :77E177F4 [user32.dll]
    :77E17803 [user32.dll]
    :0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
    :00402E9F [CBusToolkit1_1.exe] ResizeInPlace (GETMEM.INC, line 1198)
    :0040C2DD [CBusToolkit1_1.exe] FileExists (sysutils.pas, line 2882)
    :0064AD54 [CBusToolkit1_1.exe] TddMainFormDialogDirector.Direct (CIS_TddMainFormDialogDirector.pas, line 26)
    :00504C70 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 162)
    :00504CB7 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 167)
    :00738EF1 [CBusToolkit1_1.exe] TamgKipper.Run (CIS_TamgKipper.pas, line 413)
    :007C078E [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
    :007C07A4 [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
    :7C59893D [kernel32.dll]

    --------------------------------------------------------------------------------
    REGISTERS
    --------------------------------------------------------------------------------
    Main Thread ID = 00000400, Current Thread ID = 00000400
    Registers:
    EAX = 0012F8E8 CS = 001B EIP = 7C59BBF3 Flags = 00000202
    EBX = 0490AFA4 SS = 0023 ESP = 0012F8E0 EBP = 0012F938
    ECX = 00000000 DS = 0023 ESI = 0012F96C FS = 003B
    EDX = 0052EC1C ES = 0023 EDI = 0012F918 GS = 0000
    Code at CS:EIP
    5F 5E C9 C2 10 00 8B 4C 24 04 A1 F0 A1 5C 7C 89
    Stack:
    0490AFA4 017806C4 0EEDFADE 00000001 00000000
    00000000 00000000 7C59893D 00403A05 048455D4
    0042690B 04AAA17C 0000000B 00000000 04B82330
    7C59893D FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
     
    Jannie, Jan 12, 2005
    #12
  13. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Jannie,

    Thanks for the further information.. I'm puzzled to say the least.

    Can you try something else for me? Under File -> Preferences there is two options labelled "Live Group Levels" and "Application Log" could you ensure turn these off (Uncheck them) and try again.

    Thanks for persisting thus far.
     
    Duncan, Jan 12, 2005
    #13
  14. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    One more thing to check..

    Have you changed the Event Level setting of the CGate2 instance? It should be at 5 or lowe.r
     
    Duncan, Jan 12, 2005
    #14
  15. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    After the partial scan of network 3 (Toolkit crashed), I tried scanning again and it completed the scan and I could move the network to the db. This was on network 3.

    I then first tried scanning network 1 and got the normal 'Network failed to open' error.

    I then unchecked the tickboxes as you requested and rescanned with same results.

    How does C-Gate work with mutiple networks if their is no license file?
     
    Jannie, Jan 12, 2005
    #15
  16. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    Toolkit was idling (i.e. I was not active on the application), when I went back to the system it had crashed with the following log:

    --------------------------------------------------------------------------------
    TITLE
    --------------------------------------------------------------------------------
    Application Error
    --------------------------------------------------------------------------------
    USER COMMENTS
    --------------------------------------------------------------------------------

    --------------------------------------------------------------------------------
    CUSTOM INFO
    --------------------------------------------------------------------------------
    Version = 1.1.4
    Build = 124

    --------------------------------------------------------------------------------
    ERROR MESSAGE
    --------------------------------------------------------------------------------
    Exception 'ECGateCommandTimeOut' in module CBusToolkit1_1.exe at 0012DC1C
    TcgcProjectSave

    Module: CIS_TCGateCommand, Source: CIS_TCGateCommand.pas, Line 539
    Procedure: TThreadCommandSynchroniser.ProcessResponses
    --------------------------------------------------------------------------------
    CALL STACK
    --------------------------------------------------------------------------------
    Call stack:
    :0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
    :7C59BBF3 [kernel32.dll]
    Recursive call (3 times):
    :0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
    :77A72C2B [ole32.dll]
    :77A82955 [ole32.dll]
    :00402C95 [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1123)
    :00402CBD [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1127)
    :004193B5 [CBusToolkit1_1.exe] TStringList.Find (Classes.pas, line 3350)
    :0040222F [CBusToolkit1_1.exe] InternalFreeMem (GETMEM.INC, line 684)
    :0040776D [CBusToolkit1_1.exe] DynArrayHigh (system.pas, line 10344)
    :00411EE6 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.WriterIsOnlyReader (sysutils.pas, line 7071)
    :00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
    :0064A121 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.SetTimeout (CIS_TThreadWrappedIndySocket.pas, line 587)
    :00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
    :00649DB7 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteBuffer_EndWrite (CIS_TThreadWrappedIndySocket.pas, line 463)
    :00649F7B [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteLine (CIS_TThreadWrappedIndySocket.pas, line 525)
    :0064A6C4 [CBusToolkit1_1.exe] TThreadCommandSocket.ProcessCommand (CIS_TThreadWrappedIndySocket.pas, line 825)
    :00648BB3 [CBusToolkit1_1.exe] TcgConnectionAdministrator.SendCommand (CIS_TcgConnectionAdministrator.pas, line 42)
    :0052E2DB [CBusToolkit1_1.exe] InternalSendCommand (CIS_TCGateCommand.pas, line 201)
    :0052E3ED [CBusToolkit1_1.exe] TCGateCommand.CommandExecute (CIS_TCGateCommand.pas, line 240)
    :00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
    :7C599970 [kernel32.dll]
    :00402ABC [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
    :0040442E [CBusToolkit1_1.exe] TryFinallyExit (system.pas, line 4931)
    :00402A22 [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1004)
    :00402ABD [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
    :00403075 [CBusToolkit1_1.exe] ReallocMem (system.pas, line 1281)
    :0040792F [CBusToolkit1_1.exe] DynArraySetLength (system.pas, line 10450)
    :00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
    :00411E5A [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.Create (sysutils.pas, line 7051)
    :00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
    :00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
    :0052E7DC [CBusToolkit1_1.exe] TThreadCommandSynchroniser.Create (CIS_TCGateCommand.pas, line 422)
    :00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
    :004EF0E9 [CBusToolkit1_1.exe] TFlashEntityManager.ResolveChange (CIS_TCustomFlashObject.pas, line 3656)
    :004EE175 [CBusToolkit1_1.exe] TCISAttribute.ResolveChange (CIS_TCustomFlashObject.pas, line 3121)
    :00534BEE [CBusToolkit1_1.exe] TStringAttribute.GetAsString (CIS_TStringAttribute.pas, line 95)
    :00543E36 [CBusToolkit1_1.exe] TProjectCGateAgent.ProjectIdentifier (CIS_TProjectCGateAgent.pas, line 100)
    :00544B67 [CBusToolkit1_1.exe] TProjectCGateAgent.CommandProjectSave (CIS_TProjectCGateAgent.pas, line 372)
    :0054474C [CBusToolkit1_1.exe] TProjectCGateAgent.SaveProject (CIS_TProjectCGateAgent.pas, line 280)
    :00544036 [CBusToolkit1_1.exe] TProjectCGateAgent.AgentSave (CIS_TProjectCGateAgent.pas, line 156)
    :005327B4 [CBusToolkit1_1.exe] TPersistableObject.StorageSave (CIS_TIdentifiableObject.pas, line 96)
    :00706DA4 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 930)
    :0040442E [CBusToolkit1_1.exe] TryFinallyExit (system.pas, line 4931)
    :00706B8D [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 868)
    :00706DF4 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 941)
    :00508151 [CBusToolkit1_1.exe] TTBCustomItem.Click (TB2Item.pas, line 1350)
    :00508096 [CBusToolkit1_1.exe] TTBCustomItem.ClickWndProc (TB2Item.pas, line 1318)
    :00463D1E [CBusToolkit1_1.exe] StdWndProc (Forms.pas, line 1459)
    :77E11EF0 [user32.dll]
    :77E1204C [user32.dll]
    :77E117A0 [user32.dll]
    :77E15E6E [user32.dll]
    :77E15F69 [user32.dll]
    :0046EA59 [CBusToolkit1_1.exe] TApplication.ProcessMessage (Forms.pas, line 6630)
    :0046EAA0 [CBusToolkit1_1.exe] TApplication.HandleMessage (Forms.pas, line 6649)
    :0046B08D [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4692)
    :0046B11B [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4700)
    :0046B1C7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
    :0046B1E7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
    :0051346F [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 127)
    :005134BB [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 135)
    :77E13869 [user32.dll]
    :77E177F4 [user32.dll]
    :77E17803 [user32.dll]
    :0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
    :00402E9F [CBusToolkit1_1.exe] ResizeInPlace (GETMEM.INC, line 1198)
    :0040C2DD [CBusToolkit1_1.exe] FileExists (sysutils.pas, line 2882)
    :0064AD54 [CBusToolkit1_1.exe] TddMainFormDialogDirector.Direct (CIS_TddMainFormDialogDirector.pas, line 26)
    :00504C70 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 162)
    :00504CB7 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 167)
    :00738EF1 [CBusToolkit1_1.exe] TamgKipper.Run (CIS_TamgKipper.pas, line 413)
    :007C078E [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
    :007C07A4 [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
    :7C59893D [kernel32.dll]

    --------------------------------------------------------------------------------
    REGISTERS
    --------------------------------------------------------------------------------
    Main Thread ID = 00000400, Current Thread ID = 00000400
    Registers:
    EAX = 0012F8C8 CS = 001B EIP = 7C59BBF3 Flags = 00000202
    EBX = 06757BBC SS = 0023 ESP = 0012F8C0 EBP = 0012F918
    ECX = 00000000 DS = 0023 ESI = 0012F94C FS = 003B
    EDX = 0052EC1C ES = 0023 EDI = 0012F8F8 GS = 0000
    Code at CS:EIP
    5F 5E C9 C2 10 00 8B 4C 24 04 A1 F0 A1 5C 7C 89
    Stack:
    06757BBC 017806C4 0EEDFADE 00000001 00000000
    00000000 00000000 7C59893D 00403A05 067589F0
    0042690B 0675A0DC 0000000B 00000000 04B82330
    7C59893D FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
     
    Jannie, Jan 12, 2005
    #16
  17. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Network 1 is your local network or a bridged network?

    Toolkit 'unlocks' CGate to work with all Networks.

    Jannie, would you be able to give me:

    1. the firmware versions of the PCI
    2. the firmware version of the bridge
    3. the Java version that is running on the machine "java -version" at a command prompt will show that.

    I'll get a network set up with Win2k, the same Java, PCI's and Bridges.. but based on the already significant testing we've already done I'm almost certain that we're not going to find a testing. At this point I'm wondering if there's something on your Network generating messages or traffic that are causing problems for Toolkit.. Is there any chance of your building a smaller network to rule out problems with the particular machine that you're using or finding another machine to test against that Network?

    Also, if you look in the Java console window, does CGate appear to have any exceptions or errors being raised?

    I know this is an imposition on your no doubt busy time but I really want to get to the bottom of it.
     
    Duncan, Jan 12, 2005
    #17
  18. Jannie

    Jannie

    Joined:
    Aug 4, 2004
    Messages:
    69
    Likes Received:
    0
    Location:
    Cape Town, South Africa
    Toolkit was idling (i.e. I was not active on the application), when I went back to the system it had crashed with the following log:

    --------------------------------------------------------------------------------
    TITLE
    --------------------------------------------------------------------------------
    Application Error
    --------------------------------------------------------------------------------
    USER COMMENTS
    --------------------------------------------------------------------------------

    --------------------------------------------------------------------------------
    CUSTOM INFO
    --------------------------------------------------------------------------------
    Version = 1.1.4
    Build = 124

    --------------------------------------------------------------------------------
    ERROR MESSAGE
    --------------------------------------------------------------------------------
    Exception 'ECGateCommandTimeOut' in module CBusToolkit1_1.exe at 0012DC1C
    TcgcProjectSave

    Module: CIS_TCGateCommand, Source: CIS_TCGateCommand.pas, Line 539
    Procedure: TThreadCommandSynchroniser.ProcessResponses
    --------------------------------------------------------------------------------
    CALL STACK
    --------------------------------------------------------------------------------
    Call stack:
    :0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
    :7C59BBF3 [kernel32.dll]
    Recursive call (3 times):
    :0052EC1C [CBusToolkit1_1.exe] TThreadCommandSynchroniser.ProcessResponses (CIS_TCGateCommand.pas, line 539)
    :77A72C2B [ole32.dll]
    :77A82955 [ole32.dll]
    :00402C95 [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1123)
    :00402CBD [CBusToolkit1_1.exe] SysFreeMem (GETMEM.INC, line 1127)
    :004193B5 [CBusToolkit1_1.exe] TStringList.Find (Classes.pas, line 3350)
    :0040222F [CBusToolkit1_1.exe] InternalFreeMem (GETMEM.INC, line 684)
    :0040776D [CBusToolkit1_1.exe] DynArrayHigh (system.pas, line 10344)
    :00411EE6 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.WriterIsOnlyReader (sysutils.pas, line 7071)
    :00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
    :0064A121 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.SetTimeout (CIS_TThreadWrappedIndySocket.pas, line 587)
    :00411FD9 [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.EndWrite (sysutils.pas, line 7103)
    :00649DB7 [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteBuffer_EndWrite (CIS_TThreadWrappedIndySocket.pas, line 463)
    :00649F7B [CBusToolkit1_1.exe] TBaseThreadWriteSocket.WriteLine (CIS_TThreadWrappedIndySocket.pas, line 525)
    :0064A6C4 [CBusToolkit1_1.exe] TThreadCommandSocket.ProcessCommand (CIS_TThreadWrappedIndySocket.pas, line 825)
    :00648BB3 [CBusToolkit1_1.exe] TcgConnectionAdministrator.SendCommand (CIS_TcgConnectionAdministrator.pas, line 42)
    :0052E2DB [CBusToolkit1_1.exe] InternalSendCommand (CIS_TCGateCommand.pas, line 201)
    :0052E3ED [CBusToolkit1_1.exe] TCGateCommand.CommandExecute (CIS_TCGateCommand.pas, line 240)
    :00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
    :7C599970 [kernel32.dll]
    :00402ABC [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
    :0040442E [CBusToolkit1_1.exe] TryFinallyExit (system.pas, line 4931)
    :00402A22 [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1004)
    :00402ABD [CBusToolkit1_1.exe] SysGetMem (GETMEM.INC, line 1026)
    :00403075 [CBusToolkit1_1.exe] ReallocMem (system.pas, line 1281)
    :0040792F [CBusToolkit1_1.exe] DynArraySetLength (system.pas, line 10450)
    :00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
    :00411E5A [CBusToolkit1_1.exe] TMultiReadExclusiveWriteSynchronizer.Create (sysutils.pas, line 7051)
    :00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
    :00403EC2 [CBusToolkit1_1.exe] AfterConstruction (system.pas, line 4207)
    :0052E7DC [CBusToolkit1_1.exe] TThreadCommandSynchroniser.Create (CIS_TCGateCommand.pas, line 422)
    :00403E8D [CBusToolkit1_1.exe] ClassCreate (system.pas, line 4171)
    :004EF0E9 [CBusToolkit1_1.exe] TFlashEntityManager.ResolveChange (CIS_TCustomFlashObject.pas, line 3656)
    :004EE175 [CBusToolkit1_1.exe] TCISAttribute.ResolveChange (CIS_TCustomFlashObject.pas, line 3121)
    :00534BEE [CBusToolkit1_1.exe] TStringAttribute.GetAsString (CIS_TStringAttribute.pas, line 95)
    :00543E36 [CBusToolkit1_1.exe] TProjectCGateAgent.ProjectIdentifier (CIS_TProjectCGateAgent.pas, line 100)
    :00544B67 [CBusToolkit1_1.exe] TProjectCGateAgent.CommandProjectSave (CIS_TProjectCGateAgent.pas, line 372)
    :0054474C [CBusToolkit1_1.exe] TProjectCGateAgent.SaveProject (CIS_TProjectCGateAgent.pas, line 280)
    :00544036 [CBusToolkit1_1.exe] TProjectCGateAgent.AgentSave (CIS_TProjectCGateAgent.pas, line 156)
    :005327B4 [CBusToolkit1_1.exe] TPersistableObject.StorageSave (CIS_TIdentifiableObject.pas, line 96)
    :00706DA4 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 930)
    :0040442E [CBusToolkit1_1.exe] TryFinallyExit (system.pas, line 4931)
    :00706B8D [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 868)
    :00706DF4 [CBusToolkit1_1.exe] TddPhysicalUnitsDisplay.OnRescanNetwork (CIS_TddPhysicalUnitsDisplay.pas, line 941)
    :00508151 [CBusToolkit1_1.exe] TTBCustomItem.Click (TB2Item.pas, line 1350)
    :00508096 [CBusToolkit1_1.exe] TTBCustomItem.ClickWndProc (TB2Item.pas, line 1318)
    :00463D1E [CBusToolkit1_1.exe] StdWndProc (Forms.pas, line 1459)
    :77E11EF0 [user32.dll]
    :77E1204C [user32.dll]
    :77E117A0 [user32.dll]
    :77E15E6E [user32.dll]
    :77E15F69 [user32.dll]
    :0046EA59 [CBusToolkit1_1.exe] TApplication.ProcessMessage (Forms.pas, line 6630)
    :0046EAA0 [CBusToolkit1_1.exe] TApplication.HandleMessage (Forms.pas, line 6649)
    :0046B08D [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4692)
    :0046B11B [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4700)
    :0046B1C7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
    :0046B1E7 [CBusToolkit1_1.exe] TCustomForm.ShowModal (Forms.pas, line 4714)
    :0051346F [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 127)
    :005134BB [CBusToolkit1_1.exe] TDialogDirector.Direct (CIS_TDialogDirector.pas, line 135)
    :77E13869 [user32.dll]
    :77E177F4 [user32.dll]
    :77E17803 [user32.dll]
    :0040288F [CBusToolkit1_1.exe] TryHarder (GETMEM.INC, line 946)
    :00402E9F [CBusToolkit1_1.exe] ResizeInPlace (GETMEM.INC, line 1198)
    :0040C2DD [CBusToolkit1_1.exe] FileExists (sysutils.pas, line 2882)
    :0064AD54 [CBusToolkit1_1.exe] TddMainFormDialogDirector.Direct (CIS_TddMainFormDialogDirector.pas, line 26)
    :00504C70 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 162)
    :00504CB7 [CBusToolkit1_1.exe] TApplicationManager.Run (CIS_TApplicationManager.pas, line 167)
    :00738EF1 [CBusToolkit1_1.exe] TamgKipper.Run (CIS_TamgKipper.pas, line 413)
    :007C078E [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
    :007C07A4 [CBusToolkit1_1.exe] initialization (prjKipper.dpr, line 56)
    :7C59893D [kernel32.dll]

    --------------------------------------------------------------------------------
    REGISTERS
    --------------------------------------------------------------------------------
    Main Thread ID = 00000400, Current Thread ID = 00000400
    Registers:
    EAX = 0012F8C8 CS = 001B EIP = 7C59BBF3 Flags = 00000202
    EBX = 06757BBC SS = 0023 ESP = 0012F8C0 EBP = 0012F918
    ECX = 00000000 DS = 0023 ESI = 0012F94C FS = 003B
    EDX = 0052EC1C ES = 0023 EDI = 0012F8F8 GS = 0000
    Code at CS:EIP
    5F 5E C9 C2 10 00 8B 4C 24 04 A1 F0 A1 5C 7C 89
    Stack:
    06757BBC 017806C4 0EEDFADE 00000001 00000000
    00000000 00000000 7C59893D 00403A05 067589F0
    0042690B 0675A0DC 0000000B 00000000 04B82330
    7C59893D FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
     
    Jannie, Jan 12, 2005
    #18
  19. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Looking back over the errors you've reported they all seem related to Saving of Projects, the projects are stored in C:\CLIPSAL\CGATE2\Tag .. Would you be able to look at the attributes of your particular project file (myproject.xml for example) and ensure they arent 'read only'. Long shot..

    When you click on "Scan Network" are you using a single click or double click? Are any Unit GUI's open when you attempt the Scan?
     
    Duncan, Jan 12, 2005
    #19
  20. Jannie

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Jannie,

    Sorry for the barage of posts..

    Please ensure that you've closed CGate at some point recently and let Toolkit restart it.
     
    Duncan, Jan 12, 2005
    #20
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.