LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while processing VISA signal through MatLab script

Solved!
Go to solution

Hello there,

 

I am trying to make a simple voltage aquisition from a VISA connected Multimeter, feed the voltage reading (it's an array, but I feed only the frist element for this example, just until i manage to make it work) and use a MatLab script with a build-in function to plot this voltage. I get an error, and I have no idea why... Can anyone help?

 

P.S. I know I can do this simply and easily all by LabView, however due to the specific class project, I need to do interfacing between LabView and MatLab.

 

Thank you all in advance!!!

 

Bests,


G.

Download All
0 Kudos
Message 1 of 3
(3,049 Views)

Hello,

error:Founction definitions are not permitted.

I advises you look over founction which you has defined in Matlab script.

 

 

0 Kudos
Message 2 of 3
(3,024 Views)
Solution
Accepted by topic author DocOc

Hey everyone, managed to fix it by myself. Apparently need to sit down and read the documentation about the MathLab script more thoroughly. The function I used was not recognized, I guess... or the MatLab server was not able to execute it. However, I simply removed the function, and the script recognized atomatically the values for the 4 variables of interest, fed from the LabView code.

0 Kudos
Message 3 of 3
(3,009 Views)