• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
November 23, 2024, 06:46:35 am

News:

SMF - Just Installed!


nrASTM

Started by felorza, August 25, 2012, 11:34:12 am

Previous topic - Next topic

felorza

After the event OnProcess, I save the record (STX send by device medical) in an array. After the event close session, I check if the array has query requests, existing, run the event start and return order record after the event onAck.
After returning all orders I must close the session?

Thanks
Flavio Elorza

Roman Novgorodov

Hello

Remote ASTM host initiates session. And closes too.
You do not need to call EndSession directly if you receive records.

Roman Novgorodov
DeepSoftware llc
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

felorza

Even though the session has been initiated by me (nrAstm1.SessionStart)?


Roman Novgorodov

Hello

If you initiated sending ASTM records you need open session
by TnrAstm.SessionStart() call and after all records are sent close session by TnrAstm.SessionEnd() call.

Roman Novgorodov
DeepSoftware llc
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.