National Instruments cFP-PG-522 Blood Pressure Monitor User Manual


 
FP-PG-522 and cFP-PG-522 8 ni.com
To calculate On Time and Off Time, divide the desired On or Off
Time for the pulse by the Resolution. For example, to generate a
pulse that is on for 3.5 s and off for 0.25 s using a 100 µs
Resolution, set the On Time to 35,000 and the Off Time to 2,500
(100 µs = 0.0001 s; On Time = 3.5/0.0001 = 35,000;
Off Time = 0.25/0.0001 = 2,500).
Channel Commands
Two commands can control operation of the [c]FP-PG-522 output
channels. These commands affect only a channel operating in
Finite Pulse mode. Commands sent to a channel operating in
Continuous Pulse mode have no effect.
The Control command supports two actions: Stop Immediately and
Stop After Current Pulse. Both of these actions can stop a finite
pulse train. Stop Immediately stops pulse generation immediately.
The channel goes into the idle state, and, if the output for the target
channel is on, it is turned off. Stop After Current Pulse ends the
current pulse train after the current pulse is finished.
The Generate Pulses command generates a pulse train consisting
of the number of pulses indicated by the command value. The
value of the Generate Pulses command can be any integer from
1 to 65,535. If a finite pulse train is already being generated when
the Generate Pulses command is sent, the new pulse train begins
after the current pulse and supersedes the current pulse train.
If actively generating a finite pulse train, the [c]FP-PG-522 can
store one pending command for each channel. The Control: Stop
Immediately action takes effect as soon as the command is
received. The Control: Stop After Current Pulse action and the
Generate Pulses command are deferred until the end of the current
pulse if a pulse train is being generated. When a command is
pending and a second command is received, the pending command
is discarded and the new command is executed instead.
Channel Data
The [c]FP-PG-522 has eight physical channels that you can use to
generate pulses. Each of these physical channels has two software
channels associated with it, so the FieldPoint software shows
16 channels. The first eight channels, 0–7, are the “main”
channels. These are the channels that you configure with your
desired pulse settings and that you send commands to in order to
use the module. The data for channels 0–7 are unsigned count