Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Simulink error

Hello,

 

I want to use Mathlab - Simulink to run my GPIP Power Supply a voltage profile.

 

I get access to the instrument from the NI Measurement & Automation Explorer, so that I would assume that my GPIP card is working proper.

 

I have written a short Simulink Module:

 

FROM WORKSPACE ====> TO INSTRUMENT

 

The content of the Workspace is a table with two dimensions (time and voltage)

 

From the SIMULINK Library, I have chosen the INSTRUMENT CONTROL TOOL and than the TOOL "TO INSTRUMENT".

 

I have set everything proper, the address of the GPIP CARD eg. If I run the simulation, I get the error code:

 

Error reported by S-function 'SendInstrument' in 'NewVoltageModel/To Instrument':
Error using Toolbox.  View the MATLAB command line for details. 

 

Did somebody have an idea what I have done wrong?

 

Thanks for your help and support!

 

 

Mike

0 Kudos
Message 1 of 1
(3,493 Views)