This example demostrates how you can use your PS2 Buzz Controllers on your computer, and control then from LabVIEW.
The LabVIEW-code is calling a DLL written by Holger Kuhn.
Youtube video that demostrates his DLL:
Also, you can find the source code for the DLL here:
Hawkears Page, Buzz source code
The LabVIEW Code
The DLL is imported in LabVIEW and 4 wrapper VIs are made:
- Open: Opens a connection to the USB Buzz Controllers.
- SetLEDs: Turn on or off the red LED.
- GetButtons: Returns which button has been pressed.
- Close: Closes the connection to the USB Buzz Controllers.
Enjoy! 🙂