FASTRACK SUPREME - send command ATD via RS232?

I'm working on the project, based on a FASTRACK SUPREME, that must receive the orders via a serial RS232. The

It is:
When I use HyperTerm the command ATDxxxxxxxxx; works very well.
When I use the CVI RS232 library, nothing happens. Is it possible that my order stuck in

the series buffer?
Here is my code:

#include
#include
#include
#include
#include
#include
#include

int configurePort (void);
int sendCommand (void);
int port_open;
int error;

int main()
{
configurePort();
sendCommand ();
return 0;
}
int configurePort()
{
port_open = 0;
 
error = OpenComConfig (4, "COM4", 115200, 0,8,1,0,-1);
If (error)
{
printf("Error!\n");
}
If (error == 0)
{
port_open = 1;
SetXMode (4, 0);
SetCTSMode (4, 0);
SetComTime (4, 0);
}
 
 
return 0;
}
int sendCommand)
{
char bufferWrite [100];
FMT (bufferWrite, "%s", "ATD0040761768027");
ComWrt (4, bufferWrite, 18);
return 0;
}
Where is the problem? Help, please!

Hi years,

working with a modem can involve a few extra precaution to work with other serial devices.

First of all, you say in Hyperterminal the modem receives orders: I remember that Hyperterminal always adds a newline at the end of each command so that you can try this first:

ComWrt (4, 'ATD0040761768027; \r', 18);

(BTW you can avoid passing through a string, unless you need to dynamically format during the show)

Then, I would check in Hyperterminal if you use a form of handshake between the PC and the modem: If so, you need to satisfy the hanshaking even in your application of CVI.

Third clue, that your modem may need an initialization to before it can satisfy a command AT; under Windows, you can configure the connection of modem to it creates a log file: create it and test it to find out the set of commands exchanged between HT and the modem.

I guess this also addresses question of this thread : it is advisable to open only one thread per question so that everyone can add his experience and avoid the dulicating questions / answers unnecessarily.

Tags: NI Software

