LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Which are the equivalent functions in Labview to DB-Transfer functions used in C

Which are the equivalents functions in LabView to
DB-Config functions
DB-Transfer functions
DB-HalfReady functions
used in C.
0 Kudos
Message 1 of 3
(2,616 Views)
Within LabVIEW the WFM_DB_Config will be replaced by the AO Config VI. The WFM_DB_Transfer and the WFM_HalfReady functions will be replaced by the AO Write VI.

I would suggest to look at a double-buffered analog output example written in LabVIEW to better understand how to program this type of application. The Generate Continuous Sinewave VI shipping example shows how to perform a circular-buffered operation. For a double-buffered operation, you would just continue to write data using the AO Write VI within the while loop. I've attached the shipping example if you have trouble finding it. I hope this helps.

Regards,

Todd D.
0 Kudos
Message 2 of 3
(2,616 Views)
I need make others activities at same time that I take out data, read encoders specify. This example is OK, but when I use a big data file, only I can take out data but I can't read encoders. Using the same example in the loop when I reload buffer always read all data file and I need read only the next 500 data (or 1000,for example), I need have control about the data tranfers to buffer. I want always read the encoders and reload the buffer only with the next 500 data (no all data, like in the example) when halfready is set using DMA transfer.
0 Kudos
Message 3 of 3
(2,616 Views)