Return to Function List

pi620_LoadArbitraryWaveformEx


      ViStatus pi620_LoadArbitraryWaveformEx (ViSession instrumentHandle,

                                              ViUInt32 waveformLength,

                                              ViReal64 _VI_FAR waveform[],

                                              ViReal64 repetitionRate);


  Purpose


      Load the instrument memory with an arbitrary waveform.


  Parameter List


      instrumentHandle


          Variable Type       ViSession


          The ViSession handle that you obtain from the pi620_init function.

          The handle identifies a particular instrument session.

         

          Default Value:  None

         


      waveformLength


          Variable Type       ViUInt32


          Size of the waveform. Should be a power of 2. Maximum size is

          determined by the current value of counterstep: 256k/counterstep.


      waveform


          Variable Type       ViReal64[]


          Arbitrary waveform with normalize values between 0 and 100%

          (100% = maximum dac code, 0% = minimum dac code).


      repetitionRate


          Variable Type       ViReal64


          Repetition rate of the waveform. This value in kHz defines how fast

          whole waveform will be generated on output.



  Return Value


      Refer to Function Return Value page.