quanser.hardware.task Class
The quanser.hardware.task class provides methods for interacting with tasks associated with a data acquisition card. Tasks are created using the task creation functions of the quanser.hardware.hil class. Once a task is created, the methods of the task listed below may be used to interact with the task instance.
| 
                             Deletes the specified task.  | 
            |
| 
                             Flushes any remaining samples from the task's internal buffer to the outputs.  | 
            |
| 
                             Reads the specified number of samples from the task's internal buffer.  | 
            |
| 
                             Reads the specified number of analog samples from the task's internal buffer.  | 
            |
| 
                             Reads and writes the specified number of analog samples to the task's internal buffer.  | 
            |
| 
                             Reads the specified number of digital samples from the task's internal buffer.  | 
            |
| 
                             Reads and writes the specified number of digital samples to the task's internal buffer.  | 
            |
| 
                             Reads the specified number of encoder samples from the task's internal buffer.  | 
            |
| 
                             Reads the specified number of encoder samples and writes the specified number of PWM samples to the task's internal buffer.  | 
            |
| 
                             Reads the specified number of other samples from the task's internal buffer.  | 
            |
| 
                             Reads and writes the specified number of other samples to the task's internal buffer.  | 
            |
| 
                             Reads and writes the specified number of samples to the task's internal buffer.  | 
            |
| 
                             Sets the buffer overflow mode for a task.  | 
            |
| 
                             Starts a task.  | 
            |
| 
                             Stops the specified task.  | 
            |
| 
                             Writes the specified samples to the task's internal buffer.  | 
            |
| 
                             Writes the specified analog samples to the task's internal buffer.  | 
            |
| 
                             Writes the specified digital samples to the task's internal buffer.  | 
            |
| 
                             Writes the specified other samples to the task's internal buffer.  | 
            |
| 
                             Writes the specified PWM samples to the task's internal buffer.  | 
            
        
    
Copyright ©2025 Quanser Inc. This page was generated 2025-06-17. "
                Submit feedback to Quanser about this page.
Link to this page.