Skip to content

Commit

Permalink
AD3552R: Add all the possible properties sets
Browse files Browse the repository at this point in the history
  • Loading branch information
StancaPop committed Jul 11, 2023
1 parent e52e2e7 commit b338c3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions +adi/+AD3552R/Base.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
end

properties
InputSourceSet = matlab.system.StringSet({'adc_input'})
OutputRangeSet = matlab.system.StringSet({'-10/+10V'})
InputSourceSet = matlab.system.StringSet({...
'adc_input', 'dma_input', 'ramp_input'})
OutputRangeSet = matlab.system.StringSet({...
'0/2.5V', '0/5V', '0/10V', '-5/+5V', '-10/+10V'})
end

methods
Expand Down
5 changes: 3 additions & 2 deletions +adi/+AD3552R/Tx.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
channel_names = {'voltage0', 'voltage1'};
end

properties
StreamStatusSet = matlab.system.StringSet({'stop_stream'})
propertiesi (Hidden, Constant)
StreamStatusSet = matlab.system.StringSet({ ...
'start_stream_synced', 'start_stream', 'stop_stream'})
end

methods
Expand Down

0 comments on commit b338c3b

Please sign in to comment.