Hi,
i am trying to generate a pulstrain using a counter and redirect the output to different digital outputs.
In CVI i coud do this with:
nStatus = DAQmxSetChanAttribute (gTaskCountDO, "", DAQmx_CO_Pulse_Term, "PFI4", 0);
Could anybody tell me how to do this in C#?
On the default output it works:
myTask =
new Task();
myTask.COChannels.CreatePulseChannelFrequency(counterComboBox.Text,
"ContinuousPulseTrain", COPulseFrequencyUnits.Hertz, idleState, 0.0,100000, 0.5);
myTask.Timing.ConfigureImplicit(
SampleQuantityMode.ContinuousSamples, 1000);
myTask.Start();
Thanks,
Guido.