IviRFSigGen_WriteArbWaveform
IviRFSigGenArbGenerator Capability Group
C Function Prototype
ViStatus IviRFSigGen_WriteArbWaveform (ViSession vi, ViConstString name, ViInt32 numberofSamples, ViReal64[] dataI, ViReal64[] dataQ, ViBoolean moreDataPending);
Purpose
This function stores the transmitted waveform in the drivers's or instrument's memory.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The ViSession handle that you obtain from the IviRFSigGen_init or IviRFSigGen_InitWithOptions function. The handle identifies a particular instrument session. Default Value: None |
name | ViConstString | Pass the name the waveform to write.
Default Value: "" |
numberofSamples | ViInt32 | Pass the number of samples in both I and Q array.
Default Value: 0 |
dataI | ViReal64[] | Pass the array containing the I part of the waveform.
You must normalize the data points in the array to be between -1.00 and +1.00 of the full I range. Default Value: None |
dataQ | ViReal64[] | Pass the array containing the Q part of the waveform.
You must normalize the data points in the array to be between -1.00 and +1.00 of the full Q range. Default Value: None |
moreDataPending | ViBoolean | Set the value to VI_TRUE to write more data. To complete the waveform, use the same Name for the next data. Set the value to VI_FALSE when there is no more data to write.
Valid Values: VI_FALSE - No more data VI_TRUE - More data Default Value: No more data (VI_FALSE) |