Hi Leroy:
You can connect the joystick leads to the analog input channels and then use any of the shipping examples to read in the incoming voltages. Remember you cannot exceed +-10V on this card.
Please refer to Figure 4-1 in the user manual for I/O Connector Pin Assignments.
6024E User Manual . Basically, you will use the analog input channels (0 - 15) to connect to the Joystick.
You will be using the Read functions to read the voltage being supplied to your DAQ card from the joystick. The AO_Write functions write to the analog output channels on the DAQ cards. Since you are reading from the DAQ Card, you will have to use the Read functions. Pleae look at the DAQsingleBufSync.c example l
ocated in the examples folder in CVI. It reads a waveform from one analog input channel using internal. The default install location for the examples is: C:\Program Files\National Instruments\CVI70\samples\daq.
I would recomend that you look at the examples to learn more about programming the DAQ Card. You should also search our knowledgeBases and Developer Zone documents that you can access through www.ni.com/support for more examples and tutorials.
Regards,
Bharat Sandhu
Applications Engineer
National Instruments.
Penny