Skip to content

Commit 398e994

Browse files
author
neil.hamilton
committed
Start Create function in picotech_ps6000a_generic.mdd
1 parent 6e1495a commit 398e994

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

picotech_ps6000a_generic.mdd

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
% You may copy and distribute this file as long as it remains unmodified.
2222
% SB
2323

24-
fprintf('PicoScope 6000Series (A API) MATLAB Instrument Driver');
24+
fprintf('PicoScope 6000 Series (A API) MATLAB Instrument Driver');
2525
fprintf('\n');
2626
fprintf('\nCopyright © 2020 Pico Technology Ltd. All rights reserved. \n')
2727
fprintf('\n');
@@ -46,10 +46,20 @@
4646
end</Code>
4747
</CreateInitCode>
4848
<ConnectInitCode>
49-
<Type>InstrumentCommand</Type>
49+
<Type>MCode</Type>
50+
<Code>function init(obj)
51+
% This function is called after the object is connected.
52+
% OBJ is the device object.
53+
% End of function definition - DO NOT EDIT
54+
</Code>
5055
</ConnectInitCode>
5156
<CleanupCode>
52-
<Type>InstrumentCommand</Type>
57+
<Type>MCode</Type>
58+
<Code>function cleanup(obj)
59+
% This function is called before the object is disconnected.
60+
% OBJ is the device object.
61+
% End of function definition - DO NOT EDIT
62+
</Code>
5363
</CleanupCode>
5464
<GroupInfo>
5565
<Group>

0 commit comments

Comments
 (0)