James Ochoncar Forbes, 17th Lord Forbes (1765-1843)/sensor