10-18-2010 12:40 PM
I would like to automatically generate a frequency kernel to multiply with the FFT of my IMAQ image. I was wondering if there was a way for LabVIEW to automatically set up 2D arrays (with a lower bound, a step size and a higher bound) like what is done in MATLAB.
I was wondering also, if someone could give me some insight as to what restrictions I face, when uploading code from MATLAB script nodes into the Compact RiO (I have a cRiO-9025).
10-19-2010 10:10 PM
Hi bilanln,
I am a little los on what you are asking, would you mind explaining what do are trying to do?
Also it sounds like you are acquiring an image on the cRIO. How do you plan on doing this? IMAQdx? MoviMed? What size images are you wokring with?
10-20-2010 10:38 AM
I'll ask about the second one since that's more urgent at this point. I am using a PCI-1410 on the host computer to capture the image. Eventually we plan to use a BNC connection with the RiO to get our images.
Also, when I try to upload my code to the RiO, I get the following error:
I thought MATLAB Script Nodes are supported on the RiO if they don't use toolboxes. Can someone explain this?
10-20-2010 08:47 PM
Hi Bilaln,
I think you confused about a MATLAB script node and a Mathscript node.
A MATLAB script nodes uses ActiveX to call into MATLAB, where as a Mathscript node runs in a NI built environment. The MATLAB script node requires both that MATLAB be installed and the host supports ActiveX. Since cRIO does not do either, you should use the MATHSCRIPT RT module.