nanoZ User Manual
28
number of samples returned by the getplatingdata function and stop plating when
the prescribed number of samples has been acquired.
If, for whatever reason, the user application crashes during electroplating the
nanoZ device will not be informed of it and will continue to supply electroplating
current to the target electrode. For this reason it is a good idea to encapsulate
electroplating sections of the Matlab code in try/catch clauses, in order to ensure
that electroplating is stopped in all cases, even if an error occurs. The most
reliable way to stop electroplating without generating further errors is to execute a
clear nanoz Matlab statement.
getplatingdata
Retrieves electroplating voltage feedback data.
Usage: voltage = nanoz(‘getplatingdata’, handle);
Arguments: handle – handle to an opened device returned by the open function.
Return value: voltage – a vector of voltage values measured across the target
electrode during electroplating. Units are in volts.
Remarks: During electroplating the nanoZ monitors the voltage on the target
channel. This voltage is sampled at the frequency that is returned by the
getwaveformcaps function.
This function returns all samples that have been collected since electroplating
was started, or from the time this function was previously called. It may be an
empty matrix if no new values were acquired.
The user application should call this function every ~30ms or a data overrun may
result. The total number of samples returned by this function since electroplating
was started can be used to determine the exact electroplating duration.
Values returned by this function take into account device calibration, and have
units of volts.
stop
Stops impedance metering or electroplating.
Usage: nanoz(‘stop’, handle);
Arguments: handle – handle to an opened device returned by the open function.
Return value: none.
Komentáře k této Příručce