National Instruments NI PXI-5422 Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 63
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
NI PXI-5422 Calibration Procedure 20 ni.com
7. Call niFgen_SetAttributeViBoolean to enable the analog output
(niFgen property node: Basic Operation»Output Enabled) using
the following parameters:
vi: The session handle returned from
niFgen_init
channelName: "0"
attributeID: NIFGEN_ATTR_OUTPUT_ENABLED
value: VI_TRUE
8. Create an array of waveform samples for the positive full-scale DC
waveform. This array should contain 500 samples with each sample
having the value
1.0 (representation: double).
9. Call
niFgen_CreateArbWaveform (niFgen Create Arbitrary
Waveform VI) using the following parameters:
vi: The session handle returned from
niFgen_init
wfmSize: The size in samples (
500) of the waveform you created
in step 8
wfmData: The array of waveform samples that you created in
step 8
wfmHandle: The variable passed by reference through this
parameter receives the value (waveform handle) that identifies the
waveform created by this function (positive full-scale handle).
10. Create an array of waveform samples for the negative full-scale DC
waveform. This array should contain 500 samples with each sample
having the value
–1.0 (representation: double).
11. Call
niFgen_CreateArbWaveform (niFgen Create Arbitrary
Waveform VI) using the following parameters:
vi: The session handle returned from
niFgen_init
wfmSize: The size in samples (
500) of the waveform that you
created in step 10
wfmData: The array of waveform samples that you created in
step 10
wfmHandle: The variable passed by reference through this
parameter receives the value (waveform handle) that identifies the
waveform created by this function (negative full-scale handle).
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 62 63

Comentarios a estos manuales

Sin comentarios