Set64rs-Software-Issues

From *** My Personal Wiki ***
Jump to navigation Jump to search

Database-Based-Driver


Outstanding Issues

  • INSTALL: has file error: will not load a profile to edit it.
  • INSTALL: profile editor is too long to use on laptop install > no vertical scrollbars on form
  • Controller Program Memory not highlighting correctly when PRL/PRH = 0 , 0 ( boot up in fresh install with no controllers connected )
    • When controllers are not connected: at start up software uses 0,0 as PRL and PRH and flags error due to mismatch with stored / selected profile
  • ProfileChannelNumberDisplay_Click '---needs to update other things: example: RUNMODE ! ....
  • when returning from the CHANNEL MAP form the CHANNEL NUMBER drop down boxes will not be updated with any changes that have occurred.
  • Do install package - Test Clean Slate initial conditions start up!


In Process


  • slightly too wide to display on 1024 laptop screen



Maybe Resolved

  • program is flagging that stored profile range is not in the profile log at startup ONLY. > RESOLUTION: was artifact of cleared CONTROLLER MEMORY db with PROFILE LOG not cleared > uploaded profile again and it resolved. > could be issue in the future.
  • MENU > SYNCHRONIZE CONTROLLER > * mnuSynchronizeController does not have any code in it yet > absorbed this function into other functions: RESOLUTION: Deleted
  • StoreProfileExecuting > does not store all CONFIGURATION values in DB.
  • channel select needs wired up throughout the code
  • compiled profile will not upload with ModBusAddress=1
  • SELECT RUN PROFILE button routine does not update CONTROLLER CONFIGURATION database table
  • Hardware > Alarm setting does not work

