views:

403

answers:

2

Hi,

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.

+1  A: 

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 like ACK. You'll need to use the corresponding char in C# for this - respectively, (char)5 and (char)6.

Jeremy McGee
Thanks. I ensured that they match. I have now been able to send the message to the Server application by correcting some configurations. However, now i find that the message 'ENQ' goes to the application as 'E' followed by 'N' , followed by 'Q' followed by <LF>. I need to figure this out.
Chakra
A: 

hello Chack,

I have the same project for laboratory instrument interfacing. But, I don't know how to start and what hardware requirements to interface to any device/instrument. Do you have any idea?

Thanks,

Rock

rock
If you dont have an actual lab instrument, you can create a program that mocks the Instrument by sending and receiving messages according to the protocol. Then you could write the interface program which sends and receives messages against this mock instrument. You could plug in a Serial cable to 2 serial ports in the same PC, and treat one end as connected to Instrument mock program and the other to the interface. Hope that helps.
Chakra