Clear Filters
Clear Filters

How do I record commands of an icdevice object (similar to record(d) for a gpib device)?

1 view (last 30 days)
I can get this to work as expected:
[tt is created as a gpib() device]
tt.RecordDetail = 'verbose';
tt.RecordName = "turntableGPIB.txt";
tt.RecordMode = 'index';
record(tt);
what is the equivalent for an icdevice? I'd like to log all the commands (commands and responses) from devices:
full_addr = 'USB0::0x0AAD::0x0057::0102102::INSTR'
cmw_base = icdevice('rscmw.mdd', full_addr);
cmw_bt = icdevice('rscmwbtm.mdd', full_addr);

Answers (0)

Categories

Find more on Instrument Connection and Communication in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!