www.vtiinstruments.com
APPENDIX B
29
Figure 3-7: Sentiel Cards details in Device Manager
To connect to a digitizer card from the client source code, first declare its driver variable.
IVTEXDigitizerPtr digitizer(
__uuidof
(VTEXDigitizer));
Call the drivers Initialize function, which will open a connection to the card. This function expects
4 arguments. First is the connection string which is a combination of IP address and slot no in which
the card is plugged in. The name of this Resource string can be taken from the Resource column in
SFP page for that card. See the box in Red in the picture below. Here the Digitizer card is plugged
in
slot
no
3
of
system
with
IP
127.0.0.1
So
our
Resource
string
is
“
TCPIP::127.0.0.1::slot1_3::INSTR
” (
Note : When an embedded slot-0 PXIe controller is
used, the IP address by default becomes 127.0.0.1
). The 2
nd
and 3
rd
arguments are Query and Rest
values which are Boolean values respectively. The last is an optional string in which we can set our
own values if we don’t want to use the default values for certain parameters like timeout, Query
Instrument Status. By default always mention CACHE value as FALSE in this string.
Figure 3-8: SFP page