LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SMS Application - Hardware:GSM Modem & Software:LabView

Hi

 I solved this problem

Respect

Iskander

Message 71 of 82
(3,970 Views)

Hello everyone.

 

I'm thinking about creating a function that sends an sms to me when there's an error in my main application. From what I've read here I've come up with a few questions that I would very much appreciate if anyone could answer before I start. (I have a background in biological engineering so before venturing into the dark place that is programming I always try to find out how bad it's gonna get:))

 

Most people here have used a modem that is connected through a com-port. Is it possible to use a USB-modem instead? I'm thinking one of those mobile internet modems, like the Huawi E220. From what I've understood though, you need to assign VISA as the driver for the device in order to be able to use LabView to program it and that could probably mess with the software used to connect the modem to the net?

 

Best regards! 

0 Kudos
Message 72 of 82
(3,575 Views)
No, you do not need to assign VISA as the driver. If the USB connection appears to windows as a com port, you use whatever hardware driver that comes with the device and you use the VISA api to communicate to it.  You can use any of the previous examples.
Message 73 of 82
(3,552 Views)

Ok. I'm not quite sure I understand.

 

Do you mean that I should make the USB-port appear as a com-port somehow, or is this something that would happen by itself if I have the right kind of hardware? I've googled it and it seems possible to simulate a com-port on the USB, but that would make it a permanent change.

 

/Felix 

0 Kudos
Message 74 of 82
(3,538 Views)

It will happen automatically if the vendor's driver has designed it that way. For example, I have a USB modem (not SMS) and when the driver is installed and I plug in the modem, I see a new com port on my pc.

0 Kudos
Message 75 of 82
(3,537 Views)
Ok. What I get is that it shows up as device J: and it's defined as a CD for some reason. Is this sort of in the right direction?
0 Kudos
Message 76 of 82
(3,536 Views)

felixturner wrote:
Ok. What I get is that it shows up as device J: and it's defined as a CD for some reason. Is this sort of in the right direction?

No, that is not the same. Your device for some reasons wants to install itself as mass storage class device. USB is just the communication channel. The device class defines in which way the actual communication is structured and how an attached computer will see it. Most modems would install themselves either as properietary device (which requires a proprietary driver) or a communciation class device (which Windows and all other OSes have drivers for to let them appear as virtual serial ports). Which it is is defined by the firmware in the device and therefore the device manufacturer. Why they would define their device as mass storage device (that is why Windows installs it as USB memory stick) is beyond me, but made in Taiwan (China, etc) often has such strangeties.

 

It's definitly a bad sign in terms of the ability to use it as a standard modem.

Rolf Kalbermatter
My Blog
0 Kudos
Message 77 of 82
(3,526 Views)

hi,I a B.E fianl year EIE student.I have chosn my final year project in the labview based area.I hav to interface GSM with labview and by changing the value through GSM,it also changes in the labview controlled program.I need to know which modem can i use and how to interface it wilth labview.I need to know abut basic starting commands also for this program.COuld anyone pls help me in doing it.??Waiting for ur response........................

0 Kudos
Message 78 of 82
(2,796 Views)

Hello sir,

I have siemens tc35 modem and i want to read message on labview using this modem, i check the modem using hyperterminal, it works well. i am using basic visa read and write vi but when i type AT in write buffer then it read the same as it supposed to be OK. couls you please help me.I will be very appreciated.

thanks.

0 Kudos
Message 79 of 82
(1,862 Views)

Hello sir,

I have siemens tc35 modem and i want to read message on labview using this modem, i check the modem using hyperterminal, it works well. i am using basic visa read and write vi but when i type AT in write buffer then it read the same as it supposed to be OK. couls you please help me.I will be very appreciated.

thanks.

0 Kudos
Message 80 of 82
(1,862 Views)