Ashokan Muthuraj Posted February 3, 2012 Report Share Posted February 3, 2012 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 Quote Link to comment
Yair Posted February 3, 2012 Report Share Posted February 3, 2012 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. Quote Link to comment
asbo Posted February 3, 2012 Report Share Posted February 3, 2012 Can you post the VI or snippet that's generating and saving the spectrogram? Quote Link to comment
crelf Posted February 3, 2012 Report Share Posted February 3, 2012 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. Quote Link to comment
Roderic Posted February 4, 2012 Report Share Posted February 4, 2012 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.