LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LabVIEW emulate a modem?

Hi all,

I need to test the modem control part of a medical device. At the moment this is done by connecting to a real modem and transferring an email with attached data to a server. If those data can be decipered successfully, the device is considered OK.
But thi stakes some time. I'd like to connect the device to a serial port and have a VI behaving like a virtual modem. If the medical device could establish a valid connection with that virtual modem, it can be considered as OK as well, which would save a lot of hazzles and time. Any ideas?
0 Kudos
Message 1 of 4
(2,925 Views)
If you are trying to test the medical instrument's serial port, yes a LabVIEW program can be written to emulate a modem. If you are trying to send modem tones to LabVIEW, it is unlikely that you could do this very easily, and would probably only work at the lowest speeds. To do this first (test the serial port) you will need to know what modem commands the med device sends out and what it exdpects as a response. I'm not sure how much time will be saved, it isn't clear what you would change in the test protocol. Give us a little more detail so we can help.

P.M.


Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 4
(2,917 Views)
PM,

thx for your reply.
Sorry for not having been clear enough.
My goal is to have a VI that acts as the serial port side of a real modem, not as the telephone line side. So the medical device sends some AT commands and the VI responds like a real modem would have responded.
I have some example transmission protocol data that came from a serial sniffer. I was just thinking on response delay and establishing a state machine and such.  And maybe someone has done something similar...
Greetings from Germany!<br>-- <br>Uwe

0 Kudos
Message 3 of 4
(2,892 Views)

Hi Lul,

Yes, we have done something similar.  It works...

One word of caution.  Although the simulation works well, and we have delays tha mimic the instruments and the device, it does not simulate all possible behaviors.  It is limited to the model that defined the simulation.  It is a close representative that serves the purpose.

We use it to simulate well known events.  However, there are some unknowns that appear when using the real device.  And are expected. 😉

However, you should be able to successfully implement the serial side of the modem. 

JLV

Message 4 of 4
(2,884 Views)