LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ FFT multiplication and MATLAB Script Nodes/Compact Rio

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).

 

0 Kudos
Message 1 of 4
(2,672 Views)

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?

 

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 2 of 4
(2,650 Views)

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:

 

Script Node: Node not supported on current target

 

I thought MATLAB Script Nodes are supported on the RiO if they don't use toolboxes. Can someone explain this?

0 Kudos
Message 3 of 4
(2,637 Views)

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.

 

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 4 of 4
(2,621 Views)