Return to Function List

pi620_ReadWaveformFromFile


      ViStatus pi620_ReadWaveformFromFile (ViSession instrumentHandle,

                                           ViChar _VI_FAR fileName[],

                                           int waveformFieldSize,

                                           ViReal64 _VI_FAR waveform[],

                                           int *waveformLength);


  Purpose


      Reads arbitrary waveform from file


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

         


      fileName


          Variable Type       ViChar[]


          string containing path to file


      waveformFieldSize


          Variable Type       int


          size of the waveform field for safety reasons


      waveform


          Variable Type       ViReal64[]


          Arbitrary waveform with normalize values between 0 and 100%

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


      waveformLength


          Variable Type       int (passed by reference)


          length of the waveform



  Return Value


      Refer to Function Return Value page.