LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Req any examples of how to use a USB midi controller/keyboards with Labview TIA

Req any examples of how to use a USB midi controller/keyboards with Labview TIA
0 Kudos
Message 1 of 2
(2,887 Views)
Hi,

To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.

As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.

Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
= "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_multimedia_...
is a link to the Windows multimedia functions that you could use for MIDI input.

Let me know if you have any further questions.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(2,887 Views)