From: Daniel Clarke on
Hi,
I wonder if somebody may be able to help.

I am trying to use the instrument control toolbox to remotely access a spectrum analyzer using a the 'visa' command.

I have installed the NI VISA drivers and am able to use their configuration tool to communicate with the Spec An.

However, when I try to use the command
>> 'visa('ni'' , 'resource')
it doesn't seem to work. The problem would appear to be that MATLAB cannot communicate with the NI visa dlls as when I use the command
>> instrwhinfo('visa')
the InstalledAdaptors returns a 1x0 cell array (i.e. it doesnt find anything).

I checked the adaptors directory and it does contain the mwnivisa.dll file (along with the mwnigpib.dll file, which instrwhinfo does find).

Does anyone have any ideas?

Thanks in advance.
Dan