Multichannel Systems nanoZ manual User Manual

Page 28

Advertising
background image

nanoZ User Manual

24

to avoid buffer overrun errors. Making it too large, however, will make the nanoZ
less responsive in impedance mode, and limit control of the plating duration. The
plating duration resolution is given by dividing the buffer_transfer_size value by the
sampling rate (fs_adc). For the recommended value of 64, the minimum plating
time/increment is approximately 6ms.

close

Closes an opened nanoZ device and releases system resources.

Usage: nanoz(‘close’, handle);

Arguments: handle – handle to an opened device returned by the open function.

Return values: none.

Remarks: User Matlab programs must close the device after they have finished
using it, to release system resources and allow other programs access. If a
program fails to close the device, it will stay open until Matlab finishes or until the
nanoz MEX file is unloaded.

To unload the MEX file, issue the Matlab command ‘clear nanoz’, which will
unload the MEX file, closing all open nanoZ devices.

getdeviceversion

Gets hardware and firmware version information from an open nanoZ device.

Usage: dev_ver_info = nanozm('getdeviceversion', handle).

Arguments: handle – handle to an active device returned by the open function.

Return value: dev_ver_info – a Matlab structure with the following fields:

hardware_version_id – nanoZ device version ID

hardware_version_str – nanoZ device model name (string)

firmware_version – a vector of two elements containing the major and

minor firmware revision numbers

firmware_version_str – the firmware version number (string)

Remarks: Firmware versions 1.13 and earlier do not have a feature to report their
version numbers and therefore they cannot be distinguished by this function. The
firmware_version_str field of the returned structure will contain "1.13 or earlier".

Advertising