LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

moving image

i get the following error: "LabVIEW:  Error occurred while executing script. Error message from server: . in Matlab Movie Test 2.vi". I am running Matlab 7.4.0 on Windows Vista Business edition...

0 Kudos
Message 11 of 19
(1,134 Views)
That's not the error number, but that's the exact same description of the error I get without Matlab installed on my PC.

DO you have Matlab installed on the PC, will it run the script, and what version of Matlab is installed on the PC?
0 Kudos
Message 12 of 19
(1,127 Views)
That's just the error message. The error cluster has a numerical "code" that's the error code. This is important to help diagnose the problem. Also, given that you're running Vista, are you running a version of LabVIEW compatible with Vista? The minimum version is 8.2.1.

However, given that the examples that ship with LabVIEW don't work, that means that the Matlab server interface is broken. This can sometimes happen when Mathworks release new versions of Matlab. Also, sometimes the ActiveX server for Matlab is not registered properly. Try running Matlab first (make sure LabVIEW is closed), keep Matlab open, then run the VI. Do you still get the error?
0 Kudos
Message 13 of 19
(1,123 Views)
One other thing to check: Are those functions actually available in Matlab 7.4? I just checked the Mathworks web site and "moviein" is no longer a valid function for 7.4. That's why I (and Matt) asked the question if the script actually works in Matlab.
0 Kudos
Message 14 of 19
(1,122 Views)
Hi,

Yes, the script runs in matlab---the moviein function was remove from later versions, but still works if implemented on previous versions. As I mentioned earlier, the mathscript that I've included works well in mathlab.

Thanks
0 Kudos
Message 15 of 19
(1,111 Views)
Thank you for all the help:

The error I get (running my script) is:  Error # 1050, "LabVIEW:  Error occurred while executing script. Error message from server: . in Matlab Movie Test 2.vi"

The error I get (running the labview examples) is: "Error 1050 occurred at LabVIEW:  Error occurred while executing script. Error message from server: . in MATLAB Script Node - Fractal.vi"

I've tried the following"

Closed all apps
Run matlab
the open LabVie

and no go. I am going to try the same task on an Windows XP machine---there might be a vista issue.

I'll let you know how that went. Again, thank you for all the elp
0 Kudos
Message 16 of 19
(1,103 Views)
it is a windows vista issue. i have ran the same scripts on a computer running xp professional and all went well. i suspect it might be a security issue with vista---a pain in the neck. i knew better not to upgrade to vista so soon 😞

if i find a way around the problem i will let you know. for now, thank you for the help


ermenegildo
0 Kudos
Message 17 of 19
(1,097 Views)
I was able to solve the problem (with help from a friend)...

Both LabView and Matlab need to be ran in administrator mode.... that is the simplicity of this problem.... more to come as I dive into the world of LabView...

Thank you!!!

Ermenegildo
0 Kudos
Message 18 of 19
(1,093 Views)
Glad to hear that you were able to pinpoint the problem. Vista, for all its hoopla, seems to be causing more headaches than XP did when it first rolled out, primarily due to its security implementations. NI needs to update its Knowledge Base to reflect this.
0 Kudos
Message 19 of 19
(1,080 Views)