![Spectrum M2i.3010 Скачать руководство пользователя страница 157](http://html.mh-extra.com/html/spectrum/m2i-3010/m2i-3010_hardware-manual_1344389157.webp)
Option Remote Server
Accessing remote cards
(c) Spectrum GmbH
157
Accessing remote cards
To detect remote card(s) from the client PC, start the Spectrum Control Center on the client and click "Netbox Discovery". All discovered cards
will be listed under the "Remote" node.
Using remote cards instead of using local ones is as easy as using a digitizerNETBOX and only requires a few lines of code to be changed
compared to using local cards.
Instead of opening two locally installed cards like this:
one would call spcm_hOpen() with a VISA string as a parameter instead:
to open cards on the Remote Server PC with the IP address 192.168.1.2. The driver will take care of all the network communication.
hDrv0 = spcm_hOpen ("/dev/spcm0"); // open local card spcm0
hDrv1 = spcm_hOpen ("/dev/spcm1"); // open local card spcm1
hDrv0 = spcm_hOpen ("TCPIP::192.168.1.2::inst0::INSTR"); // open card spcm0 on a Remote Server PC
hDrv1 = spcm_hOpen ("TCPIP::192.168.1.2::inst1::INSTR"); // open card spcm1 on a Remote Server PC