I'm using the board PCI-6115, Labview and Matlab.
I have some questions related to that scaling of data. I'm using as
base of my program the example:'Cont Acq to File(binary)', present in
Ni Help. I acquire the data as i16(unscaled) and then read it in
Matlab using the low level I/O functions:
fin=fopen('data.bin','r','b')
data=fread(fin,[5000,4],'int16')
Everithing is ok, but the data is unscaled.How can I scale the data?
I tried to modify the program to write to the file scaled data, but
when I read it in Matlab, using the same procedure, I only get a
matrix with 0. Does anyone know what is the problem?
Thanks in advance