Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating the duty cycle of the counter output with highest sampling rate using USB NI-6351

Hello all,

 

I'm trying to control fan using a counter output. I'm trying to update the duty cycle with the highest rate possible. I do understand that it's not possible to control the fan in real time since of the buffer and delay of the data caused by the USB connection. Therefore, I'm trying to set the the values of the desired duty cycles in an array and try to send them output them using DAQmx write. My problem is I don't know how to do that properly: what is the buffer size and how can I control the update rate of the counter. I'm trying to make the fan to follow a predetermined behavior.

 

 

 

0 Kudos
Message 1 of 2
(1,820 Views)

Under "Help-->Find Examples..." there's a shipping example for buffered counter output that your device should support.  I'm not at my LV machine now, but plan to navigate down through categories like "Hardware I/O", "DAQmx", "Counter Output".

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(1,800 Views)