Commit 0c7d385b authored by Alois SCHLOEGL's avatar Alois SCHLOEGL
Browse files

add simple installer; update README

parent 6cd46f03
......@@ -2,69 +2,59 @@
FPulse is a program for patch-clamp recordings. This version FPulse (3.3.3) was build successfully in 2010 for IgorPro 6.x.
If not stated otherwise, all copyrights are with:
If not stated otherwise, all copyrights are with:
```
Copyright (C) 2001-2010 Ulrich Fröbe, University of Freiburg, Germany
Copyright (C) 2001-2021 Ulrich Fröbe, University of Freiburg, Germany
Copyright (C) 2001-2010 Peter Jonas, University of Freiburg, Germany
Copyright (C) 2011-2021 Peter Jonas, Institute of Science and Technology, Austria
```
This code is provided under the GPLv3 (see COPYING).
This code is provided under the GPLv3 (see COPYING).
Dependencies on 3rd party tools are listed. This repository is setup mainly for documentation purpose, no active development or support is provided.
### Files from Axon Instruments
### Files from Axon Instruments
Copyright (c) 1999-2004 Axon Instruments.
```
UserIgor/Dll/AxMultiClampMsg.dll
UserIgor/Ced/C_FPMc700Tg/MultiClampBroadcastMsg.hpp
UserIgor/Ced/C_FPMc700Tg/MCTelegraphs.h
UserIgor/Ced/C_FPMc700/AxMultiClampMsg.h
UserIgor/XOPs/UFP_Mc700/AxMultiClampMsg.h
UserIgor/XOPs/UFP_Mc700Tg/MultiClampBroadcastMsg.hpp
UserIgor/XOPs/UFP_Mc700Tg/MCTelegraphs.h
UserIgor\XOP_Axon\FP_Mc700Tg\MultiClampBroadcastMsg.hpp
UserIgor\XOP_Axon\FP_Mc700Tg\MCTelegraphs.h
UserIgor\XOP_Dll\AxMultiClampMsg.dll
```
[Axon MultiClamp commander ](https://axograph.com/download/multi-clamp-commander "Axon MultiClamp Commander")
[Installer of MC700B](http://axograph.com/installers/MultiClamp_2_1_0_16.exe "MC installer for MS-Windows")
* Download and install [MultiClamp Commander 700a]), in the default location, and extract this dll from
* Download and install [MultiClamp Commander 700a]), in the default location, and extract this dll from
```
c:\Program Files (x86)\Molecular Devices\MultiClamp 700B Commander\3rd Party Support\AxMultiClampMsg\AxMultiClampMsg.dll
```
### Files from Cambridge Electronic Devices (CED)
```
UserIgor/Dll/Use1432.dll
UserIgor/Dll/Cfs32.dll
UserIgor/Dll/1432ui.dll
UserIgor/Ced/C_FPulseCed/Use1401.h
UserIgor/Ced/C_FPulseCed/Load.h
UserIgor/Ced/C_FPulseCed/MACHINE.H
UserIgor/Ced/C_FPulseCed/Cfs.c
UserIgor/XOPs/UFe2_Cfs/Machine.h
UserIgor/XOPs/UFe2_Cfs/Cfs.c
UserIgor/XOPs/UFPE_Cfs/Machine.h
UserIgor/XOPs/UFPE_Cfs/Cfs.c
UserIgor/XOPs/UFP_Ced/Use1401.h
UserIgor/XOPs/UFP_Ced/Load.h
UserIgor/XOPs/UFP_Ced/MACHINE.H
UserIgor/XOPs/UFp2_Cfs/Machine.h
UserIgor/XOPs/UFp2_Cfs/Cfs.c
UserIgor\XOP_Dll\Use1432.dll
UserIgor\XOP_Dll\CFS32.dll
UserIgor\XOP_Ced\FPulseCed\Cfs.h
UserIgor\XOP_Ced\FPulseCed\Cfs.c
UserIgor\XOP_Ced\FPulseCed\Use1401.h
UserIgor\XOP_Ced\FPulseCed\MACHINE.H
```
These can be obtained from here:
These can be obtained from here:
* Download, and install [1401 Windows Installer](http://ced.co.uk/files/winsupp.exe) in the default location, and extract these files
* Download, and install [1401 Windows Installer](http://ced.co.uk/files/winsupp.exe) in the default location, and extract these files
* Download, and install [CFS library](http://ced.co.uk/files/MS54.exe) in the default location, and extract these dll
* Download, and install [CFS library](http://ced.co.uk/files/MS54.exe) in the default location, and extract these dll
```
C:\1401\utils\Use1432.dll
......@@ -73,35 +63,39 @@ These can be obtained from here:
```
# Download:
* sources:
# Build requirements
https://git.ist.ac.at/jonasgroup/FPulse/-/archive/master/FPulse-master.zip
## Igor XOP toolkit
or through git
[XOP toolkit 5](http://www.wavemetrics.net/ecomm/xop/XOPToolkit5.exe "XOP toolkit 5") has been used for the interface been C-code and IgorPro.
```
git clone https://git.ist.ac.at/jonasgroup/FPulse
```
[1]: https://www.wavemetrics.com/products/xoptoolkit "XOP toolkit"
## Installer
the binaries can be deployed with
```
install.bat
```
## Compiler
In 2010 the Visual C++ compiler from Microsoft (MSVC) was used to compile the code.
# Build requirements
## Installer
[Innosetup](https://jrsoftware.org/isinfo.php) had been used to set up the installer.
### Igor XOP toolkit
[XOP toolkit 6](http://www.wavemetrics.net/ecomm/xop/XOPToolkit6.exe "XOP toolkit 6") has been used for the interface been C-code and IgorPro.
[1]: https://www.wavemetrics.com/products/xoptoolkit "XOP toolkit"
### Compiler
MSVC2015 is known to work. Other compilers are not tested.
# Download:
* sources:
```
git clone https://git.ist.ac.at/jonasgroup/FPulse
```
* binaries:
(on request)
# Runtime requirements
- IgorPro 6.x
......
REM
REM FPulse Installer
REM installs FPulse 3.43 on IgorPro 6
REM
REM Copyright (C) 2021 Alois Schlögl, IST Austria
REM make install run as admin
REM https://developpaper.com/how-to-make-bat-batch-run-with-administrators-permission/
REM mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit /B
REM directory of FPulse
set SRCDIR="%~dp0"
REM Directory to Igor Pro User files - here are some examples
REM Windows10
SET IPUF=%UserProfile%"\Documents\WaveMetrics\Igor Pro 6 User Files\"
REM https://superuser.com/questions/253935/what-is-the-difference-between-symbolic-link-and-shortcut
if not exist %IPUF% (
REM WinXP
SET IPUF="C:\Program Files (x86)\WaveMetrics\Igor Pro Folder\"
)
if not exist %IPUF% (
echo ERROR: Igor-pro-user-files-folder not found
exit /B
)
REM === UNINSTALL ===
if [%1]==[-u] (
del /Q %SRCDIR%UserIgor\FPulse_
del /Q %IPUF%"Igor Extensions\"FP_Mc700Tg.xop
del /Q %IPUF%"Igor Extensions\"FPulseCed.xop
del /Q %IPUF%"Igor Help Files\"FPulse.ihf
del /Q %IPUF%"Igor Procedures\"FPulse.ipf
del /Q %IPUF%"User Procedures\"FPulse_
del /Q C:\windows\SysWOW64\Use1432.dll
del /Q C:\windows\SysWOW64\CFS32.dll
del /Q C:\windows\SysWOW64\AxMultiClampMsg.dll
exit /B
)
REM === COPYING THE FILES ===
copy %SRCDIR%UserIgor\XOP_Dll\Use1432.dll c:\windows\SysWOW64\
copy %SRCDIR%UserIgor\XOP_Dll\CFS32.dll c:\windows\SysWOW64\
copy %SRCDIR%UserIgor\XOP_Dll\AxMultiClampMsg.dll c:\windows\SysWOW64\
copy %SRCDIR%UserIgor\FPulse %SRCDIR%UserIgor\FPulse_
mkdir %SRCDIR%UserIgor\FPulse_\XOPs
copy %SRCDIR%UserIgor\XOP_Axon\FP_Mc700Tg\VC2015\FP_Mc700Tg.xop %SRCDIR%UserIgor\FPulse_\XOPs\
copy %SRCDIR%UserIgor\XOP_Ced\FPulseCed\VC2015\FPulseCed.xop %SRCDIR%UserIgor\FPulse_\XOPs\
REM === CREATING THE REQUIRED LINKS ===
mklink %IPUF%"Igor Extensions\"FP_Mc700Tg.xop %SRCDIR%"UserIgor\FPulse_\XOPs\FP_Mc700Tg.xop"
mklink %IPUF%"Igor Extensions\"FPulseCed.xop %SRCDIR%"UserIgor\FPulse_\XOPs\FPulseCed.xop"
mklink %IPUF%"Igor Help Files\"FPulse.ihf %SRCDIR%"UserIgor\FPulse_\FPulse.ihf"
mklink %IPUF%"Igor Procedures\"FPulse.ipf %SRCDIR%"UserIgor\FPulse_\FPulse.ipf"
mklink /D %IPUF%"User Procedures\"FPulse_ %SRCDIR%"UserIgor\FPulse_"
REM === START IgorPro ===
ECHO start Igor.exe
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment