Skip to content

readBlockData() sometimes times out after 200ms #28

@RonW144

Description

@RonW144

We have 7 analog input modules on our P1AM-100 system:
Power supply: P1-01AC on 120VAC
Shield: P1AM-SERIAL with nothing connected.
CPU: P1AM-100 with USB serial to a PC
Module 1: P1-04AD
Module 2: P1-04RTD
Modules 3-7: P104THM
Module 8: P1-08TRS (Relay outputs)

The following code usually works, but occasionally times out after 200ms. It does this even if we have nothing attached to any modules.

char buffer[112];
P1.readBlockData(buffer,112,0,ANALOG_IN_BLOCK);

This is with Arduino IDE 2.3.5 and P1AM 1.0.9.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions