VISA Write From File Function

Takes data from the file specified by filename and writes it to the device synchronously.

filename opens in binary mode and the function reads the amount of data specified by count. The data is then written to the device. This operation returns only when the transfer terminates.


icon

Inputs/Outputs

  • cvsrn.png VISA resource name

    VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.

  • cpath.png filename

    filename is the name of file from which data will be read.

  • cu32.png count (entire file)

    count is the number of bytes to be written.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ivsrn.png VISA resource name out

    VISA resource name out is a copy of the VISA resource name that VISA functions return.

  • iu32.png return count

    return count is the number of bytes actually transferred.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.