The USB-MIDI adapter cable you show is a digital device, It can not be tested in any way with a simple battery and ground multi-meter. As a matter of fact, doing so runs the risk of completely destroying an otherwise good device. It needs to be tested digitally. The best digital tester you have, at the moment, is your computer. If you connect the cable to your computer, and it does not show up under either "
Sound, video, and game controllers" or "
Universal Serial Bus controllers" in
Windows Device Manager, then it is not connecting, which could indicate a defective adapter cable. If it is showing up in
Device Manager, then it is connecting.
For additional testing, I recommend downloading and installing a free testing utility known as
MIDI-OX, available from
www.midiox.com.
MIDI-OX shows realtime flow of MIDI data through your connection, and is invaluable in isolating problems with your MIDI software (MIDI file player, etc). Like
Windows Device Manager,
MIDI-OX will also show if the adapter cable is actually connecting. If
Windows Device Manager and
MIDI-OX show the adapter cable connected, but
MIDI-OX shows no MIDI data flowing, this usually indicates that your MIDI software (MIDI file player, etc) has not been properly configured. This usually involves nothing more than going into your MIDI software's
Settings menu and selecting the adapter cable as its
MIDI Output Device.
Now, all of this said, the low priced MIDI-USB adapter cables, of the type you show, are notorius for causing the exact problems you describe, particularly with Windows 8 and 10. At one time, if you spent at least $15 USD, you were fairly well assured of getting a working unit, but of late, the cheap, non-working knock-offs are showing up in the $20 to $25 range. Some, when opened, have missing parts. So, you are best sticking with the name-brand units (Yamaha, Roland/Edirol, M-Audio, etc) up around $40 or more.
If the 5-pin connectors on the adapter cable are labeled correctly, then they are labeled for what they ARE and NOT for what they connect to on the keyboard. The adapter cable is a MIDI device. The MIDI Spec requires the output connection of any MIDI device to be labeled MIDI OUT and the input to be labeled MIDI IN. So, on the adapter cable MIDI OUT is an output. It needs to connect to MIDI IN on the keyboard. MIDI IN on the adapter cable is an input, so it needs to connect to MIDI OUT on the keyboard, but the problem is, many of these low priced adapter cables have the labels reversed, so once you get yours to connect to Windows, if data is still not flowing, try reversing the 5-pin connectors to the keyboard. These connections are opto-isolated, so there is no chance of shorting anything out, if they are reversed. As a matter of fact, the opto-isolators are exactly why you do not want to test with a multi-meter. If the multi-meter applies reverse battery to an opto-isolator, the opto-isolator will be destroyed immediately, and that connection will no longer work.