Solution
C Series digital modules are categorized into two types based on their method of communication with the chassis backplane: Serial and Parallel. It’s important to note that any individual task using these modules can only use modules of one type or the other, not both.
Serial modules transfer Input or Output data serially between the chassis backplane and the module. From NI-DAQmx 9.3 onwards, serial modules can be used in buffered tasks for a single direction, either input or output. However, due to the serial transfer of data, these modules cannot be used to route timing or trigger signals.
On the other hand, Parallel modules transfer Input or Output data in parallel between the chassis backplane and the module. These modules can perform clocked digital tasks and have access to the PFI lines in the chassis that can be used to route timing and triggering signals.
Serial modules have certain restrictions:
- Parallel and serial modules cannot be used together in the same hardware-timed acquisition task.
- Serial modules cannot be used for triggers.
- A static task and a timed task cannot be used together at the same time on a single serial module.
- Hardware timing can only be used in one direction at a time on a bidirectional serial module.
To avoid errors, ensure that your code does not include both hardware-timed and software-timed tasks at the same time. By following this convention, you can eliminate errors. Also, adhere to the other three conventions to prevent additional errors.