Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I open a I16 array in fortran?

I am writing images to a I16 binary files in LabVIEW. I would like to open them in fortran (MS Visual F90) as integer*2 for post processing, but can't seem to read them properly. Can anyone help with the open and read keywords?
0 Kudos
Message 1 of 3
(3,460 Views)
Hello,

Although this is a binary file created in LabVIEW, this seems more like a FORTRAN programming question. Since this forum is intended for problems specific to National Instruments software, you may be more likely to find the answers if you searched the web for FORTRAN resources.

Regards,
P.J.
National Instruments
0 Kudos
Message 2 of 3
(3,460 Views)
Thanks. The keywords, FORM='binary' and CONVERT='BIG_ENDIAN' in the OPEN statement seem to do the trick.
0 Kudos
Message 3 of 3
(3,460 Views)