New library warning

Post your MATLAB discussions here
Post Reply
SE21733
Newbie
Posts: 0
Joined: Fri Oct 05, 2012 12:42 am

New library warning

Post by SE21733 »

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 library files) and then run my program.

The program does work but not without warning below.

Code: Select all

In loadlibrary at 318
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: Warnings messages were produced while parsing.
Check the functions you intend to use for correctness.
Warning text can be viewed using:
 [notfound,warnings]=loadlibrary(...) 
> In loadlibrary at 344
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000OpenUnit does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000CloseUnit does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000GetUnitInfo does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000GetUnitInfo does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000SetDo does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000SetPulseWidth does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000Run does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000Ready does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000Stop does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000MaxValue does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000SetInterval does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000SetTrigger does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000GetValues does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000GetTriggerTimeOffsetNs does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000GetSingle does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000OpenUnitAsync does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6 
Warning: The data type 'error' used by function
pl1000OpenUnitProgress does not exist. 
> In loadlibrary at 403
  In PicoLogMatlabStreaming_2_Channels_Record_function at 6
Although it just a warning, somehow I feel uneasy about it. What actually cause it ?

Thanks and regards
Shapa

Hitesh

Re: New library warning

Post by Hitesh »

Hello Shapa,

The 'error' data type warning is a result of MATLAB not picking up the picoStatus.h file when you call loadlibrary.

In the pl1000Api.h file, enter the following line after the #define __PL1000API_H__ line:

Code: Select all

#include "picoStatus.h"
That should resolve the warning messages :D

Regards,

SE21733
Newbie
Posts: 0
Joined: Fri Oct 05, 2012 12:42 am

Re: New library warning

Post by SE21733 »

Oh silly me, I forgot about that :oops:

SE21733
Newbie
Posts: 0
Joined: Fri Oct 05, 2012 12:42 am

Re: New library warning

Post by SE21733 »

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 ?

Hitesh

Re: New library warning

Post by Hitesh »

Hi,

It should be possible to use the 64-bit dll with MATLAB 64-bit although we have not been able to test it here.

Thanks,

SE21733
Newbie
Posts: 0
Joined: Fri Oct 05, 2012 12:42 am

Re: New library warning

Post by SE21733 »

ok, I'll try then

Post Reply