Create Multisite Digital Waveforms (TSM)

NI TestStand 2017 Semiconductor Module Code Module VIs Help

Edition Date: July 2018

Part Number: 373951H-01

»View Product Info
Download Help (Windows Only)

Requires: TSM

Creates multisite digital waveforms based on the pin map. Use the Single Waveform to All Sites instance when you want to write the same waveform for each site. Use the Per Site Waveforms instance when you want to write different waveforms for each site.

Use the pull-down menu to select an instance of this VI.

Single Waveform to All Sites

Creates an output array of one or multiple digital waveforms that you can download to NI-HSDIO instruments and that contain data properly organized for multiple sites according to the pin map. Use this VI when all sites require the same digital waveform. The order of signals in the Single Site Waveform parameter should match the order of the Pins parameter used in the Pin(s) to NI-HSDIO Session(s) VI instance that generated the pin query context.

CreateMultisiteDigitalWaveformFromSingleWaveformWithContext.vi

/images/reference/en-XX/help/373951H-01/c102.gif Pin Query Context is the pin query context object that tracks the sessions and channels associated with a pin query. TSM uses this object to publish measurements, extract data from a set of measurements, and create or rearrange waveforms. You create a pin query context object with a Pin(s) to NI-HSDIO Sessions VI.
/images/reference/en-XX/help/373951H-01/c47.gif Single Site Waveform specifies the digital waveform that contains the digital pattern for a single site. The signals in the digital waveform must be in the same order as the Pins parameter used in the Pin(s) to NI-HSDIO Session(s) VI instance that generated the pin query context.
/images/reference/en-XX/help/373951H-01/cerrcodeclst.gif error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out.
/images/reference/en-XX/help/373951H-01/i102.gif Pin Query Context Out returns the pin query context object unchanged.
/images/reference/en-XX/help/373951H-01/i1d47.gif Per Instrument Waveforms returns an array of digital waveforms in which each element is the waveform an NI-HSDIO instrument requires to generate the data in the Single Site Waveform parameter for all sites.
/images/reference/en-XX/help/373951H-01/ierrcodeclst.gif error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.

Per Site Waveforms

Creates an output array of one or multiple digital waveforms that you can download to NI-HSDIO instruments and that contain data properly organized for multiple sites according to the pin map. Use this VI when each site requires a different waveform. The order of signals in the Single Site Waveform parameter should match the order of the Pins parameter used in the Pin(s) to NI-HSDIO Session(s) VI instance that generated the pin query context.

CreateMultisiteDigitalWaveformFromMultipleWaveformsWithContext.vi

/images/reference/en-XX/help/373951H-01/c102.gif Pin Query Context is the pin query context object that tracks the sessions and channels associated with a pin query. TSM uses this object to publish measurements, extract data from a set of measurements, and create or rearrange waveforms. You create a pin query context object with a Pin(s) to NI-HSDIO Sessions VI.
/images/reference/en-XX/help/373951H-01/c1d47.gif Per Site Waveform specifies an array of digital waveforms in which each element is a waveform that corresponds to a site. The site order must correspond to the site order in Semiconductor Module context. Use the Get Site Numbers VI to obtain the site order. The signals in the digital waveform must be in the same order as the Pins parameter used in the Pin(s) to NI-HSDIO Session(s) VI instance that generated the pin query context. All waveforms in the array must have the same number of signals as the number of elements in the array.
/images/reference/en-XX/help/373951H-01/cerrcodeclst.gif error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out.
/images/reference/en-XX/help/373951H-01/i102.gif Pin Query Context Out returns the pin query context object unchanged.
/images/reference/en-XX/help/373951H-01/i1d47.gif Per Instrument Digital Data returns an array of digital waveforms in which each element is the waveform an NI-HSDIO instrument requires to generate the data in the Per Site Waveform parameter.
/images/reference/en-XX/help/373951H-01/ierrcodeclst.gif error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.

WAS THIS ARTICLE HELPFUL?

Not Helpful