Difference between revisions of "OpenIGTLink/Protocol/BWHScannerIF"

From NAMIC Wiki
Jump to: navigation, search
Line 11: Line 11:
 
**Get imaging parameter  
 
**Get imaging parameter  
  
*'''*PARAMETER''' (Currently not available)
+
*'''*SET_PARAM''' (Currently not available)
 
**Set parameter for the scanner
 
**Set parameter for the scanner
  

Revision as of 14:14, 18 November 2008

Home < OpenIGTLink < Protocol < BWHScannerIF

From Client to Scanner

  • POSITION
    • Center position and orientation of the imaging plane
    • RAS coordinate in default
  • GET_STATUS
    • Get status of the scanner
  • *GET_PARAM (Currently not available)
    • Get imaging parameter
  • *SET_PARAM (Currently not available)
    • Set parameter for the scanner

From Scanner to Client

  • IMAGE
    • Center position and orientation of the imaging plane
    • RAS coordinate in default


  • STATUS

The message follows the standard STATUS data type.

 Bytes (Body)
 58   60            68                           88
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+.....
 | C |  Sub Code   |       Status name           |   Status message (optional)
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+.....


Status codes:
0 Invalid packet - 0 is not used
1 OK (Default status)
2 Unknown error
3 Panic mode (emergency)
4 Not found (file, configuration, device etc)
5 Access denied
6 Busy
7 Time out / Connection lost
8 Overflow / Can't be reached
9 Checksum error
10 Configuration error
11 Not enough resource (memory, storage etc)
12 Illegal/Unknown instruction (or feature not implemented / Unknown command received)
13 Device not ready (starting up)
14 Manual mode (device does not accept commands)
15 Device disabled
16 Device not present
17 Device version not known
18 Hardware failure
19 Exiting / shut down in progress