10-05-2014 06:57 PM
Hi
I am facing problem with writing binary file as .raw file. I have attached my VI please let me know whether I am mistaking with creating and writing files. I will appreciate your help.
Thanks
10-05-2014 08:09 PM
Your actual writing of the file looks fine to me. If you wanted to make it a little simpler, you could actually not use the File Open and the File Close functions. You can wire the path straight into the Write Binary File and if you don't wire the file reference out, it will close the file. Were you having problems with something?
10-05-2014 08:37 PM
Thank you for your reply
I tried as per your suggestion but after writing its changing its size and written files are blank. I guess we have the follow with file open and close but I don't know how
10-05-2014 09:23 PM
Isn't the IMAQ purple wire a reference to image data rather than image data itself?
You are wiring the purple wire to the Binary Write rather than actual image data.
10-06-2014 06:40 AM
Wow, how did I miss the whole IMAQ stuff. Must have been way too distracted this weekend.
If you want to save your images, then you should look at the IMAQ Write File VI.