|
|
 |
|
 |
|
|
|
|
| [Power Tip] Software development driver 공개 |
| Posted on 2006/03/21 00:00 |
|
[Power Tip] Software development driver 공개
Software development driver (IVIUM_remdriver.dll) 파일 공개 !
IviumSoft 버전 1.1 이후 부터, 사용자가 직접 프로그래밍을 하여, 장치를 제어할 수 있습니다.
활용 예) - 기존 소프트웨어로 구현이 어려운 실험을 사용자가 직접 프로그래밍 하여, 고유한 실험 flow 가능 - 여러 장치를 연결하여 제어 가능 (펌프, 밸브, 모터, 센서 등) - 사용자가 원하는 방식으로 데이터 처리 가능
Software development driver: Control the instrument with your own software, apply process control and automation.
With IviumSoft version 1.1+, you can develop your own software to control the IviumStat and CompactStat instruments. Developing programs is easy, because IviumSoft will do all the hard work. The supplied driver will allow you to integrate the functionality in your own program. You can still use the convenience of the IviumSoft software, and program your specific tasks with a few program lines in the desired language: VB, Delphi, C, etc.
Advantages:
- Faster development of applications than programming from scratch. IviumSoft takes care of most overhead: communication, error handling, graphic plotting, datastorage etc. You may mix modes, for example first set the device in a desired state with IviumSoft, and let your own program take control from that point.
- More flexible than using a scripting language. You can use all the programming power of the higher programming language of your choice. It is possible to customize data processing, or react on specific results and events.
- Control multiple Ivium devices at the same time, and simultaneously control/read other types of devices: pumps, valves, thermostats, motors, sensors etc.
Method:
- Import the provided dll in your program: IVIUM_remdriver.dll
- Embed the control-functions in your software
- Start IviumSoft and your own program
|
Imported function |
description |
GENERAL |
|
|
IV_open |
Opens the driver |
|
IV_close |
Closes the driver |
|
IV_selectdevice(int) |
Select device, applicable for multi-device configurations, default=1 |
|
IV_getdevicestatus |
Returns status of device: -1=no IviumSoft; 0=not connected; 1=available_idle; 2=available_busy |
|
IV_readSN(*char) |
Returns serial number of selected device, empty string if not connected |
|
IV_connect(int) |
Connect to selected device, int=1 for connect, int=0 for disconnect |
DIRECT MODE |
|
|
IV_getcellstatus(int) |
Returns cell status: bit 2=I_ovl, bit 4 =Anin1_ovl, bit 5 = E_ovl, bit 7 = CellOff_button pressed |
|
IV_setconnectionmode(int) |
Select configuration, 0=off; 1=EStat4EL(default), 2=EStat2EL, 3=EstatDummy1, 4=EStatDummy2, 5=EstatDummy3, 6=EstatDummy4, 7=Istat4EL, 8=Istat2EL, 9=IstatDummy, 10=BiStat4EL, 11=BiStat2EL |
|
IV_setpotential(double) |
Set cell potential |
|
IV_setpotentialWE2(double) |
Set BiStat offset potential |
|
IV_setcurrent(double) |
Set cell current (galvanostatic mode) |
|
IV_getpotential(double) |
Returns measured potential |
|
IV_setcurrentrange(int) |
Set current range, 0=10A, 1=1A, etc, |
|
IV_setcurrentrangeWE2(int) |
Set current range for BiStat, 0=10mA, 1=1mA, etc, |
|
IV_getcurrent(double) |
Returns measured current |
|
IV_getcurrentWE2(double) |
Returns measured current from WE2 (bipotentiostat) |
|
IV_setfilter(int) |
Set filter, for int :0=1MHz, 1=100kHz, 2=10kHz, 3=1kHz, 4=10Hz |
|
IV_setstability(int) |
Set stability, for int 0=HighSpeed, 1=Standard, 2=HighStability |
|
IV_bistat_mode(int) |
Select mode for BiStat, for int 0=standard, 1=scanning |
|
IV_setdac(int,double) |
Set dac on external port, int=0 for dac1, int=1 for dac2 |
|
IV_getadc(int,double) |
Returns measured voltage on external ADC port, int=channelnr. 0-7 |
|
IV_setmuxchannel(int) |
Set channel of multiplexer, int=channelnr. starting from 0(default) |
|
IV_setdigout(int) |
Set digital lines on external port, int is bitmask |
|
IV_getdigin(int) |
Returns status of digital inputs from external port, int is bitmask |
|
IV_setfrequency(double) |
Set ac frequency, double in Hz |
|
IV_setamplitude(double) |
Set ac amplitude, double in Volt |
METHOD MODE |
|
|
IV_readmethod(*char) |
Loads method procedure from disk, with char as filename |
|
IV_savemethod(*char) |
Saves method procedure to disk, with char as filename |
|
IV_startmethod(*char) |
Start method procedure. If char is empty then presently loaded procedure is used, else the procedure is loaded from disk. |
|
IV_savedata(*char) |
Saves actual result data to disk, with char as filename |
|
IV_setmethodparameter(*char1,*char2) |
Modify method parameter, with char1=parameter_name, char2=new value |
|
IV_Ndatapoints(int) |
Returns actual available number of datapoints: indicates progress during a run |
|
IV_readdata(int,d1,d2,d3) |
Read datapoint with index int, returns 3 doubles (d1/d2/d3) that represent measured values depending on the used technique, for example LSV/CV methods return (E/I/0) Transient methods return (time/I,E/0), Impedance methods return (Z1,Z2,freq) etc. |
HS Technologies
2006/03/21 00:00
2006/03/21 00:00
|
|
|
|
|
|
|
|
|
|
|
TrackbackAddress |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
 |
|