code
Description
Specifies waveform code.
Syntax
Int32 code
Read
Gets the current waveform code.
Example
int wfCode;
wfCode = dsm.code;
Write
Sets new waveform code.
Example
dsm.code = 1;
Configurations
| Code | Description |
| 0 | Frequency ramps up from start frequency to stop frequency then goes back to start frequency. Frequency vs. Time graph resembles sawteeth. |
| 1 | Frequency ramps up from start frequency to stop frequency then ramps down. Frequency vs. Time graph resembles triangles. |
| 2 | Frequency ramps down from a higher frequency to a lower frequency then goes back to the original higher frequency. In other words, the reverse of wave code "0". |
Notes
For code "2" reverse chirping, chirp1 is still the start frequency and chirp2 is still the stop frequency. The difference between reverse chirping and normal chirping is that the start frequency will be greater than the stop frequency in reverse chirping.