Measurement-computing GPIB-488.2 Instrukcja Użytkownika Strona 35

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 64
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 34
GPIB 488.2 Porting Guide 986992 IOtech to Associated MCC APIs 3-17
IOtech GPIB Command Associated MCC GPIB 488.2 Command(s)
Local EnableLocal
IOtech GPIB Command Associated MCC GPIB 488.2 Command(s)
LocalList EnableLocal
Syntax
Local INT WINAPI Local(DevHandleT devHandle);
LocalList INT WINAPI LocalList(DevHandlePT devHandleList);
EnableLocal EnableLocal(int board, short addresslist[])
Usage Notes
Local is no longer to be used. When in the System Controller mode, the Local command was
used to unassert the Remote Enable (REN) line. This caused devices to return to manual
operation.
LocalList is no longer to be used. Used like Local, but for a list of devices.
EnableLocal is used to place specified devices in local mode, meaning that they can be
programmed from their local, on-device, controls. When this routine is executed, the Controller
addresses the specified GPIB devices as listeners and then sends the GPIB Go To Local (GTL)
command. To put all devices in local mode, use an array containing only the NOADDR value.
This unasserts the GPIB Remote Enable (REN) line, thereby placing all GPIB devices in local
mode.
The following example shows instruction to put the GPIB devices, at addresses 6 and 7
(connected to board 0), in local mode.
Example:
short addresslist[3] = {6,7,NOADDR};
EnableLocal(0, addresslist);
Przeglądanie stron 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 63 64

Komentarze do niniejszej Instrukcji

Brak uwag