05-19-2021 01:33 AM
Hello
I am using the PXIe-6365 card which I would like to use to count edges. Therefore I setup in MAX a task ("CountEdges") for two channels. Each channel should count the edges on two independent inputs while the inputs are not read at the same time.
Now I get following error message in MAX when using the same counter (using PFI4 and PFI8):
on the other hand when using two counters (ctr0, ctr1) I still get an error message:
Is this not possible the have two channels in the same tasks? Of course I can use several tasks but then I am wondering why I have the option to use several channels here.
thanks
05-19-2021 06:32 AM
@Norick17 wrote:
Is this not possible the have two channels in the same tasks? Of course I can use several tasks but then I am wondering why I have the option to use several channels here.
As your error message states, you cannot have multiple counters in a task.
05-19-2021 06:44 AM - edited 05-19-2021 06:58 AM
this means only for "multiple counters"? It also does not work if I am using the same counter for instance "ctr0".
Second question: does it matter which PFI is used for the counters? I can not find anything stated in the manual.