Method SendCustomWaveform
SendCustomWaveform(CustomTrainId, double, double[])
Sends a sequence of voltages describing a train of continuous monophasic pulses, with periodic onset times.
public void SendCustomWaveform(CustomTrainId id, double samplingPeriod, double[] pulseVoltages)
Parameters
idCustomTrainIdThe identity of the custom pulse train to program.
samplingPerioddoubleThe width of all pulses in the train in the range [0.0001, 3600] seconds. Pulses are continuous.
pulseVoltagesdouble[]The array of pulse voltages, with one voltage per pulse.
Exceptions
- ArgumentOutOfRangeException
samplingPeriodis outside the range [0.0001, 3600] seconds.-or- The maximum length of 1,000 pulses has been exceeded.- ArgumentNullException
pulseVoltagesis null.