LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Read Properties Question

Solved!
Go to solution

Could someone explain the difference between these two DAQmx Read Properties: Logging.SampsPerFile and Loggging:FileWriteSize.

 

pict.png

 

I see the help, but an unsure of the different use cases between them, that is, at least for me, both functions specify how many samples to write to a file. Which one to use for what case?

 

The eight ball says Jeff B probably knows the answer. 🙂

 

Cheers,

mcduff

 

0 Kudos
Message 1 of 2
(2,306 Views)
Solution
Accepted by topic author mcduff

Bonus points for mcduff Smiley LOL

 

Samples per file automatically spans multiple files when the samples exceed the value in the current file.

 

File size just stops logging when the length is exceeded.  When you manually configure the buffer there are some considerations about this value.  It is a nice value to read while acquiring!  And you can use it to Start and pause acquisitions that run asynchronously to a control loop.

 

The DAQmx help explains it better Here and Here


"Should be" isn't "Is" -Jay
Message 2 of 2
(2,291 Views)