LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to process the static image in the NI-cRIO-9039 RT processor?

Dear all,

 

I want to process the static image in a cRIO-9039 RT (real-time) processor, Initially, I created a VI program in the My computer (LabVIEW), it was reading and displaying an image. Now I am creating the same VI program in the LabVIEW cRIO RT processor, it was not processing an image. Hereby attaching the VI folder, Anyone can guide me if I am doing wrong in the program.

 

Thanks and regards

Sukumar

 

Capture.JPG

0 Kudos
Message 1 of 7
(3,333 Views)

Open MAX.  Open your Remote Processor in MAX.  Expand the Software tab.  Does it show IMAQ and IMAQdx?  If you want to run Image Processing on a Remote Processor, you need the Image Drivers.

 

Bob Schor

0 Kudos
Message 2 of 7
(3,300 Views)

Thank you for your response.

Yes, it shows the IMAQ and IMAQdx. Earlier I have used a NI IMAQdx palette for real-time image acquisition, it displays a real-time image on the front panel. Presently, I am trying to read an image from a particular file location, I want to deploy the image in a NI cRIO RT processor for processing, but the image was not showing on the front panel and also there is no error while running the deployment process. In the previous post, I have attached the corresponding VI programs.

 

Thanks and regards

Sukumar

 

0 Kudos
Message 3 of 7
(3,284 Views)

I've never tried processing images on a RIO.  I can tell you that if I place your VI and your Image on my PC's desktop (and change the File control to point to the Image), when I run the code, I get a Country Road.  So the code works, but not on your cRIO.  I don't have anything to test this with, but this suggests that the problem might be Software/Drivers.  Your attached Project was missing a VI, Static_Image_Display, but that shouldn't matter.

 

Another thing -- where is Drive F: (where the Image is located)?

 

Bob Schor

0 Kudos
Message 4 of 7
(3,271 Views)

Okay,

Drive F is on my computer,  the image file location is present there. 

 

Thanks and regards

Sukumar

0 Kudos
Message 5 of 7
(3,237 Views)

As I mentioned, I've never tried to do Image Processing from a cRIO.  I did verify that I could easily run your Forum VI from my PC.  If the file is on the PC, and you have LabVIEW on the PC, have you considered running the Image Analysis from the PC?  There doesn't seem to be much more in your Project to suggest the need for the cRIO.

 

Bob Schor

0 Kudos
Message 6 of 7
(3,232 Views)

@NAGINENI wrote:

Okay,

Drive F is on my computer,  the image file location is present there. 

 

Thanks and regards

Sukumar


If drive F is on your PC, you can't get to that from your cRIO.  Your cRIO is looking for a folder called F on its file system.

 

You need to move the file to your cRIO.

0 Kudos
Message 7 of 7
(3,221 Views)