Hi,
I've got a problem using a PicoScope 3423 with Matlab. I use ps3000.dll with ps3000.h of the current SDK. My objective is to use the compatible streaming mode. So i followed the instructions:
ps3000_open_unit() -> Device is opened ( I can hear it and I can't use it with PicoScope Software anymore )
But already here starts the problem: The function returns a voidPtr as device handle. So I cant prove if a oscilloscope is found. But I can use this voidPtr as handle for my other functions. ( So I can close it for example)
I can use all functions of the instructions, I just can't read the Returns because I just get voidPtrs. But I don't get data while using ps3000_get_values and as long as I dont know if my Channel is set correctly or if streaming started running I don't know where my configuration issue could be. Is there a possibility to convert those voidPtr to a number or sth like this? (I tried "get( ... ,'value')" already) Please help me to solve this problem.
if not(libisloaded('ps3000'))
loadlibrary('ps3000','ps3000.h')
end
unitHandleTemp = 0
unitHandleTemp = calllib('ps3000', 'ps3000_open_unit')
Status = calllib('ps3000','ps3000_close_unit', unitHandleTemp)
(After running this code, my Status and unitHandleTemp looks like that: Status = libpointer)