Search found 15 matches

by SE21733
Wed Apr 03, 2019 12:09 pm
Forum: MATLAB
Topic: Using MATLAB 2013a Win64
Replies: 1
Views: 36

Using MATLAB 2013a Win64

Hello Hitesh and everybody I'm trying to restart my PicoLog 1012 on Windows 7 using MATLAB 2013a (Win64) I have Windows SDK 7.1 installed and done mex -setup pretty much all the necessary files are in the same folder including the thunk file. so this is my code I'm try to run loadlibrary 'PL1000.dll...
by SE21733
Tue Jul 02, 2013 7:10 am
Forum: MATLAB
Topic: New library warning
Replies: 5
Views: 3873

Re: New library warning

ok, I'll try then
by SE21733
Mon Jun 24, 2013 5:55 am
Forum: MATLAB
Topic: New library warning
Replies: 5
Views: 3873

Re: New library warning

hello Hitesh, I saw inside the zip file of the new driver there is a x64 folder containing 2 library files. Is Picolog now support for Matlab 64bit version ?
by SE21733
Mon Jun 17, 2013 11:24 pm
Forum: MATLAB
Topic: New library warning
Replies: 5
Views: 3873

Re: New library warning

Oh silly me, I forgot about that :oops:
by SE21733
Mon Jun 17, 2013 2:36 am
Forum: MATLAB
Topic: New library warning
Replies: 5
Views: 3873

New library warning

Hello everybody (especially hitesh, since long time I haven't contact you) I notice a new version of sdk files PL1000sdk_r10_5_0_19 in the Picotech website I decided to give it a try. I copied all necessary file inside the sdk folder into my MATLAB directory (in simple, I just overwrite the old libr...
by SE21733
Wed Oct 17, 2012 12:54 pm
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

Thanks for the reply Hitesh. Indeed unloadlibrary solve the problem :) I figuring how to get the value from the the data logger and display in on command window in Matlab. what is the different between pl1000GetSingle and pl1000GetValue and why the latter does not have channel arguments. how to defi...
by SE21733
Tue Oct 16, 2012 12:15 am
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

Dear Hitesh

sorry for asking again

I got this warning

Warning: The library class 'PL1000' already exists. Use a classname alias.
> In loadlibrary at 181
In PicoLogMatlab at 5


what is it mean ?
by SE21733
Mon Oct 15, 2012 7:41 am
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

Ok nevermind...I've type again

libfunctionsview 'PL1000' with capital letter and the library pop up :D

thank you anyway...
by SE21733
Mon Oct 15, 2012 7:38 am
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

Typed at the command windown
>> libfunctionsview 'pl1000'

but now this error occured :(


Error using methodsview (line 100)
No library lib.pl1000 can be located or no methods for library

Error in libfunctionsview (line 39)
methodsview(qcls, 'libfunctionsview');


I wonder what's wrong ?
by SE21733
Fri Oct 12, 2012 12:40 am
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

Hello Hitesh, thank you so much for you assistant :) I've already done what you suggested by selecting 32-bit compiler and run again the program No error occur but I just got this warning Warning: Message from C preprocessor: lcc preprocessor warning: C:\Documents and Settings\Administrator\My Docum...
by SE21733
Thu Oct 11, 2012 1:30 pm
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

Hi SE21733, Our Windows drivers are currently only 32-bit hence they will not be compatible with a 64-bit version of MATLAB - you will need a 32-bit version of MATLAB. The loadlibrary line is a MATLAB command and so should be called either from your command line or m-file. Regards, I have 32-bit ve...
by SE21733
Thu Oct 11, 2012 1:26 am
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

Hitesh wrote:
The other thing you can try is:

Code: Select all

loadlibrary 'pl1000.dll' 'pl1000Api.h' -addheader 'picoStatus.h';
I'm sorry for asking this...where should we paste this code ? is it inside pl1000Api.h or inside the m-file ?
by SE21733
Thu Oct 11, 2012 1:11 am
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

I wrote #include picoStatus.h I tried #include "picoStatus.h" as well but it came to an error Error using loadlibrary (line 419) Failed to preprocess the input file. Output from preprocessor is:pl1000Api.h C:\Documents and Settings\Administrator\My Documents\MATLAB\pl1000Api.h(6) : fatal error C1189...
by SE21733
Wed Oct 10, 2012 1:25 am
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Re: Picolog 1012 with Matlab

Hello Hitesh, thank you so much replying Already setup the Mex and I have paste #include picoStatus inside pl1000Api.h. But now I got a new error :( Error using loadlibrary (line 419) Failed to preprocess the input file. Output from preprocessor is:pl1000Api.h C:\Documents and Settings\Administrator...
by SE21733
Tue Oct 09, 2012 1:34 am
Forum: MATLAB
Topic: Picolog 1012 with Matlab
Replies: 20
Views: 11990

Picolog 1012 with Matlab

Hello I just recently acquired Picolog 1012 and would like to interface it with MATLAB 2012a. I've followed the code provide by Hitesh in 'Writing MATLAB scripts using the PicoScope/Data Logger SDK' thread and here the code I wrote clc; clear; global data; loadlibrary('pl1000.dll','pl1000Api.h'); if...