IviRFSigGen_WriteDigitalModulationBaseBitSequence

CVI/LabWindows IVI Class Driver

IviRFSigGen_WriteDigitalModulationBaseBitSequence

IviRFSigGenDigitalModulationBase Capability Group

C Function Prototype

ViStatus IviRFSigGen_WriteDigitalModulationBaseBitSequence (ViSession vi, ViConstString name, ViInt32 bitCount, ViConstString sequence, ViBoolean moreDataPending);

Purpose

This function creates a bit sequence for use as the digital modulation data. The sequence is repeated continuously. The sequence string consists of binary values (8 bit in 1 char/byte).

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 bit sequence to write.

Default Value: ""

bitCount ViInt32 Pass the number of bits in the sequence. One char/byte has 8 bits, but the stream of bits does not end necessarily on byte boundaries.

Default Value: 0

sequence ViConstString Pass the array the driver will use as a stream of bits. The size of the array is Bit Count.

Default Value: None

moreDataPending ViBoolean Set the value to VI_TRUE to write more data. To complete the sequence, 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)

Return Values