VISA Read To File Function

Reads byte count synchronously and stores the transferred data in the file specified by filename.

filename opens in binary mode. Any existing contents are destroyed if you set the Message Based Settings:File Append Enable property to FALSE. The data is then written to the file. The 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 to which data will be written.

  • cu32.png byte count

    byte count is the number of bytes to be read.

  • 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.