临床实验室接口编程
我是一名 .NET 程序员。
是否有任何基于网络的资源可以使用串行端口和 ASTMH 协议进行临床实验室界面编程?或者有什么书吗?
当我用谷歌搜索时,我发现 ASTMH 网站显然发布了该标准。我的具体问题是,我开发了一个 C# 程序,用于将实验室信息系统 (LIS) 连接到名为 Remisol2000 的软件应用程序,该应用程序是多个 Beckman Coulter 实验室系统的聚合器软件。我的接口程序没有从 Remisol2000 获得 ACK 握手确认。我想我可以获得一些“操作方法”或教程,因为这是我的第一个 LIS 界面。我可以检查一下我的方法是否有任何错误。
谢谢, 查克。
I am a .NET programmer.
Are there any web based resources to pick up Clinical laboratory interface programming, using Serial Ports and ASTMH protocol ? Or any books ?
When i googled i found the ASTMH site which apparently publishes the standard. My specific problem is that i have developed a C# program to connect a Lab Info System (LIS) to a Software application called Remisol2000 ,which is an aggregator software for multiple Beckman Coulter lab systems. My interface program is not getting the ACK handshake acknowledgment from Remisol2000. I thought i could get some 'how to' or tutorial since this is my first LIS interface. I could check to see if i have made any mistake in my approach.
Thanks,
Chak.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许它可能像应用程序上的串行端口设置一样简单?串行通信要求链路两侧的波特率、停止位和奇偶校验设置相匹配。
如果它们不匹配,则发送应用程序将通过线路发送其信息 - 接收者不会确认。
您可能希望首先使用终端程序直接与硬件通信。这至少会确认您的串行端口已正确配置为接收设备 - 并允许您检查堆栈中的下一层,即您自己的程序。
请注意,较旧的硬件可能需要 ASCII 控制代码,例如
ENQ 并使用
ACK
等代码进行响应。为此,您需要在 C# 中使用相应的字符 - 分别为(char)5
和(char)6
。Perhaps it might be as simple as the serial port settings on your application? Serial comms require the baud rate, stop bits and parity settings to match on both sides of the link.
If they don't match then the sending application will send its information down the wire - with no acknowledgement from the receiver.
You may want to start by using a terminal program to communicate with your hardware directly. This will at least confirm that your serial port is configured correctly for the recieving equipment - and allow you to check the next layer up in the stack, which is your own program.
Note that older hardware might well be expecting ASCII control codes like
ENQ
and responding with codes likeACK
. You'll need to use the corresponding char in C# for this - respectively,(char)5
and(char)6
.