Agilent Technologies FS2010 Guia do Utilizador Página 77

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 160
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 76
Programming with VISA 3
Agilent VISA User’s Guide 77
The event must have previously been enabled with
VI_QUEUE specified as the mechanism parameter.
Sample: Wait on Event for SRQ
This sample shows how to install a wait on event for service
requests.
viEnableEvent(vi, VI_EVENT_SERVICE_REQ,
VI_QUEUE, VI_NULL);
viWaitOnEvent(vi, VI_EVENT_SERVICE_REQ,
VI_TMO_INFINITE, &eventType, &event);
.
.
viDisableEvent(vi, VI_EVENT_SERVICE_REQ,
VI_QUEUE);
Every time a wait on event is invoked, an event context
object is created. Specifying VI_TMO_INFINITE in the
timeout parameter indicates that the program execution will
suspend indefinitely until the event occurs. To clear the
event queue for a specified event type, use the
viDiscardEvents function.
Sample: Trigger Event Queuing
This program enables the trigger event in a queuing mode.
When the viWaitOnEvent function is called, the program
will suspend operation until the trigger line is fired or the
timeout period is reached. Since the trigger lines were
already fired and the events were put into a queue, the
function will return and print the trigger line that fired.
This program is intended to show specific VISA functionality
and does not include error trapping. Error trapping,
however, is good programming practice and is recommended
in your VISA applications. See “Trapping Errors” in this
chapter for more information.
This sample program is installed on your system in the
ProgrammingSamples subdirectory. See the IO Libraries
Suite Online Help for locations of sample programs.
Vista de página 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 159 160

Comentários a estes Manuais

Sem comentários

Melissa 240-100 podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Odkurzacze Melissa 240-100.
Dostarczamy 1 pdf podręczników Melissa 240-100 do pobrania za darmo według typów dokumentów: Instrukcja Użytkownika


Melissa 240-100 Instrukcja Użytkownika (17 strony)


Marka: Melissa | Kategoria: Vacuums | Rozmiar: 0.28 MB |

    

Spis treści





Więcej produktów i instrukcji dla Odkurzacze Melissa

Modele Rodzaj dokumentu
640-139 Instrukcja Użytkownika      Melissa 640-139 User Manual, 34 strony
640-063 Instrukcja Użytkownika      Melissa 640-063 User Manual, 30 strony
640-040/051 Instrukcja Użytkownika      Melissa 640-040/051 User Manual, 27 strony
Vacuum Cleaner Instrukcja Użytkownika      Melissa Vacuum Cleaner User Manual, 27 strony
240-017 Instrukcja Użytkownika     Melissa 240-017 User Manual, 16 strony
640-045 Instrukcja Użytkownika      Melissa 640-045 User Manual, 29 strony
240110 Instrukcja Użytkownika   Melissa 240110 User Manual, 1 strony
640167 Instrukcja Użytkownika   Melissa 640167 User Manual, 1 strony
640-122 Instrukcja Użytkownika   Melissa 640-122 User Manual, 1 strony
240-006 Instrukcja Użytkownika     Melissa 240-006 User Manual, 18 strony
240-116 Instrukcja Użytkownika   Melissa 240-116 User Manual, 1 strony
640-070 Instrukcja Użytkownika      Melissa 640-070 User Manual, 27 strony
640-050 Instrukcja Użytkownika      Melissa 640-050 User Manual, 27 strony
640-064 Instrukcja Użytkownika     Melissa 640-064 User Manual, 24 strony
640-071 Instrukcja Użytkownika      Melissa 640-071 User Manual, 27 strony
640-059 Instrukcja Użytkownika      Melissa 640-059 User Manual, 27 strony
640-121 Instrukcja Użytkownika     Melissa 640-121 User Manual, 16 strony
240-003 Instrukcja Użytkownika      Melissa 240-003 User Manual, 36 strony
740-109 Instrukcja Użytkownika     Melissa 740-109 User Manual, 27 strony
640-206 Instrukcja Użytkownika     Melissa 640-206 User Manual, 16 strony