LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

limit to pulse width on E series board?

Does anyone know the limit on the 6036E series board for pulse width on the analog channel? I seem to only be able to be able to stably get about 1 ms. If I try a slightly faster rate, I'm able to get up to .5 ms pulse widths. Is there anyway to get something on the order of .05? I'm using windowsXP, CVI 7.1, with the newest drivers. I've threaded my program to give it priority, so I'm wondering if it's the limit of the board (which I'm pretty sure it's not), if it's because of the platform (which I thnk is a possibility, I would think there's a way around it), or if it's my coding (which could be probable =/). Any suggestions would be welcomed or knowledge of the limitations of my card.
0 Kudos
Message 1 of 2
(2,860 Views)
You may be near the actual limits of your hardware.

You must check the characteristics of your board, but since it's a low-cost card, it may be probable that it hasn't any internal output fifo buffer, that means that the speed of generation is limited by the system into which the board is installed.

Since this card has only one DMA channel, software architecture can influence the throughput of the system: according to hardware catalog, 6036E has an output update rate of 10 kS/sec only if the single DMA channel is dedicated to output generation, otherwise the update rate is limited to 1 kS/sec (please note that these rates are classified as "typical", so your actual system can be unable to reach them).

Now it's to you to decide how to assign resources to the single operations your application is doing: with Set_DAQ_Device_Info (1, ND_DATA_XFER_MODE_AO_GR1, ND_UP_TO_1_DMA_CHANNEL); you should be able to assign the dma channel to analog output (it may be necessary to execute previously Set_DAQ_Device_Info (1, ND_DATA_XFER_MODE_AI, ND_INTERRUPTS); to free the dma) being sure this way that AO generation is made at the maximum rate. In any case, it seems that 0.05 ms lies beyond your board capabilities since the maximum resolution is 0.1 ms in the best conditions.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,855 Views)