1260-82 User Manual
Module Operation 3-9
1260-82 Example
Code
The VISA I/O library may be used to control the module. The VISA
function viOut8() is used to write a single 8-bit byte to a control
register, while viIn8() is used to read a single 8-bit byte from the
control register. The following code example shows the use of
viOut8() to update the 1260-82 module.
The VISA library functions (viIn8() and viOut8()) account for the
base A24 offset of the 1260-01T controller. Therefore, the
application code below uses only the module address to calculate
the offset of the two control registers and the status register.
The following example shows many places where “error handling
code goes here”. This is intended for application-specific error
handling code which depends on the application and the manner
in which errors are handled. Therefore, the specifics of the error
handling code are not shown in the example.
Summary of Contents for 1260-82
Page 4: ...This page was left intentionally blank...
Page 8: ...1260 82 User Manual iv This page was left intentionally blank...
Page 20: ...1260 82 User Manual Installation Instructions 2 8 This page was left intentionally blank...
Page 36: ...1260 82 User Manual Module Operation 3 16 This page was left intentionally blank...
Page 38: ...1260 82 User Manual Drawings 4 2 This page was left intentionally blank...
Page 40: ...1260 82 User Manual Drawings 4 4...
Page 47: ...1260 82 User Manual Drawings 4 11...
Page 60: ...1260 82 User Manual Drawings 4 24 This page was left intentionally blank...
Page 62: ...1260 82 User Manual Parts List 5 2 This page was left intentionally blank...
Page 70: ...1260 82 User Manual Parts List 5 10 This page was left intentionally blank...