Hi-
I was referred to post my question here in the DDK forum. I have LV7 and NI-DAQmx Base 2.0.0 on a MAC platform. There is no NI-DAQmx 8.0 (full version) for MAC so I am stuck with the Base. I am trying to setup a continuous AI-DMA task but having problems making sure the buffer doesnt overrun, underflow, etc. I was told this is a problem with Base, and it is obvious, there is no way (using the Base VIs) to query the state of the buffer so you can dynamically change the number of samples requested during each "read" so that the buffer doesnt empty or overfill. I am writting my own VI that is based on the lower-level VIs in Base. I've got it all working but I would like to get more information on what I am doing. I found some 'invoke' node looking block and have used it to start/stop the DMA transfer and it is working. However there are many options and I'd like to know where I can go and read about them. Note, I cant find this invoke node in any of my toolboxes, I only found it in the low-level VIs and have to copy/paste it to use it. The node needs a "hardware exec ref" and then provides several options. When I right click on it I get these options:
Set Write Caching
Flush Write Cache
DMA Config
DMA Start
DMA Read
DMA Write
DMA Stop
DMA Reset
DMA Swap Mode
I can play around with these (mainly start/read/stop/reset) but I would like actual documentation. There is no 'right click -> Help' and I have already experience some strange, non-obvious behavior so I really just need to read the documentation. Soo... where can I find information about this special "DMA" invoke node? I've attached some test code, just so it is easier to identify what I am looking at. The test VI doesnt have any of the task creation, timing, etc.. but you should need those to identify this node.
thanks-
brad