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
cRIO get image method didn't work
Started by Ashokan Muthuraj, Feb 03 2012 08:55 AM
4 replies to this topic
#2
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.
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
Posted 03 February 2012 - 05:05 PM
Can you post the VI or snippet that's generating and saving the spectrogram?
#4
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.
#5
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.
Have you tried to build the path programmatically? I think you mispelled the path.













