The following Labview code:

enter image description here

does not receive any data from my USB Saitek X52 joystick. I am not able to figure out why.

Is there something I am missing?

有帮助吗?

解决方案

Some advice, move the 'Init Joystick' out the while loop, is there an error returned?
What input method have you used, does the read data return an error?

其他提示

Since I don't currently have a high enough reputation to comment on your original post, I'm having to ask for clarification here:

1) Attaching your LabView code as a VI snippet will allow others to properly see and edit your code. From the block diagram select the menu "Edit" --> "Create VI snippet from selection"

2) Does this joystick show up in the National Instruments Measurement & Automation Explorer (MAX) program? If not, you probably need to solve that problem first.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top