Hi Ex-jobb,
when you got the error about not being able to open two ports at the same time, I assume you passed the same interface or port alias (CANx) to the ncOpen VI?
Take a look at the attached example. Before you run it, make sure that the four CAN ports in your system have the names CAN0..3 (MAX » Devices and Interfaces » ...).
-B2k