Jump to content


- - - - -

cRIO get image method didn't work


4 replies to this topic

#1 Ashokan Muthuraj

    One hit wonder!

  • Members
  • 1 posts
  • Version:LabVIEW 2011
  • Since:2009

Posted 03 February 2012 - 08:55 AM

Hi,
Am doing Ph.D in National Institute of Ocean Technology. I have to write a code in labview.

I have to generate a spectrogram and store spectrogram in the jpg file format in crio. The code works on my local PC. When I deploying the same in crio, it didn't work. It returns zero. Also I tried the paths like c:test.jpg or /c/test.jpg; both didn't work. We are using Labview 2011 full professional development system.

cRIO 9025
Chasis 9113
NI 9229

Thanks for the help.
ASAP.
Regards,
Ashokan

#2 Yair

    Extwemely Active

  • Members
  • PipPipPipPipPipPip
  • 2,496 posts
  • Version:LabVIEW 2009
  • Since:2003

Posted 03 February 2012 - 10:58 AM

I don't use LV real-time, but my understanding was that anything that has to do with the UI doesn't work in those targets.

You could try using the picture control VIs to generate the graph there (if they work in RT) or you could simply save the raw data and then transfer it to a computer.

#3 asbo

    The 500 club

  • V I Engineering, Inc.
  • 998 posts
  • Version:LabVIEW 2011
  • Since:2008

Posted 03 February 2012 - 05:05 PM

Can you post the VI or snippet that's generating and saving the spectrogram?

#4 crelf

    I'm a LAVA, not a fighter.

  • V I Engineering, Inc.
  • 5,535 posts
  • Version:LabVIEW 2011
  • Since:1993

Posted 03 February 2012 - 07:35 PM

Yeah, your cRIO VI probably doesn't have a local front panel, so it can't save an image of it. You could pass the data back to a VI on your host (Windows probably) and save the data there.
Posted Image

#5 Roderic

    Very Active

  • Members
  • PipPipPip
  • 87 posts
  • Version:LabVIEW 2009
  • Since:2008

Posted 04 February 2012 - 04:10 PM

It is my understanding that property nodes and some invoke nodes don't work on cRIO targets (most of them)

Have you tried to build the path programmatically? I think you mispelled the path.