[IGSTK-Users] No transitions

Patrick Cheng cheng at isis.georgetown.edu
Thu May 17 10:18:10 EDT 2007


Hi Ding,

This missing transition is okay, you image should read fine.

This missing transition is because we pushed the
'm_LoadImageSuccessInput' into the state machine twice.

once around line 479 in NeedleBiopsy.cxx file:
m_StateMachine.PushInput( m_LoadImageSuccessInput);

another one, around line 482,
m_StateMachine.PushInputBoolean( m_ImageReader->FileSuccessfullyRead(),
                      m_LoadImageSuccessInput, m_LoadImageFailureInput);

Because the first input will make the state machine transit into
'ImageReadyState', so the state machine 'ignore' the second input,
because the transition is not being defined, and we got this message:

24468318464.640339  :    (ERROR) In class NeedleBiopsy No transitions
have been defined for current state and input  State = 133
[ImageReadyState] Input = 153 [LoadImageSuccessInput]


If you take out line 479, this message should go away.

Patrick

ding hui wrote:
> Hi Patrick
> 
> I am encountering another problems with igstk-Needle Biopsy currently, I 
> seek your help:
> 
> 24468318446.357841  :    (DEBUG) Patient registered as: 11
> 24468318446.358227  :    (DEBUG) State transition is being made : 
> NeedleBiopsy  PointerID 036C3D98 WaitingForPatientNameState(130)  with 
> PatientNameInput(150) ---> PatientNameReadyState(131).
> 24468318447.071201  :    (DEBUG) 
> NeedleBiopsy::RequestLoadImageProcessing called...
> 24468318447.071575  :    (DEBUG) State transition is being made : 
> NeedleBiopsy  PointerID 036C3D98 PatientNameReadyState(131)  with 
> RequestLoadImageInput(152) ---> WaitingForDICOMDirectoryState(132).
> 24468318447.080742  :    (DEBUG) NeedleBiopsy::LoadImageProcessing 
> called...
> 24468318462.237732  :    (DEBUG) Set ImageReader directory: 
> F:/IGSTK-Sandbox-2.0.1/Testing/Data/E000192
> 24468318462.242489  :    (DEBUG) m_ImageReader->RequestSetDirectory 
> called...
> 24468318462.612476  :    (DEBUG) ImageReader loading images... 
> 24468318462.615017  :    (DEBUG) m_ImageReader->RequestReadImage 
> called... 24468318463.22197  :    (DEBUG) Image Loaded...
> 24468318463.224174  :    (DEBUG) Image Loaded...
> 24468318463.224392  :    (DEBUG) State transition is being made : 
> NeedleBiopsy  PointerID 036C3D98 WaitingForDICOMDirectoryState(132)  
> with LoadImageSuccessInput(153) ---> ImageReadyState(133).
> 24468318463.22892  :    (DEBUG) 
> NeedleBiopsy::VerifyPatientNameProcessing called ... 24468318463.229092  
> :    (DEBUG) Patient name mismatch
> 24468318463.230278  :    (DEBUG) Patient name mismatch
> 24468318464.635937  :    (DEBUG) Patient name is overwritten to:liver 
> set          24468318464.639973  :    (DEBUG) Patient name is 
> overwritten to:liver set          24468318464.640339  :    (ERROR) In 
> class NeedleBiopsy No transitions have been defined for current state 
> and input  State = 133 [ImageReadyState] Input = 153 
> [LoadImageSuccessInput]
> 24468318464.648354  :    (DEBUG) State transition is being made : 
> NeedleBiopsy  PointerID 036C3D98 ImageReadyState(133)  with 
> OverwritePatientNameInput(156) ---> PatientNameVerifiedState(134).
> 
> 
> Thank you for your future help...
> 
> Ding hui
> 
> _________________________________________________________________
> 享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com 
> _______________________________________________
> IGSTK-Users mailing list
> IGSTK-Users at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
> 
> 
> 


More information about the IGSTK-Users mailing list