Invalid RSRCNAME specified. Type 'instrhelp visa' for more information.
Show older comments
hello
I am trying to program RIGOL DG1022z using matlab2018a. I am using GPIB/USB connection for this using NI driver
I have attached the relevant portion of the code
------------------------------------------------------------
The error am getting is :
dg1022z = visa('ni','USB0::Ox1AB1::DG1ZA192101792::INSTR');
fopen(dg1022z);
fprintf(dg1022z,':SOURce1:APPLy?');
query_CH1= fscanf(dg1022z);
fclosd(dg1022z);
display(query_CH1)
Error using : visa (line 222)
Invalid RSRCNAME specified. Type 'instrhelp visa' for more information.
Error in gpib_test : DG1022z_Demo_MATLAB (line 1)
dg1022z = visa('ni','USB0::Ox1AB1::DG1ZA192101792::INSTR');
How can I fix it?
Answers (0)
Categories
Find more on Phased Array System Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!