After doing some digging and comparing the iMac and the MacBook pro I fund an FTDI driver in extensions folder on the iMac. I removed this file and then reset the computer with the analog discovery 2 disconnected. Turned the computer back on and then connected the discovery 2 and started the waveforms software. Finely after to many years the device is being seen and is is working.