LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[LabView 6] How to use the game port

Hi everybody !

Im a 21 year old french student and I m doing a internship right
now .
I have to create a software wich can be launch by activating a pedal .
This pedal will be connected to a pc gameport .
Before asking help there, I ve made some reserch on the web and i
founded that the adress of the gameport is 201h
Im using only a single pedal so I will just use one button port of the
gameport ... I dont need the analog part
I m novice in labview and i dont know how to read the adress ... It
seems that I ll have to use the function In Port but I really dont
know how its works

If someone can help me it will be nice .

0 Kudos
Message 1 of 2
(2,365 Views)

Have you looked for the functions under Connectivity/Input Device Control?  They have VI's there for Initialize Joystick,  Acquire Input Data, and Query input devices.

Look in Example Finder for Basic Input Demo.VI for examples on how to use them.

0 Kudos
Message 2 of 2
(2,355 Views)