LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DIAdem File Write (DAT) with channel of different lenght

Hi,
I'm trying to write in a DIAdem DAT File some channels with different lenght but I've got the error:
"File Write Error:Number of channel does not match existing file"

About you is impossible to do it ?

I post my example code

Thanks a lot
0 Kudos
Message 1 of 3
(2,556 Views)

Hi Michele

Yest, it is possible and you did quite in the right way. The reason why you receive that error code is because you set DIAdem File Write»file mode? terminal to TRUE instead of FAULSE.

According to the specific VI Help File you shell use it configured as TRUE only if your data array is a waveform type:

file mode? (block mode:F) Data is stored in block mode if FALSE, or channel mode if TRUE. Channel mode can only be used if the data is passed in the waveform array input.

Hope this suggestion can help you.

Have a nice day!

Ale

0 Kudos
Message 2 of 3
(2,502 Views)
Hi Drudoster,
thanks for the answer but in my example  the TRUE is connected to  "append to file?" option.
"file mode" is unwired so get the default value (block mode:F).

If your code works can you append it. Thanks.

Michele
0 Kudos
Message 3 of 3
(2,470 Views)