©
National Instruments Corporation
D-1
D
Common Questions
This appendix addresses common questions you may have while using
your NI 2565 switch card.
What should I do if the software detects the board but the switches do
not switch?
•
Verify that the switches do not switch. Close your application program
and then launch the soft front panel as described in the Set up and Test
document you received with your kit. The soft front panel shows the
state of each relay on the board. Try closing and opening the switches.
•
Also be sure to check the return codes of the NI-SWITCH operation to
ensure that there are no errors (negative value) or warnings (positive
value). You can also use the NI-Spy utility to check for error codes.
•
Finally, verify that your code is correct. For reference, see the
examples described in the NI-SWITCH Software User Manual. The
NI-SWITCH driver also ships with several examples in source code.
Compare your algorithm to those in the examples.
What should I do if scanning does not work?
•
First, ensure that you have configured the switch card and the
instrument to match trigger lines. The output trigger of the instrument
should connect to the trigger input of the switch card. In addition, the
scanner advanced trigger of the switch card should be connected to the
input trigger of the instrument.
•
If the switch card is used to initiate the scan, make sure the DMM is
waiting for a trigger before enabling scanning on the switch card. This
is the recommended method for hardware scanning.
•
If the DMM is used to initiate the scan, enable scanning on the switch
card before configuring the DMM to start taking measurements.
•
Also be sure to check the return codes of the NI-SWITCH operation to
ensure that there are no errors (negative value) or warnings (positive
value). You can also use the NI-Spy utility to check for error codes.