From b338c3bca847d723e5cee5d50d7059311271de32 Mon Sep 17 00:00:00 2001 From: Stanca Pop Date: Tue, 11 Jul 2023 11:52:08 +0300 Subject: [PATCH] AD3552R: Add all the possible properties sets --- +adi/+AD3552R/Base.m | 6 ++++-- +adi/+AD3552R/Tx.m | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/+adi/+AD3552R/Base.m b/+adi/+AD3552R/Base.m index 464cfd4..a561bcc 100755 --- a/+adi/+AD3552R/Base.m +++ b/+adi/+AD3552R/Base.m @@ -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 diff --git a/+adi/+AD3552R/Tx.m b/+adi/+AD3552R/Tx.m index 61518be..28e0403 100755 --- a/+adi/+AD3552R/Tx.m +++ b/+adi/+AD3552R/Tx.m @@ -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