I am writing a program in C# that controls hardware with fixed channel connections to a PCIe-6323 card. on one of the channels, P0.3, I need to generate a pulse train of 50Hz frequency at 2ms per pulse. From what I understand I cannot route a counter to a non PFI channel, so is there a way to do this or am I stuck here? I've seen many examples using DigitalSingleChannelWriter with ConfigureSampleClock, indicating that timing can be attached to non-PFI channels, but I can find nothing about how to send pulses instead of bytes. the timing is not extremely critical, as long as I am getting 50 pulses of ~100ms cumulative duration per second I should be ok.
↧