Resolved Issues

  • icons: desktop / start menu : RESOLVED: Added Start Menu icon > desktop icon is harder and delayed
  • put mdac_typ.exe in db-support sub directory so as to not confuse users! : DONE
    • Data base driver errors > Class not registered .... Looking for object with CLSID {00000010-0000-0010-8000-00AA006D2EA4}: RESOLVED: INSTALL MDAC_TYP.EXE ( vers 2.0 ) with install package!
    • 0th computer issues
      • when I de-register dao350.dll then I get the same symtoms as #2 and #3 with the .exe but not the IDE uncompiled version
    • 1st Computer Issues
      • msstdfmt.dll > although included in the install package already > I had to used: REGSVR32 to register the dll before the install would run > no faults found!
      • both dao350.dll and dao360.dll were registered
        • unregistered dao350.dll and acted like #2 / #3.
        • Would not work with: both unregistered or with 350 registered and 360 unregistered.
    • 2nd Computer Issues
    • 3rd computer - dell laptop
      • acted same as 2nd computer



  • Set64rs-Change-from-dbgrid-to-flexGrid - RESOLUTION: DONE: dbgrid component stopped working during creation of the install package. Due to history of this component acting strange they have been eliminated from project!
  • CLEAR CONTROLLER function should also clear "last profile" executed from CONTROLLER CONFIGURATION table:RESOLUTION: Set name="" and linked TextBox into database CONTROLLERCONFIGURATION:ProfileNameExecuting
  • SELECT PROFILE button should prompt user to notify them that the PROFILE has been select for running > currently only says "program limits set":RESOLUTION: notification added
  • When returning to PROFILE UPLOAD form from CHANNELMAP form > the channel selection is reset to channel#1 by: InitializeChannelSelection (0) in form_activate: RESOLUTION: Fixed
  • CONTROLLER MEMORY shows all 0's for contents : RESOLVED: was using ModBusAddress=SoftwareChannelNumber ...this is Wrong! ALL SUB ISSUES RESOLVED
    • downloading channel#1 > this reloaded channel 1 CONTROLLER MEMORY
    • downloading channel#2 > appeared to work but then switching to channel #1 then back to channel#2 the CONTROLLER MEMORY came up all zero's again
    • Clearing the CHANNEL MAP : appears to have zeroed out the CONTROLLER MEMORY > had to re-download the memory > At start up after reinstating CONTROLLER MEMORY by using memory download function
    • ERROR: Profile range is not in Profile Log > Before running make sure you want this condition to persist > Recalling profile last chosen for execution
  • At BootUp > if bootup initializes with Channel=#2 then channel #2 CONTROLLER MEMORY is shown correctly: RESOLVED: was using ModBusAddress=SoftwareChannelNumber ...this is Wrong! ALL SUB ISSUES RESOLVED
  • If you switch to channel#1 then back to channel#2 all zeros are displayed.
    • Thus CONTROLLER MEMORY database is not wiped out. It merely is not displaying.
    • Channel#1 always displays correctly under this set of conditions
    • also has: ERROR: Profile range is not in Profile Log > Before running make sure you want this condition to persist > Recalling profile last chosen for execution > only at BootUp
  • Verify all component file paths are set in CODE and not in FORM OBJECTS > otherwise you will get run errors when their is nothing to connect to! RESOLVED: check all objects on forms that have a file&path setting
  • after scanning in the 2 channels > return to PROFILE UPLOADER does not update form: RESOLVED: now updates > had to add a clear function to wipe out previous entries in drop down list box
  • with no channels in CHANNEL MAP database flags error > then flags another error > RESOLUTION: dbgrid had erroneous path entered in object > parameters: put .databasename=DebugData1.DataBaseName = App.Path & "\Setup\ChannelManagement.mdb"
  • Enable old security method > RESOLUTION: implemented
  • remove all debug.print messages: RESOLUTION: executed
  • error trapping code > RESOLUTION: laced in ON ERROR statements into every procedure
  • Move comm port scan | channel management menus to the right side > they will be used mostly only at startup > left to right > most frequently to least frequently used> RESOLVED: Created a SETUP top menu item and put CHANNEL MANAGEMENT & COMM PORT SCAN under it
  • Better Icon for PROFILE UPLOADER: RESOLVED: blue right arrow
  • COM PORT SETUP > is not seeing units attached to address 1 > RESOLUTION: force COMM ERROR flag = true because when comm port does not exist the port error does not let attempted device read to occur
  • PROFILE UPLOAD > FORM ACTIVATE event triggers every time the form regains focus! move what can be moved: RESOLUTION: mdlBootUpFlag allows run of the I/O functions only at bootup
  • CHANNEL MAP : if user does not enter in NICKNAME > provide a default > causes errors elsewhere when debugging > Enter a default name > let user change: RESOLVED: loads field with DefaultN where N is channel number
  • There is no management of where LOG FILES are stored > current config is default anafaze 32 channels > not flexible enough > autogenerate LOG FILE folder when channel is installed
  • CHANNEL MANAGEMENT INTERFACE > should create appropriate channel folders under the LOGFILES director when a channel is installed > RESOLVED: folder added when channel is detected
  • UPLOADER: add code that messages user if there are no controllers listed in CHANNELMAP > instruct to go to CHANNEL MANAGEMENT: RESOLVED: USERPROMPT used to tell user to open CHANNEL MAP using menu
  • PROFILE EDITOR > glbProfileInputType > this variable runs on over the PROFILE EDITOR scope > RESOLUTION: scope changed to module level: name changed to mdlProfileInputType
  • Move MenuFiles folder to under Setup folder > requires changing PATH strings in PROFILE EDITOR: RESOLVED : placed under SETUP folder
  • FRONT PANEL > uses glbUnitAddress for its modbus address. RESOLUTION: changed to module level scope > defaults =1 > assumes user will use a unit with address=1 for setup
  • FRONT PANEL > uses CommPortNumber=1 > RESOLUTION: use code from PROFILE UPLOAD to reference database
  • StandAlone flags are still set > RESOLUTION: minimized influence using condition references to database
  • StandAlone flag issue forces the COMM PORT NUMBER > COMM PORT SETUP form issue > add COMM PORT SETUP form to project and allow user call from PROFILE UPLOAD FORM
    • RESOLUTION: CommPortNumber was stored in text file > it is now stored in database with its parameters > parameters not fully implemented on recall
  • STANDALONE FLAG > PROFILE EDITOR > RESOLVED
    • Address set = 1 > Menu > Select channel > lists 32 channels > should be only channels in the CHANNEL MAP
    • Multichannel.IO.enabled turned back on upon EXIT of PROFILE EDITOR
    • SAVE FILE > does not parse in stand alone mode
  • PROFILE EDITOR > all channel setups should be in 1 database instead of many different folders > folders could be compacted down to 1 db in 1 folder: RESOLVED
    • PROFILE EDITOR channelization eliminated / unnecessary > let user choose using file folder navigation
  • PROFILE EDITOR > uses modbusaddress to index its channelization > needs converted to SOFTWARE CHANNEL : RESOLVED
    • PROFILE EDITOR channelization eliminated / unnecessary > let user choose using file folder navigation
  • remove subfolders used with PROFILE EDITOR > all profiles go in 1 subfolder
  • add menu item on PROFILE UPLOAD form to go to PROFILE EDITOR > add code to open PROFILE EDITOR
  • Database Cleanup > put in CHANNELMANAGEMENT form > RESOLUTION: clean up of CONTROLLER MEMORY implemented > may need other tables cleaned!
  • When does new temperature controller memory get loaded into the controller memory database? > in the CHANNEL MANAGEMENT form ??? stuff entire table with 0's
    • ANSWER= when using channelmanagement interface > when adding a controller > add database entries for CONTROLLER MEMORY
  • Add entries for CONTROLLER MEMORY to database when adding a channel
  • CHANNEL MANAGEMENT form has FILE>MENUFILE OPEN on menu > remove? Not needed? RESOLUTION: make invisible | is good for debug etc.
  • CONTROLLER MEMORY flexgrid start segment / highlighting is incorrect during uploads > do testing to avoid user confusion: RESOLUTION: fixed
  • PROFILE LOG record pointer should be adjusted to point at currently loaded PRL PRH held in the controller > thus will synch the user to the state of the setup! Now it is not and is BAD!
    • database needs to set PROFILE LOG pointer at boot up to last run profile as determined by where the PRL / PRH are set in controller > RESOLVED: Pointer Position recalled at startup and channel change
    • form_load should use last used stored channel number to start up interface > User CHANNEL SELECTION thereafter > RESOLVED: implemented
      • need to store selected channel in database for software restart purposes? > initialize to last selected channel at start up?
  • H - Hours time scale appears to be not compiling correctly: RESOLVED: FIXED
  • Autotune not tested yet
    • ON works
    • OFF works
  • mnuExit function
  • file open > all profiles should be in the same directory
  • RUN MODE setting does not have addressing wired up yet
    • when modbusaddress=2 the CONTROLLER MEMORY flexgrid get fudged: display starts with segment number: 61,62,63,64,1,2,3.... strangeness!
  • Switching channels does not update .......... RESOLVED: all sub points fixed
    • PROGRAM LOG display
    • CONTROLLER MEMORY display
    • switching channels should trigger RUN STATE READ
  • after UPLOAD PROFILE : PROFILE LOG shows profiles from all controllers: not just the one whose address is dialed in
  • on bootup PROFILE LOG shows only profiles from dialed in address: After switching to different channel: database view shows MODBUSADDRESS
  • PROFILE PARAMETERS DISPLAY pic box on the menu: RESOLUTION: eliminated > not needed because PROFILE LOG now displays these parameters.
  • about menu information: RESOLVED: Added
  • memory management > when deleting profiles > sometimes a profile gets left in controller program memory > RESOLVED: Duplicate name > erases
    • recreation of problem: upload profile to range1. upload same profile name to range2. Range1 is not zero'd out.
    • when a name is deleted from profile log > zero out corresponding range!
  • Full debug testing on RUN / PAUSE / RESTART / JUMPTO
    • When program is restarted > controller memory modified segments are not restored >>> Does RUN PROFILE keep database CONTROLLER CONFIGURATION up to date? > NO
  • Pause Button > Set Single Set Point = Current temperature: RESOLVED: Implemented
    • After: Pause Profile > Restart Profile : No controller state records are found: RESOLVED: Interpolation routine loop searched for next valid line was erroneous.
  • Pause Profile appears not to store off SEGMENT TIME properly > only a 3 second sliver gets trimmed off > RESOLVED
  • JumpTo button caption changes after clicking: RESOLUTION: Change text to 'JumpTo'
  • grey out profile run parameters /segment/segment time/set temp when RunMode=SV ...not valid then:RESOLVED: Ignore for now. Not crucial.
  • Move Single Set Point function: CONTROLLER SETTINGS menu > RESOLUTION: moved to menu under MENU = CONTROLLER SETTINGS
  • Scroll bar enabled view? > for low res displays? RESOLUTION: Scrollbar function not exposed for forms in VB6 > must use API > issue dismissed
  • grid displays .................RESOLVED: expand buttons show all fields when clicked > buttons are visible in debug view
    • currently shows all fields
    • need 2 views > debug / normal > wire up menus
      • Display options:
        • Show all fields / show user fields
        • show buttons to allow wide view / narrow view
  • form centering code: RESOLUTION > solution used did not work very well > sized and placed in upper right hand of form to minimize video resolution requirements
  • size up for correct display > RESOLUTION: sized up for 1280 X 1024 screen size: works down to 1280 X 960
  • get rid of automatic compiled profile load > use only the menu load method
    • PROFILE-UPLOAD errors out when set as StartUp form > CommPortNumber = 0 >
      • RESOLUTION:Add standalone code in form_load > leave code in PROFILE EDITOR for now.
  • organize menus > too wide right now
    • MENU > READ PROGRAM CONTROL > unnecessary? > program run mode should be kept up to date by the software > DELETED
  • needs to remember last profile that was being executed for purpose of easy restart
    • software does not store executing profile in database? > RESOLUTION:Store when profile is selected
    • needs to recall executing profile name and display in EXECUTING PROFILE field at startup > RESOLUTION: Recalled at start up in form_activated


Issues Delayed


  • add desktop icon > was more complicated than start menu icon and thus delayed
  • ChannelModBusAddress = AddressOfChannel(ProfileChannelNumberDisplay.Text) : if no channels are installed then I/O functions should be skipped over. > use error trapping for now > fix because it helps make easier to test and run in Stand Alone mode
  • create new more secure protection method / scheme
  • Need a clear button on the CHANNELMAP USERPROMPT
  • And what about MONITOR RUN STATE | current form allows user to select it or not: default to on? | put in menu? |
  • SETUP FOLDER architecture: with placement of setup parameters in a database <> separate folders under SETUP FOLDER can be eliminated
  • Internet registration method > with online database registration tool > RESOLUTION: Very complex task > use old method to allow limited marketing in USA > ExeProtector???
  • DataBase cleanup > delayed implementation of table cleanup
    • Implemented CONTROLLER MEMORY cleanup
    • All other tables cleanups not implemented yet
  • Change directory structure of where profiles are stored > store all profiles in 1 profile folder > eliminate Channel-XX structure: WHY? Not critical > doubt if is correct path to follow?
  • software should be able to run without controller connected to channel > for user to be able to refer to controllers to see what is going on when they need to confirm: WHY? Wait till someone complains!