Quantcast
Channel: Multifunction DAQ topics
Viewing all articles
Browse latest Browse all 6878

Using USB-6343 counter outputs

$
0
0

I am migrating a VB project from Windows XP to Windows 10.  As part of the change, we are upgrading our DAQ hardware from a DAQPad-6016 to a USB-6343.

 

The old code set up a pulse channel using the CTR0 output:

                daqPulseTask = New Task
                daqPulseTask.COChannels.CreatePulseChannelFrequency( _
                                    "daq1/ctr0", _
                                    "Time Sync Pulse", _
                                    COPulseFrequencyUnits.Hertz, _
                                    COPulseIdleState.Low, _
                                    localDelay, _
                                    localFreq, _
                                    localCycle)
                daqPulseTask.COChannels.All.PulseTerminal = "/daq1/Ctr0Out"

Does this need to change for the USB-6343?  I was told that this hardware does not have a dedicated CTRx output and the counter needs to be reassigned to another pin.  How would I set this up in the code?

 


Viewing all articles
Browse latest Browse all 6878

Trending Articles