Return to Function List

pi620_LoadArbitraryWaveform


      ViStatus pi620_LoadArbitraryWaveform (ViSession instrumentHandle,

                                            ViUInt32 waveformLength,

                                            ViReal64 _VI_FAR waveform[]);


  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).



  Return Value


      Refer to Function Return Value page.