Create Multisite Data for Analog Output (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

Accepts per site/pin data and returns data for all channels in the task. Use this data with the DAQmx Write VI. You must manually select the polymorphic instance you want to use. Select the single pin or multiple pins polymorphic instance based on the number of pins the test is designed to test. Select the single data to all sites or per site data polymorphic instance based on the data being passed to the VI. If data exists for each pin but not for each site, use the single data to all sites polymorphic instances. If data exists for each pin and for each site, use the per site data polymorphic instances.

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

DAQmx Single Data To All Sites (1 Pin)

Accepts data for the pin and returns data for all channels in the task. Use this data with the DAQmx Write VI.

SingleDataToAllSites(1Pin).vi

/images/reference/en-XX/help/373951H-01/c102.gif Pin Query Context is the pin query context a pin query returns.
/images/reference/en-XX/help/373951H-01/c1ddbl.gif Pin Data specifies data for the pin in a pin query.
/images/reference/en-XX/help/373951H-01/cdbl.gif Idle Value specifies the data value to use for channels in the task that are not connected to sites in the Semiconductor Module context. Because the DAQmx Write VI always writes to all channels in a task, use the Idle Value to write a constant value to channels that are not in the Semiconductor Module 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 parameter unchanged.
/images/reference/en-XX/help/373951H-01/i2ddbl.gif Task Data returns a 2D array of data, where each individual array is the data to write to each channel in the task.
/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.

DAQmx Single Data To All Sites (N Pins)

Accepts data for the pins and returns data for all channels in the task. Ensure that you order data by pin based on the pins passed to the pin query. Use this data with the DAQmx Write VI.

SingleDataToAllSites(NPins).vi

/images/reference/en-XX/help/373951H-01/c102.gif Pin Query Context is the pin query context object a pin query returns.
/images/reference/en-XX/help/373951H-01/c2ddbl.gif Pin Data specifies data for each pin in a pin query.
/images/reference/en-XX/help/373951H-01/cdbl.gif Idle Value specifies the data value to use for channels in the task that are not connected to sites in the Semiconductor Module context. Because the DAQmx Write VI always writes to all channels in a task, use the Idle Value to write a constant value to channels that are not in the Semiconductor Module 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 parameter unchanged.
/images/reference/en-XX/help/373951H-01/i2ddbl.gif Task Data returns a 2D array of data, where each individual array is the data to write to each channel in the task.
/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.

DAQmx Per Site Data (1 Pin)

Accepts data for all sites in the Semiconductor Module Context that the pin is connected to and returns data for all channels in the task. Ensure that you order data by sites as the Get Site Numbers VI returns. Use this data with the DAQmx Write VI.

PerSiteData(1Pin).vi

/images/reference/en-XX/help/373951H-01/c102.gif Pin Query Context is the pin query context object a pin query returns.
/images/reference/en-XX/help/373951H-01/c2ddbl.gif Site Pin Data specifies per pin data for every site in the pin query context. Ensure that the site order matches the order the Get Site Numbers VI returns.
/images/reference/en-XX/help/373951H-01/cdbl.gif Idle Value specifies the data value to use for channels in the task that are not connected to sites in the Semiconductor Module context. Because the DAQmx Write VI always writes to all channels in a task, use the Idle Value to write a constant value to channels that are not in the Semiconductor Module 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 parameter unchanged.
/images/reference/en-XX/help/373951H-01/i2ddbl.gif Task Data returns a 2D array of data, where each individual array is the data to write to each channel in the task.
/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.

DAQmx Per Site Data (N Pins)

Accepts data for all sites in the Semiconductor Module Context that the pins are connected to and returns data for all channels in the task. Ensure that you order data by sites as the Get Site Numbers VI returns and then by pin based on the pins passed to the pin query. Use this data with the DAQmx Write VI.

PerSiteData(NPins).vi

/images/reference/en-XX/help/373951H-01/c102.gif Pin Query Context is the pin query context a pin query returns.
/images/reference/en-XX/help/373951H-01/c2ddbl.gif Site Pin Data specifies per pin data for every site in the pin query context. Specify data for all pins on the first site first, followed by data for pins on the second site, and so on. Ensure that the site order matches the order of sites the Get Site Numbers VI returns.
/images/reference/en-XX/help/373951H-01/cdbl.gif Idle Value specifies the data value to use for channels in the task that are not connected to sites in the Semiconductor Module context. Because the DAQmx Write VI always writes to all channels in a task, use the Idle Value to write a constant value to channels that are not in the Semiconductor Module 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 parameter unchanged.
/images/reference/en-XX/help/373951H-01/i2ddbl.gif Task Data returns a 2D array of data, where each individual array is the data to write to each channel in the task.
/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