Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

using two counters independently

while i use counter 0 for frequency generation, i want to use the other counter of USB 6211 (counter 1) for generating a single pulse of say 10 mS synched to counter 0 as i have two counter channels.

i get an error message as mentioned in the block dia of the vi enclosed.

any suggestion!

thanks

m p sarma

0 Kudos
Message 1 of 2
(4,400 Views)

Hi,

    Possible cause:  There are several cases where this error can occur.  A common case is when the device is in use by another program/VI, or a previous DAQ task did not release the device resources.
Solutions:  Make sure you have freed the device for use by another program or task instance. For example, you might not have wired a stop condition to a DAQ Assistant Express VI configured for single point acquisition.

 

Since you want to synchronize two channels on DAQ check out the tutorial which will guide you to do the same:

http://zone.ni.com/devzone/cda/tut/p/id/3615

http://zone.ni.com/devzone/cda/tut/p/id/4322

 

Also refer the following forum posts:

http://forums.ni.com/ni/board/message?board.id=180&message.id=31479&requireLogin=False

http://forums.ni.com/ni/board/message?board.id=232&requireLogin=False&thread.id=2039

 

Kudos are welcome!

Shreyas Hebbare
Shreyas Technologies
India
0 Kudos
Message 2 of 2
(4,385 Views)