From Thursday, May 23rd (05:00 PM CDT) through Friday, April 24th (1:30 AM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

crio

Hi,

 

I have to generate and store the jpg file 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

Ocean Acoustics,
National Institute of Ocean Technology,
Chennai, India - 600100.
0 Kudos
Message 1 of 3
(3,885 Views)

Hi Ashokan,

 

What do you mean by "it returns zero"?

Are you sure the functions you're using are available on the RTOS?

I would try first to "just" write a .txt files to distinguish if the error you encounter is path-related or jpg-related.

 

Have a good day,

Flo

0 Kudos
Message 2 of 3
(3,873 Views)

I rectified the error. Since cRIO didn't support strings to path vi, jpeg vi and png vi. It supports only bmp vi.

 

The file size of the bmp vi larger than of jpeg vi.

 

Also cRIO didn't support for zip file vi's.

 

What I have to do? Any alternatives....

 

Thanks & Regards,

Ashokan. M

-----------------------

Ocean Acoustics,
National Institute of Ocean Technology,
Chennai, India - 600100.
0 Kudos
Message 3 of 3
(3,869 Views)