Similar Questions

  • Send a command to a GPRS Fastrack Supreme?

    I want to make a program to send a command to a GPRS Fastrack Supreme with a Rs232 bus. Specifically, I want to call a phone number or send a text message using Fastrack supreme. I can do this in LabWindows CVI? Can you give me some examples?

    Hello

    This message has been continued here

  • How to send commands to my oscilloscope in NIMAX?

    Hi all

    I'm new to LabView and have bought a digital oscilloscope and a digital signal generator.

    I have the list of remote control for each of them.

    The oscilloscope is USB, and the signal generator has only a RS232 port.

    I am able to send commands to the oscilloscope via the EasyScope software supplied with the scope, such as * CAL?, which calibrates successfully my reach.

    However, I can't have my field meet NIMAX.   I am able to get the signal generator to work in NIMAX or EasyScope.

    Could someone tell me what should I do to activate my USB channel in NIMAX, as well as my channel RS232?

    It is rather curious that the scope correctly responds to * IDN?, but fails to react on * CAL.?

    CAL may require character of specific endpoint sokme?

    What happens if you do the CAL without IDN before when you have a new session? Perhaps, the scope crashes somehow with the IDN...

    Norbert

  • How to contact Compax3 via RS232

    "We have a driver/Compax3 servo controller and need to communicate to via RS232 and the orders of the" object "(e.g."o680.5"retrieves the current position." However, I was unable to get the controller to really transform our engine. Someone has he done that before could provide examples of code?

    LV 2009 SP 1

    Windows XP

    You should still be able to read and write objects while it is configured as a T30, but you would need to write a program of IEC which reacts to changes in your variables.  I just did a project with a positioning more comms, and it was some time ago.  My HMI would send '2O 1901.1 =' to define a position and ' $2O 6103CR "to move to the position.  Note the space, and the Czech Republic is a carriage return.  Unfortunately, Parker US doesn't have much experience with the communcations for this product, and the documentation is poor.  You can call technical support of Parker in California.  Rich Rittis would be your best bet to get answers on it.

  • Reading from the sensor to LabView via rs232 or Subvi problem

    I'm quite new to LabView and not too experienced with instrument control so I was wondering if someone could help me to solve my problem?

    Currently, I'm using LabView 2011 and I'm trying to read pressure DualGauge of Pfeiffer (TPG 262) pressure sensor and display the readings of two pressure on LabView.  However, when I run my program, the pressure readings are not displayed - what is displayed are default 0.00 if same mBar pressure reading a reading of the display of the DualGauge probe.  To connect the sensor, I use a RS232 cable and have managed to find the device on my device manager, so I don't think that the connection is the problem (I've also seen the port appears in the Device Manager, when I connected the sensor via RS232 and USB in my computer).  I also use Subvi Pfeiffer in my code, and I suspect that the problem may be in there.

    Attached is my code and here are links to the manual of the DualGauge and the driver of the software LabView of Pfeiffer

    Double manual gauge - p. 23 and 68 are probably the only things related to the RS232 connection.

    http://www.idealvac.com/files/brochures/Pfeiffer_TPG262_Operating_Instructions.PDF

    DualGauge LabView driver - software Pfeiffer double gauge LabView driver 2009

    http://www.Pfeiffer-vacuum.com/products/measurement/activeline/measurement-equipment/OnlineCatalog.a...

    Any help is very appreciated!

    -Candice

    You have not tested really do anything. Devices and MAX Manager displays only the com port that you added to the computer. It does nothing to verify that an instrument is truly connected. You might have the wrong settings of com or the wrong type of cable serial (null-modem is required). I suggest that you start with program such as hyperterminal, PuTTY or MAX and try something simple. It seems that you will receive an acknowledgement returned by the instrument when a correct command is received. Make sure that this simple step that happens.

  • Send instant messages via email from yahoo with the new version of firefox

    I can't send instant messages via email yahoo in the new version of firefox, how do I fix this problem

    Hi hwkangel,

    It looks like a known issue reported here:

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=713014

    There was a workaround solution posted, but I have not tested it myself. Here are the steps.

    1. Go to the Yahoo Messenger Options - change the window in the tab menu and press OK.
    2. Then go back and switch to the small window and press OK.

    The bug has already been fixed. So, you can download the beta version of FF 10 If this is a really important feature for you.

    Hope this helps!

  • Send or receive via bluetooth does not

    Hello
    Thanks for the great site and great forum.
    I did because I have a problem with my vaio VPCS111FM.
    First of all, I'm of the Syria and I bought it a month ago and it is really GREAT.
    but the problem is that I can't send / receive anything via Bluetooth. (

    He continues to display this message every time I try to send a file:

    even when I'm sure that it is turned on and working 100%.
    It can even show the other devices that are turned on but cannot send them anything.
    Here are my settings and make sure it's really :

    I thought to remove the bluetooth driver and put it back
    but I don't know how to do it! (especially remove it)

    any help please? It is important and I can't live without a bluetooth

    Thank you in advance.

    Hello

    Check if the physical hardware switch is turned on. It is located near the touchpad.

    Reinstall the bluetooth driver and update:

    Broadcom Bluetooth driver

    Broadcom Bluetooth Firmware update

    If the problem persists, see the following steps to troubleshoot bluetooth connectivity:

    https://us.en.KB.Sony.com/app/answers/detail/A_ID/31923

    If the problem persists, restore the system to an earlier date.

    https://us.en.KB.Sony.com/app/answers/detail/A_ID/31528

    In case, if the problem persists, our next step is the full recovery of the system to eliminate the problems of material as being the cause.

    https://us.en.KB.Sony.com/app/answers/detail/A_ID/35585

    If the problem persists, contact Sony at 1-239-768-7676 in the Syria, because you stand out-United States

    If my post answered your question, please mark it as an "accepted Solution".

  • How to communicate via RS232?

    I am trying to program a sbRIO-9606 to communicate with a LCD for matrix orbital via RS232.  I have NI-VISA 5.4.1 with NI-VISA 5.4.1 on the sbRIO server software.  But I see no COM port to use to connect.  Is there other software that I need?  Or is there a resource where I can find some instructions about it?

    Found!

    I also have need of the RT of NOR-Serial installed on the sbRIO 4.0.0.

  • DASYLab control via RS232

    Hello!

    I use dasylab to a small control. I would like to controll 3 adjustable transformers. The pc with the NI USB-6210 is near the transformer. Via RS232 I want to controll the processors of the control room. I have connected the two stand-alone (one near the processor) and the other in the control room with a cable RS232. Is it possible to use input RS232 dasylab for this effect? I'm just at the beginning of this project, and I appreciate all the information and advice you can give.

    Thank you very much and have a nice day

    Hilby

    For the RS232 string... we expect that the string must be delimited - for example, it ends with a. When you use the notation

    $1

    DASYLab will begin at the current location and put all the characters in the global chain number 1 (${STR_1} in other modules) until the \r (thecharacter). It does not put the delimited in the global chain.

    If you use the store in the chain, then catch it all on the line. If you need to anchor it better, use the string in quotes to search for a unique header before the $1

    "Single text" $1

    will interpret this line

    Single text can be stored in the global chain

    and store 'can be stored in the global chain' in the global chain 1. She anchors on the 'Unique' text and ends at the.

    For relaxation... use the pre/Post trigger... it's more reliable and outputs 0 or 5.

  • LabVIEW TCP/IP Client and server, I need to send commands and receive comments side server from the client regarding the command sent.

    Hi all

    I can configure my two PCs, one as a client and a server very well. I am able to send commands from the server to the client. However, I am trying to determine how I can get feedback from the client to the server that something has changed, or a CQI that the command has been received. How I can do this in LabVIEW with the box to TCP/IP tools, or is there a better way to do it?

    Thanks for your help!

    Best regards

    -Gmac

    Once the connection is established, TCP does not care which end is the 'server' and the 'customer '. Data can be sent in both directions using the same read and write functions. So, if you are already able to send data to the client and read on the server, you should be able to do the same to send data from the server to the client, using the same TCP connection.

    If this is not clear, please your postal code so that we can provide more specific advice.

  • connect a spex 1702 spectrometer via rs232

    I'm trying to connect an old Spex 1702 spectrometer to our computer via RS232. I have a few vi downloaded from the HORIBA website that are supposed to work with this series. When I run the 'Start-up.vi' which is supposed to make the connection between the spec and the computer, all I get is the red error light. I am fairly new with Labview and know virtually nothing about RS232, help or suggestions on how to get this connection would be appreciated! Thank you

    Matt

    Former pilots used outdated serial drivers that won't work with the newer versions of LV

    There might be newer versions of the drivers are circulating, but I ended up making my own versions of VISA rather than wait for the manufacturer.  Please note that this was a nightmare to migrate...

    Shane.

    PS To install an older version of LV should also work if the OS is supported (LV 7.1?) and XP

  • "Messenger Service, or the Net send command not working only not on the service remote computerhe.

    Messenger Service, or the Net send command not working only not on the remote computer, despite the messenger service is started "it works only if I restart the service.
    operating system is windows xp
    service pack 3

    Hi Charbel,

    Have you done a recent software or hardware changes to the system?

    This problem occurs because the Messenger service is disabled. The Messenger service must run on the destination computer to activate the NET SEND command.

    Because the service is already started, and you must restart the service, you can try to stop the service, change the startup type to automatic and start the service. Check if it helps.

    Please refer to the article to define the service as automatic:

    Programs or services that use the alerts service or the Messenger service do not work as expected after you install Windows XP Service Pack 2

    For more information, see the article:

    The NET SEND command may not work correctly on a computer that is running Windows XP Service Pack 2

    Hope the helps of information.

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • I can no longer send you pictures via my Panasonic Lumix program or the range of file photos. I can via Windows Live Mail but it is tedious to do.

    I can no longer send you pictures via my Panasonic Lumix program or the range of file photos.  I can via Windows Live Mail but it is tedious to do.  The problem started when I change my ISP AOL to Comcast (I think).  When I try to do as I have always done in the past, I get this message:

    Here is the message I get:
    The message could not be sent. The authentication setting are may not be wrong for your e-mail [SMTP] Server outgoing. To resolve this issue, go to help, search for "Troubleshoot Windows Mail" and read the section "I have problems sending e-mail". If you need help to determine the appropriate server settings, contact your e-mail service provider. The rejected e-mail address was '{removed email address}'. ' Subject ' Emailing: PTC Joan Huntsman 001.jpg, account: 'Imap', server: 'smtp.comcast.net', Protocol: SMTP, server response: ' 550 5.1.0 required authentication ', Port: 587, secure (SSL): no, Server error: 550, error number: 0x800CCC78

    Help!  Thank you

    original title: have trouble sending pictures

    How can I set up/configure Outlook Express, Windows Mail & Windows Live Mail to E-mail from Comcast?
    http://customer.Comcast.com/pages/FAQViewer.aspx?GUID=5be34cb1-B190-4FC1-BEAA-818778a54aed

  • Not able to send multiple files via bluetooth

    I have had this problem since I bought my laptop. I am able to send only one file. In other words, when I right click on the file you want, there is a separate option "send to Bluetooth" allows me to transfer a single file to my phone or another laptop. But when I select several files and right-click on it and select ' send to--> Bluetooth device ", a window opens but it doesn't detect other bluetooth devices. I would also like to add that the drivers are updated and devices are in the range. The options "Send to Bluetooth" and "send to--> Bluetooth Device" are different. I'd be happy if someone gave me the solution.

    My laptop: HP Pavilion DV6 - 6006tu
    Operating system: Microsoft Windows 7 Home Premium

    Thank you.

    Hello

    Method 1:
    Try first to add and pair the device and then try to send files via Bluetooth. You can follow the below mentioned article that will give you information on add a Bluetooth device to your computer:
    http://Windows.Microsoft.com/en-us/Windows7/add-a-Bluetooth-enabled-device-to-your-computer
     
    Method 2:
    You can see the laptop manual to see the steps on how to send multiple files via Bluetooth or check Bluetooth section for the information you are looking for.
     
    Let us know if it helps!

  • Why my laptop Windows 7 doesn't send commands constant UPNP on my router?

    Hello

    My Windows 7 laptop sends commands to constant UPNP on my router (approximately 5 seconds).  How can I know what is the cause and stop it?  The constant UPNP causes most of the routers to crash.

    Thank you
    Tony

    Hello

    More unusual that happens on more than one router.

    Did you update or re - install the latest network driver? Suspect either the driver netword
    or the actual hardware of the network device. You can try to disable the WiFi or
    Device and external use (wired) NETWORK interface card. Or try the other one being not used - if you use
    WiFi, try hanging the router by wire and if by wire try using WiFi.

    Have you tried to do Port Forwarding? You are trying to access the other
    network devices not on your physical computer, like a printer, or even just the files on
    other computers on the network?

    Some of the old LinkSys and other routers allow to configure UPNP on the router from the
    NET but I can't believe that is your problem, since you said it happens on other routers.
    UPNP is usually controls, enabled or disabled on the router.

    ===============================================================

    Given that I've never seen the question when he was not the router itself check with people
    TechNet as someone may have encountered the problem?

    TechNet - Windows 7 IT Pro
    http://social.technet.Microsoft.com/forums/en/category/w7itpro

    Please provide your comments as you can.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

Maybe you are looking for

  • Can I remove the cover of HDMI port?

    I want to connect my laptop to my new tv, but the hdmi port seems to be covered by a plastic cover. If possible, how can I remove it? Help, please!

  • Cut within the specific range

    Hello I use MCdaq201 to acquire the signal of a photodiode. What I see in oscilloscope, is a beautiful sinusoid!, exactly what I was expecting. Then, I connect it to PC via MCdaq-USB201, I see a signal which is as he was cut in a specific range. I've

  • Lollipop update via Xperifirm

    I intend to update on the lollipop on my compact z3 via xperifirm and flash. My biggest concern is that it is possible he could get locked to carrier versions that currently exist?

  • "Administrator defined policies."

    I am trying to download an update for the ancestry of inlay tools & the message "administrator has set policies" that won't let the download begins. How can I avoid this message

  • Windows 7 all of a sudden, I have an invalid activation code

    Hello I have Windows 7 Home Premium, and now he asks me an activation key which, up to now (for the past 12 months), had been very well. Now when I turn on the computer it says that I have a valid version of Windows. I type in the key provided with t