Applies To:
  • CitectSCADA 1.00, 1.01, 1.10, 1.11, 1.20, 2.00, 2.01

Question: I am getting the runtime error 'Bad data/unit 42 type' on the I/O Server. What causes this error? 

This error is generated when a request to a protocol driver is for a unit data type that does not exist. This may occur if you have passed a bad unitType to the function PointNew(), or there is some problem with the protocol driver. Check your calls to PointNew() for correct unit types.

If you are not using PointNew(), or cannot find the bad address, the problem could be in the protocol driver. In this case contact Citect Support for more help.