ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time format in 'Write To Measurement File' express vi

Hi,

 

I'm using the 'Write To Measurement File' express vi to save data acquired using a PCI-6221 board and the DAQmx vi s. The acquisition is continuous.

When I set the 'number of samples per channel' property of the DAQmx Read.vi to -1 (ie, read all available samples), the time is saved in relative format. When I set any other value (ie a certain quantity of samples), the time is saved in absolute format.

 

Do you know why the vi does this, and if there's any way of controlling the time format ?

 

Thanks,

 

 

ps : I use Labview 8.0 

0 Kudos
Message 1 of 3
(2,984 Views)

Hi Scalpas,

 

I look into what I believe you are doing , but I didn't see the same results. Can you explain what datatype you are transferring to the Write to Measurement file VI? Or provide a sample of code that demonstrates the issue.

 

I think it might have to do with the DataType conversions when writing that file.

Sappster
0 Kudos
Message 2 of 3
(2,948 Views)

Hi,  

 

 The datatype is a waveform. However, I've upgraded to Laabview 8.5.1 and it seems to have solved the problem !

 

 

 

 

 

 

0 Kudos
Message 3 of 3
(2,894 Views)