Null reference exception & silent change of device type
Steps to Repro:
00 - Using AnalysIR version 18.104.22.16837
01 - Capture a signal from the LearnIR (v1 hardware, Rev. E board)
02 - Give the signal a name, here "A"
03 - Capture the same signal again; Note automatic name "A"
04 - Rename the second capture, here "B"
05 - Capture the same signal again; Note automatic name "B"
06 - Remove the name given to this third capture
07 - Capture the same signal again
A. Signal is captured again, no errors.
B. Name is left blank because that's the most recent match in history.
C. Capture Device remains as configured.
A. Signal is captured, but a "soft" modal error box appears
Code: Select all
AnalysIR - error reading from device Object reference not set to an instance of an object
C. After clicking "OK" to clear the error box, the source device silently changes from "LearnIR" to "Arduino" ... causing it to seem like there are other bugs until this oddity is noticed.