Skip to content

HTML Test

Mattjet27 edited this page Apr 22, 2020 · 1 revision
<TITLE>Expand to Requested Array Size.vim</TITLE>

Expand to Requested Array Size.vim

This VI expands the array in to the requested size.

Cases:

-If both sizes are zero, this function does nothing (no error)

-If the array is empty this function generates an array of default type and throws an error

-If the array has one element the function maps it to the requested size

-If the array is an even multiple size of the requested size it maps the array multiple times (used to expand across sites)

-If the array is not an even multiple size the function maps the array and throws a warning

-If the array is the same size as the requested size it passes it straight through

-If the array is larger than the instrument sessions it gets shortened and a warning is emitted

Expand to Requested Array Size.vim

cerrcodeclst

error in

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cbool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ci32

    code

    code is the error or warning code.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cstr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

c1ddbl

Data In

    cdbl

    Data In

ci32

Requested Size

ierrcodeclst

error out

error out passes error or warning information out of a VI to be used by other VIs.

Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ibool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ii32

    code

    code is the error or warning code.

    Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    istr

    source

    source string describes the origin of the error or warning.

    Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

i1ddbl

Data Out

    idbl

    Current Level

Expand to Requested Array Size.vim

Clone this wiki locally