LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing files is not supported on this device (smart camera 1722)

Hi,
 
I have a smart camera NI 1722 and I want to save images that I aquire. I use the "IMAQ Write file 2.vi" and I always get this error: "Writing files is not supported on this device". 
 
Is the smartcam really doesn't support to write images in a folder? I've tried to change the path (on the smartcam and on our server) but I always get the same error.
 
I use LabVIEW Real-Time 8.5.1, LabVIEW 8.5.1, NI Vision 8.5 etc (all the lastest versions of LabVIEW).
 
Thank you for helping me,
 
Stephanie
0 Kudos
Message 1 of 9
(4,383 Views)

Hi again,

I don't know if I was clear enough (sorry for my bad english..), so I'll ask again.

Does anyone know how to save an image taken with a smart camera 1722? Is it possible to do this?

If it's possible, what is the VI you use and what the path looks like (is it inside the smartcam (in the ni-imaq folder or ni-rt folder or tmp folder) or on a network?)?

 

Thank you

Stephanie

0 Kudos
Message 2 of 9
(4,369 Views)
Stephanie,

You are correct. You cannot save images to the Smart Camera.

You can send images to other systems on your network. One work around is to flatten the image to a string and send it over TCP/IP. You can also use shared variables to do this over the network.

Does this make sense?
--Michelle

National Instruments
0 Kudos
Message 3 of 9
(4,355 Views)

Hello

 

If you already flattened the image, you can now save it on the hard disk of the smart camera.  To load the image, you will have to un-flatten with an image again.  See the attached document to see the block diagrams.

 

I did it for a template in a pattern matching program and worked!!!

 

Good Luck

 

 

Santiago Orellana V.

HighLights - National Instruments Ecuador
0 Kudos
Message 4 of 9
(4,268 Views)

Thank you Santiago, I'll try it later! 🙂

 

 

Stephanie

0 Kudos
Message 5 of 9
(4,260 Views)

Sorry, did't work as good as I would like!!!

 

It works only if you run the VI that saves the image, and without discarding the image you run the VI that reads the image.  That's because the output of the Type Cast is the NAME OF THE IMAGE, not the image itself.  The image must remain in the memory buffer in order to be recovered by the reading vi.

 

I'll keep trying.

 

sorry again

Santiago Orellana V.

HighLights - National Instruments Ecuador
0 Kudos
Message 6 of 9
(4,248 Views)

Hi Stephanie, could you tell me if you achieved to save the images acquired with your Smart Camera? I'm looking how to do this, but I don't find anything. I use the  "IMAQ Write File 2" VI and an error message says: Writing files is not supported on this device. But indeed I saw too that in the examples of LabView there is a VI with wich is possible to save an image. The name of the example is Snap and Save to File. Then I guess it's possible to save a sequence of images. What do you think about it? Or if anyone have any solution or tip, post it please. Thank you very much.

 

P.S. The "Snap and Save to File" VI did't work too. But in requeriments for that example is specified NI 17XX Series Smart Cameras.

 

Bebin

Impossible is nothing
0 Kudos
Message 7 of 9
(3,834 Views)

Hi Bebin,

 

I don't remember exactly what I did. I think it's not possible to save images into the 1722 smartcamera (not supported).

What I did is a remote panel with a viewer and save the image with a right-click....

 

Sorry, can't help you more than that

 

Stephanie

0 Kudos
Message 8 of 9
(3,831 Views)
Ok, anyway thank you very much Stephanie, I'll keep searching for any solution.
Impossible is nothing
0 Kudos
Message 9 of 9
(3,764 Views)