Skip to content

Commit 6b5eef0

Browse files
committed
Start with sine wave not sawtooth
1 parent f5302f6 commit 6b5eef0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

code/DAQmx_Scanners/waveformTester.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
DAQDevice = 'Dev1'
6767
sampleRate = 32E3 % The sample rate at which the board runs (Hz)
6868

69+
waveformType='sine' % Waveform shape. Valid values are: 'sine', 'sawtooth'
6970

7071
% These properties are specific to scanning
7172
galvoAmp = 3 % Scanner amplitude (defined as peak-to-peak/2)
@@ -83,13 +84,7 @@
8384
hAOTask % The AO task handle will be kept here
8485
AOChans = 0
8586

86-
waveformType='sawtooth' %can also be 'sawtooth'
87-
end % close properties block
88-
89-
90-
properties (Hidden,SetAccess=private)
9187
% These properties hold information relevant to the plot window
92-
% They are hidden as well as protected for neatness.
9388
hFig % The handle to the figure which shows the data is stored here
9489
hAxes % Handle for the main axes
9590
hAxesXY % Handle fo the plot of AI1 as a function of AI0

0 commit comments

Comments
 (0)