See the encoder data here - the top left table on the second page gives wire colours, it looks like your is the "PVC" type:
And Myrio data here - page 6 for the screw terminal connections:
Connect black (GND) to the DGND (terminal 19).
Connect red (+10 to 30V) to +15V (Terminal 1).
You then, with power on, need to carefully measure the voltage on the white or green relative to black as you very slowly turn the encoder.
If you ever get anything above 5V, you need to add a diode and resistor to each connection.
If you do not get any voltage readings, it should be OK to connect white (A) to 11 (Enc A) and green (B) to 13 (Enc B).
If there is any voltage, or you just want to be safe, connect a schottky diode in series with each of those connections with the cathode to the encoder.
Add 1K resistors from terminals 11 & 13 to terminal 20 (+5V).
The software configuration is up to you!