Error using instrument/delete (line 82)
Operation failed: An error occurred while executing the driver disconnect code.
Library was not found
If this error is not an instrument error, use MIDEDIT to inspect the driver.
Error in icdevice (line 279)
delete(obj);
Error in PS3000a_IC_Generic_Driver_2buffers_Streaming_SimpleTrig (line 59)
ps3000a_obj = icdevice('PS3000a_IC_drv', 'AR911/031'); % Specify serial number as 2nd argument if required.
Have I missed a step out, or is there something else wrong?
-------------------------------------------------------------------------------------------------------
MATLAB Version: 8.0.0.783 (R2012b)
MATLAB License Number: 649021
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------------------------
Please ensure that the location of the PS3000a.dll and ps3000aWrap.dll files are on the MATLAB path - I believe this is what the 'Library was not found' error is referring to.
The other change you can make in the script is to change the following line:
Just an update to say that we now have 64-bit dlls in the SDKs for current product ranges.
64-bit wrapper dlls are provided in some of the SDKs. Remaining 64-bit dlls will be added in due course but source code is available to build these if they are not present.