Regarding READ_POINTER in Labview_DLL.dll

Post Reply
Tast
Posts: 5
Joined: Sat Dec 12, 2009 2:56 pm
Location: China

Regarding READ_POINTER in Labview_DLL.dll

Post by Tast »

To interface my own acquisition software directly with Labview_DLL.dll, I have seven steps to go. But I am confused with the fifth step, generate a file pointer.

Biosemi tells me that Call READ_POINTER to generate a file pointer. Inputs are "handle" (from step 1), and "pointer (0). Output is a "pointer". Use this parameter as a file pointer.

I can't understand the meaning of READ_POINTER with my limited knowlege. Is READ_POINTER used to read datas in ringbuffer?

Yours, Tast!

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »

READ_POINTER gives you the location in the ringbuffer where new incoming data is written. The acquisition program should use the outcome of READ_POINTER to know if new data is ready to be read from the buffer, and where this new data is located in the ringbuffer.

Best regards, Coen (BioSemi)

Tast
Posts: 5
Joined: Sat Dec 12, 2009 2:56 pm
Location: China

Post by Tast »

With your explanation, I have a better understanding of READ_POINTER.

Thanks, Coen.

maarcc2050
Posts: 27
Joined: Sun Jan 17, 2010 1:23 pm
Location: Brisbane

Post by maarcc2050 »

How about how much to read? Is it fixed or varies for each iteration? In either case, how and who decide how much to read?

Thank you.

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »


Post Reply