forked from MartinVogel/ALPTool
-
Notifications
You must be signed in to change notification settings - Fork 2
/
alpV1x32proto.m
44 lines (43 loc) · 4.58 KB
/
alpV1x32proto.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
function [methodinfo,structs,enuminfo,ThunkLibName]=alpV1x32proto
%ALPV1X32PROTO Create structures to define interfaces found in 'alp'.
%This function was generated by loadlibrary.m parser version 1.1.6.38 on Wed Feb 26 17:42:41 2014
%perl options:'alp.i -outfile=alpV1x32proto.m'
ival={cell(1,0)}; % change 0 to the actual number of functions to preallocate the data.
structs=[];enuminfo=[];fcnNum=1;
fcns=struct('name',ival,'calltype',ival,'LHS',ival,'RHS',ival,'alias',ival);
ThunkLibName=[];
% extern " C " long AlpDevAlloc ( long DeviceNum , long InitFlag , ALP_ID * DeviceIdPtr );
fcns.name{fcnNum}='AlpDevAlloc'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'long', 'long', 'ulongPtr'};fcnNum=fcnNum+1;
% extern " C " long AlpDevControl ( ALP_ID DeviceId , long ControlType , long ControlValue );
fcns.name{fcnNum}='AlpDevControl'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'long', 'long'};fcnNum=fcnNum+1;
% extern " C " long AlpDevInquire ( ALP_ID DeviceId , long InquireType , long * UserVarPtr );
fcns.name{fcnNum}='AlpDevInquire'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'long', 'longPtr'};fcnNum=fcnNum+1;
% extern " C " long AlpDevHalt ( ALP_ID DeviceId );
fcns.name{fcnNum}='AlpDevHalt'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong'};fcnNum=fcnNum+1;
% extern " C " long AlpDevFree ( ALP_ID DeviceId );
fcns.name{fcnNum}='AlpDevFree'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong'};fcnNum=fcnNum+1;
% extern " C " long AlpSeqAlloc ( ALP_ID DeviceId , long BitPlanes , long PicNum , ALP_ID * SequenceIdPtr );
fcns.name{fcnNum}='AlpSeqAlloc'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'long', 'long', 'ulongPtr'};fcnNum=fcnNum+1;
% extern " C " long AlpSeqControl ( ALP_ID DeviceId , ALP_ID SequenceId , long ControlType , long ControlValue );
fcns.name{fcnNum}='AlpSeqControl'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'ulong', 'long', 'long'};fcnNum=fcnNum+1;
% extern " C " long AlpSeqTiming ( ALP_ID DeviceId , ALP_ID SequenceId , long IlluminateTime , long PictureTime , long TriggerDelay , long TriggerPulseWidth , long VdDelay );
fcns.name{fcnNum}='AlpSeqTiming'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'ulong', 'long', 'long', 'long', 'long', 'long'};fcnNum=fcnNum+1;
% extern " C " long AlpSeqInquire ( ALP_ID DeviceId , ALP_ID SequenceId , long InquireType , long * UserVarPtr );
fcns.name{fcnNum}='AlpSeqInquire'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'ulong', 'long', 'longPtr'};fcnNum=fcnNum+1;
% extern " C " long AlpSeqPut ( ALP_ID DeviceId , ALP_ID SequenceId , long PicOffset , long PicLoad , void * UserArrayPtr );
fcns.name{fcnNum}='AlpSeqPut'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'ulong', 'long', 'long', 'voidPtr'};fcnNum=fcnNum+1;
% extern " C " long AlpSeqFree ( ALP_ID DeviceId , ALP_ID SequenceId );
fcns.name{fcnNum}='AlpSeqFree'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'ulong'};fcnNum=fcnNum+1;
% extern " C " long AlpProjControl ( ALP_ID DeviceId , long ControlType , long ControlValue );
fcns.name{fcnNum}='AlpProjControl'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'long', 'long'};fcnNum=fcnNum+1;
% extern " C " long AlpProjInquire ( ALP_ID DeviceId , long InquireType , long * UserVarPtr );
fcns.name{fcnNum}='AlpProjInquire'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'long', 'longPtr'};fcnNum=fcnNum+1;
% extern " C " long AlpProjStart ( ALP_ID DeviceId , ALP_ID SequenceId );
fcns.name{fcnNum}='AlpProjStart'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'ulong'};fcnNum=fcnNum+1;
% extern " C " long AlpProjStartCont ( ALP_ID DeviceId , ALP_ID SequenceId );
fcns.name{fcnNum}='AlpProjStartCont'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong', 'ulong'};fcnNum=fcnNum+1;
% extern " C " long AlpProjHalt ( ALP_ID DeviceId );
fcns.name{fcnNum}='AlpProjHalt'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong'};fcnNum=fcnNum+1;
% extern " C " long AlpProjWait ( ALP_ID DeviceId );
fcns.name{fcnNum}='AlpProjWait'; fcns.calltype{fcnNum}='cdecl'; fcns.LHS{fcnNum}='long'; fcns.RHS{fcnNum}={'ulong'};fcnNum=fcnNum+1;
methodinfo=fcns;