LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Jack1151

Improved on-line help

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

I was researching the best way to do continuous data acquisition and found the following article:

 

Acquiring Records Larger than Available Memory

NI High-Speed Digitizers Help

Edition Date: February 2013

Part Number: 370592V-01

»View Product Info

The standard use of continuous acquisition is to fetch a record that is larger than the available memory on the digitizer. Because the data is fetched as it is acquired, the digitizer memory can be overwritten. At slow sampling rates, you can fetch data forever by setting up an acquisition that is never triggered and is repeatedly fetching. At faster sampling rates, the host computer may not be able to fetch as fast as the digitizer samples data. If the data that is being fetched is overwritten, NI-SCOPE returns an error message from the Fetch function. Look at the Fetch in Chunks example to see how a waveform can be reconstructed with the data from multiple fetch calls. Look at the Fetch Forever example to benchmark how much data you can acquire at a given sampling rate before the data is overwritten.

To fetch a record that is larger than memory, set the Fetch Relative To attribute to Read Pointer. This positions the beginning of the fetch operation at the start of the record when you initiate a new acquisition. After every fetch, the read pointer is incremented to be the sample after the last sample retrieved. Therefore, you can repeatedly fetch relative to the read pointer, with a retrieval offset of zero, to acquire a single, infinite record.

If you specify a positive timeout with a Fetch function, it waits for the requested number of samples. Alternatively, specifying a timeout of zero acquires the number of samples currently available (up to a maximum of the numSamples parameter). The waveform info structure returns the actual number of samples fetched. Using a timeout of zero achieves slightly better performance because the status of the digitizer is queried less often.

A separate read pointer is stored for each channel, so you can alternate fetching different channels. The read pointer is also reset to zero when you fetch from a different record.

 

 

 

Your Feedback! poor Poor | Excellent excellent   Yes No
Document Quality?
Answered Your Question?
Add Comments 1 2 3 4 5

 

I had planned to simply note that providing a hot-link to the examples mentioned would be helpful. Instead, the Add Comments link sends me to a page that asks for new product ideas and then sends me to this forum after noting that NI does not accept new product ideas for LabVIEW. I think you should either remove the Add Comments link or else direct it to something that actually does what one would expect.

 

In general I find the help function in LabVIEW to be well organized and usually helpful. It is a shocking contrast that the on-line search function most often returns chaotic (in the mathematical sense) results and is often of no help at all. A confusing structure as noted above just makes the experience worse.

2 Comments
RavensFan
Knight of NI

I would consider this an error on the webpage if clicking the add comments link takes you to the Product Suggestion page.  I thought you used to be able to add comments to different knowledge base articles.  (I don't remember if they were filtered or not before they were posted.)

 

Obviously the link doesn't actually do what it tells you it will do.  If NI wants to take away the Add comments functionality, then it should be removed from the pages rather than taking you to the product suggestion page which they obviously don't want to use anymore since that then takes you to the Idea Exchange.

Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined.