Hello, II'm running into an error when I try to compile my program for the NXT. My ultimate goal is to get an array of a snapshot from a USB camera everytime the touch sensor is bumped.
To begin with, I am currently usng the 8.2 evaluation copy with MATLAB 7.0. The ability to take the snapshot is from the MATLAB script VFM (
http://www.isr.ist.utl.pt/~alex/Resources/vfm/).
So what I have done to test out just getting the picture to show up is create a infinite while loop, put in the touch sensor taking the "yes/no" boolean into a converter to get a 1 or 0, and feed it into an input of a MATLAB script node. The MATLAB code is then "if(x=1) vfm('grab', 1);"
Whenever I try to compile using the NXT terminal I get the error: ERROR: "An error occurred during parsing. Node was unable to be parsed. ((Class: ScriptNode) (VI: Untitled 3))"
Removing all the rest of the Labview components and just have a MATLAB scriptnode with "x=1;" I still get the error. And in an attempt to rule out everything else, I tried to compile when there was nothing in the MATLAB scriptnode...same error. Curious still, I tried to compile when I had a Xmath scriptnode and same error.