08-04-2022 06:54 AM
I want to program Matlab function fread using Labview to be able to read binary files.
I want to program this lines:
fread(fileID,1,'double')
fread(fileID,1,'uint32')
fread(fileID,1,'int32')
fread(fileID,1,'single')
Please help
08-04-2022 07:39 AM
Use Read Binary File from the File I/O palette. Wire to "data type" a constant of the same type you want you read (i.e. a double, a U32 etc).
You can view and change a numeric constant type right clicking on the constant and selecting "Representation".
This is very basic LabVIEW code, so you may run through the tutorials and check some example vi (there is a Simple Binary File project file).