How to reduce the CSD2X scanning time duration for applications that are very responding time sensitive?
One solution is to manually scan the sensors with ScanSensor() routine instead of automatically scanning all sensors with ScanAllSensors(). For example, ten sensors scanning can be simply divided into 5 groups of 2-sensor scanning, so that 1 group of sensors is scanned in the main routine during the each call. This allows the main routine to be able to handle other time sensitive jobs, and the system can process the key trigger event until the fifth group is scanned, so that an event that more than 2 buttons are pressed can be detected. If the above method cannot meet the application requirements, designer can also try to increase the sensitivity of sensors, such as use larger area of sensor, higher reference to get smaller resolution and faster scanning speed setting. These two parameters are the critical factors to impact the scanning duration.
Related Questions
- Are there applications in VanS that will reduce the time required to find and access shipment folders and shipment documents?
- What is CIC doing to reduce the length of time it takes to process applications at Canadian visa offices?
- How to reduce the CSD2X scanning time duration for applications that are very responding time sensitive?