Hallo,
I have a PXI5112 digitizer card configured for MultiRecord aquisition.
I want to poll the card whether there are new aquisitions (this card must
detect transient phenomena, so there is no periodic trigger condition met)
I read the "RecordsDone" property of NIScope and if this value is !=0 I
branch into a routine that fetches all records (I set this with
"FetchNumberOfRecords" which I set equal to "RecordsDone")
Fetching is done with MultiFetch.
Up to this point it's working fine.
The problem is that the fetched records remain in the digitizers memory, so
when I query the "RecordsDone" after the MultiFetch, it still shows the
number of aquired records before the Multifetch.
Is there a way to restore this counter or to dele
te fetched records or how
can I manage that each polling cycle I fetch the records that have been
aquired since the last polling cycle?
I can't wait for an aquisition, since my application has other things to
poll in the meanwhile.
Also I don't want use MultiFetch without adjusting the
"FetchNumberOfRecords". In that case it returns always the number of
records I've set in the SetHorizontal.vi regardless of the data stored in
the records.
Thank you for your help!
Oliver Friedrich