-
Notifications
You must be signed in to change notification settings - Fork 2
Upgrade ISISICP
Wiki > Deployment > Deployment on an Instrument Control PC > Upgrade ISISICP
-
Check
isisicpandisisdatasvrprocesses are not running. You cannot kill them if ISISDAE-IOC-01 is running so you need to stop this separately (and stop procserv restarting them) or run stop_ibex_server -
Backup existing installation: copy the following to
c:\data\old\isisdae_backup_YYY_MM_DD:c:\LabVIEW Modules\daec:\data\recovery.run-
c:\data\selog.*(.sq3 .sq3-shm and .sh3-wal files)
-
Confirm the type of DAE you have - look in
c:\labview modules\dae\icp_config.xml, if DAEType is 1 or 2 you have a DAE2 (1 for neutron instruments, 2 for muon instruments), if it is 3 you have a DAE3. If you install the wrong type, it will just fail to start and complain in the ICP log file. -
Go to
\\isis\inst$\Kits$\CompGroup\ICP\ISISICPand into the directory for the DAE type you have -
Go into the latest build number directory (also in
LATEST_BUILD.txt) and double click onupdate_inst.cmdThis can take a while (several minutes). You will get various messages. The following are OK:- If it can't replace the file
isisicp_extMC.dllas it is open
- If it can't replace the file
-
As printed to screen at the end of script, open a command terminal as administrator (gamekeeper) and run
cd "c:\labview modules\dae" register_programs.cmd -
Now delete
c:\data\selog.*(.sq3 .sq3-shm and .sh3-wal files)
This complete the ISISICP installation
At this point is it useful to install/update the JournalParser. This utility is not part of the ISISICP
but parses the XML journal files generated by the ISISICP in c:\data at run end and updates entries in the MqSQL database
used by the IBEX journal viewer. The journal parser executable program is ran by the isisicp at each run end
via end_of_run.bat to add a new entry
- To install/update journal parser, navigate to
<public share>\journalparser_static_new-
Either run
install.batto install it an migrate all old journal files (new ibex instrument) -
or run
install_no_migrate.batto install it without copying old journal files (existing ibex instrument)
-
Either run
If this install fails for some reason, it will not affect an instrument operating - it will just mean that new run entries will not be visible in the ibex journal viewe (which looks at MySQL). It will not affect the actual creation of the XML reference files by the ISISICP, so a full re=import can be done at a later date when any issues are resolved.
C:\Windows\system32>cd "c:\labview modules\dae"
c:\LabVIEW Modules\dae>register_programs.cmd
ERROR: The process "LabVIEW.exe" not found.
ERROR: The process "SeciUserInterface.exe" not found.
ERROR: The process "SECIStartup.exe" not found.
ERROR: The process "mkscript3.exe" not found.
ERROR: The process "muonscript.exe" not found.
ERROR: The process "makescript.exe" not found.
ERROR: The process "PlotScan.exe" not found.
ERROR: The process "vs7jit.exe" not found.
ERROR: The process "mari_script.exe" not found.
ERROR: The process "tkgenie32.exe" not found.
INFO: No tasks running with the specified criteria.
ERROR: The process "isisdatasvr.exe" not found.
ERROR: The process "isisicp.exe" not found.
ERROR: The process "cwdss.exe" not found.
ERROR: The process "runapp.exe" not found.
The process cannot access the file because it is being used by another process.
Registering Release images
Registering in x64\Release
Press any key to continue . . .
c:\LabVIEW Modules\dae>
- If DAE3 is new to this computer, it may not have the "Microsoft Visual C++ 2015 redistributable" installed. Check in the installed program list, if it is missing run
vc_redist.x64.exein\\isis\inst$\Kits$\CompGroup\ICP\ISISICP\VS2015 - install the new DAE software as above
- edit icp_config.xml and change DAEType from 1 to 3
- Before you run DAE3 for first time you will need to run
set_dae3_arp.batinlabview modules\daeas an administrator - You will also need to add
set_dae3_arp.batto be run as administrator at system startup. To do this run the task scheduler as administrator and then import theDAE3_arp_boot_task.xmlboot task file. - Also check firewall settings