GetComStat​() function does not detect errors.

I am implementing a full duplex RS-232 communication channel where I poll for input data by using the GetInQLen() function. Once I have data I first check for errors by calling the GetComStat() function. This function never seems to return an error code even when I send data with the wrong parity, baud rate, etc.

Hello,
This worked fine for me when I tried it. Although you do not say, I assume you are using CVI. Here's a good way to test it out in CVI 7.0: CVI comes with a serial example in the samples\rs232 directory called "serial.cws". This is a good place to start for using serial functions. I performed the following test: hook up a null-modem cable between my 2 onboard COM ports, starting the example program on COM1 and configuring the port to 9600 8N1, XON/XOFF is Off, RTS/CTS is off. Then I opened Hyperterminal on COM2 setting 9600 8E1, No flow control. I typed a single character into hyperterminal and then switched back to the example and clicked on "Get COM Status" and got a parity error. I performed various other mismatches including baud rate and the C
OM Status function performed properly.
If you could run this test and let me know how it goes, that would be helpful. Alternately, this might illuminate the best way to use the COM Status function. Please let me know what version of CVI you are running when you reply.
Thanks,
Scott B.
Applications Engineer
National Instruments

Similar Messages

  • Function does not exist Error

    hello Experts,
    Just wondering why i keep getting this error.  i've created a MDX function that calculates variances between actuals and budgets.  i've placed the function within mdxlib.lgl in both the adminapp folder and logic system folders and validated / saved the default.lgf file to validate the formula.  after i process the dimension i get this error.  can anyone point me to the right direction?

    Hi,
    The default is script logic and doesnt have any relation with the dimension logic. Both are independant. So, please dont get confused. If you want to use any function, that function should be defined somewhere, so that the system understands what needs to be done for that function. Once you define the function in a file, that file should be referenced, so that the system understands where to search for that function.
    Hope this helps.

  • Solution who encounter 'Setup does not detect Sound Blaster .....' error msg during installat

    For those who encounter 'Setup does not detect sound blaster audio in the system' error upon installing from the installation CD. You can try the steps below that work for me. It seems Windows have lock on to the sound card with an incorrect ID thus the installation CD are not able to correctly identify the card. Be sure to do a backup copy of the registry first incase something goes wrong since we are editing the registry.
    . Go to Start-Run and type in 'regedit' to start the registry editor application.
    2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\P CI.
    3. You should see listing with 'VEN....'. Expand them by clicking on the + icon and then see if it's listed as unknown or Creative related stuff. Keep note of them.
    4. Right click on those 'VEN......' listing that you have noted earlier and select full permission. Ensure that full control are selected. Now delete all those listed as unknown or Creative related stuff.
    5. Exit registry editor and reboot. Try using the installation CD again.
    Hope it hel
    ps.
    Message Edited by BadBoy on 05-22-2005 09:5 PM

    I only have this problem when i try to install <A href="]Li'veDrvUni-Pack(ENG).exe[/url] ... That driver pack also says that the drivers from cd are the newest ... :S !

  • Got an (unlocked) iphone 4s from US and tried activating in India but it throws an error saying 'unable to activate bcos the activation server cannot be reached' ..I tried connecting to itunes through my laptop but it does not detect my iphone..pls help

    Got an (unlocked) iphone 4s from US and tried activating in India but it throws an error saying 'unable to activate bcos the activation server cannot be reached' ..I tried connecting to itunes through my laptop but it does not detect my iphone..pls help

    mithaani wrote:
    Got an (unlocked) iphone 4s from US
    As kb1951 states, unless this phone was purchased directly from Apple, it is not officially unlocked. In the US, only Apple sells officially unlocked iPhones. The message you got generally means your phone was hacked to unlock it...jailbroken...Apple's servers have detected such & are preventing your phone from activating...there's nothing wrong with the activation servers.
    You'll need a sim card from the carrier your phone is locked to in order to activate it. If you don't know what carrier, you'll have to call AppleCare in the US to determine this info. Be aware, US carriers will not authorize official unlocking unless you are a customer that used the phone on their network. Thus, there is most likely no way for you to get this phone officially unlocked.
    Good luck.

  • Db function throws ORA-04067 Procedure does not exist error in forms

    I have a db function that returns a value that I assign to a non-db item in Forms. The function compiles fine in the database, I've granted execute privileges to the forms user, and the form in which it's called compiles fine, but when I run the form and the trigger in which the function is called is fired, I get a ORA-04067 error, and Display_error doesn't show any additional information. My function syntax is as follows:
    CREATE OR REPLACE FUNCTION f_method_in_prod(form_smi_field varchar2) RETURN VARCHAR2 IS
    cur_smi varchar2(200) := form_smi_field;
         cursor smi_lu is
         select source_method_identifier from nemi_data.method
         where cur_smi = source_method_identifier;
         smi_var varchar2(200);
    begin
         open smi_lu;
         fetch smi_lu into smi_var;
         close smi_lu;
         if smi_var is not null
         then
         RETURN 'yes';
         end if;
    END f_method_in_prod;
    I've tried calling the function as function_name and as schema_name.function_name in the form and I get the error regardless of the format I use.
    I'm using Forms 9.0.4
    Any suggestions?
    thanks

    I am not sure if this would cause the 04067 error, but your function does not return anything if smi_var is null. That is definitely a big problem.
    Here is a function that should work better:
    CREATE OR REPLACE FUNCTION f_method_in_prod(form_smi_field varchar2) RETURN VARCHAR2 IS
      yes_no    varchar2(3);
    Begin
      Begin
        Select 'yes' into yes_no from dual where exists
          (select null from nemi_data.method
           where source_method_identifier = form_smi_field);
        Exception when no_data_found then yes_no := 'no';
      End;
      Return yes_no;
    END f_method_in_prod;

  • TCP Read does not detect network conncetion closed error (66)

    Hi Dear all,
    Instead of LAN i am using WLAN to connect PC and mobile. All communication read and write operations are performing ok. But the only problem i am facing is that once i disconnect network connection from mobile my labview TCP read operation does not detect it and only timesout at its specified interval. Although for Bluetooth network connection if i disconnect from mobile then BT read detects it as network conncetion closed by peer error (66).
    Can someone help me on this.
    Thanks & Regards
    awais qureshi
    Solved!
    Go to Solution.

    Awais Qureshi wrote:
    Hi Dear Norbert,
    I am still waiting for your reply. Whats error you get once you unplug LAN cable? i am unable to understand how to detect Disconnection during Read Time out. Kindly help me in this.Thanks
    Dear VT Kim,
    I studied your recommended article but which way Labview handles TCP close connection then. i am unable to understand how to detect Disconnection during Read Time out. Kindly help me in this.
    Regards
    awais qureshi
    I have not tested it but more likely than not you would get an error 59 when the network cable is unplugged. Error 66 is for when the network is still up and you attempt to communicate on an established connection that has been closed by the other side. This is not an error that you will se from a TCP read very often.
    Also, please keep you related question in a single thread rather than starting multiple threads for the same topic.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • TS1363 iTunes does not detect my iPhone, sends error message, please help

    iTunes does not detect my iPhone when I plug into ligthening cable- error message 0xE8000084 appears, please help

    Hello Brian,
    Here is an article that should point you in the direction of a resolution. It has a section about the OXE errors.
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/ts3694
    Unknown Error containing "0xE" when restoring
    To resolve this issue, follow the steps in iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting. If you have a Windows computer with an Intel® 5 series/3400 series chipset, you may need updates for your chipset drivers. See iTunes for Windows: Issues syncing iOS devices with P55 and related Intel Chipsets for more information.
    All the best,
    Sterling

  • How can I use Bluetooth it does not detect others iPhone

    How can I use Bluetooth it does not detect others iPhone

    The bluetooth functionality on the iPhone is limited. It's basically limited to audio devices (headsets, for instance), although certain apps allow greater functionality. Search the app store for "bluetooth share"

  • New iMac (10.9.4) & now my HP Photosmart 6520 "scan to computer" function does not work

    Recently upgraded to a new iMac running 10.9.4.  Printing works well from this computer and all other devices (iPad, iPhone, etc.).  However, the "scan to computer" function does not work.  In the "Scan" section of HP Utility when I click on "Scan to Computer" the error message reads "Scan to Computer Cannot Be Enabled. The software required for Scan to Computer could not be located on this computer. Please download and install the latest HP recommended software for your device from http://www.hp.com/support, and then try again.
    Of course I have done this... twice... still no luck.  Also ran Software Update and there was an update, but it made no difference.

    Yes, did all that... in order.  It did not resolve the problem.  However, I did find what appears to be the answer.  After re-installing the driver software DO NOT immediately follow the prescribed steps.  Instead, quit the installer, restart the Mac, and an Apple software update will appear after restart.  Install that software update, and even though the computer and software do not call for it, restart the Mac again.  Only then add the printer and follow the balance of the steps.  It works!   Thank you for your help.

  • IPhone 4 does not detect anything on Bluetooth

    My iPhone 4 has appearantly a glitch in hardware...??? I turn on bluetooth and it can search for devices till the battery runs out and that's it. I don't think that this is a software error, as there are plenty of iP4's amongst my friends who don't experience this error with the same iOS version as I have.
    ANything I can do about it, or I just have to return it to my seller and ask for repairs?
    Tnx
    Lauris

    I can't pair it with anything, cause it just does not detect anything. Try to imagine... You go to settings--->bluetooth--->turn it ON and that is it! It starts the search and never finishes... The phone can search till the battery dies, but nothing. And I know that a friends iPhone can connect ot my cars bluetooth, but mine does not even find it. Finds nothing... NO apple gadgets, no other gadgets... It would be a success if it would find something and then the pairing would be a different issues, but if the search for a device never stops (not even to show that the iPhone can't find anything)...then I'm confused... and dissapointed..

  • Lumia 625 does not detect MicroSD cards, please he...

    My Lumia 625 does not detect MicroSD cards when inserted.
    I have tried powering off/on.
    I have tried formating them in my PC.
    I have updated my phone to 3050.0000.1334.0007
    I have tried a Kingston 64GB SDXC Class10
    I have tried a Sandisk Ultra 64GB SDXC Class10
    I have tried formatting the cards in various ways including exFAT / FAT32 / FAT64 etc.
    The only progress i made was when i tried formatting in NTSC and after inserting the card i recieved a message saying "incomattable formatted card inserted, do you whish to format the card in a compattable format?" After choosing yes, the phone formatted the card and then the card was undetected...
    This was confirmed by checking the card in my PC, which confirmed that the card had been formatted using exFAT, which i believe is the correct format for the phone/card.
    Clearly the phone is somehow detecting and writing to the card and the card is functioning properly, except that the phone does not detect that the card exists as expanded memory and will not allow me to use it.
    Any help with this would be really appreciated!
    Becoming quite frustrated now...   

    Hi Pepperami33,
    Have you tried to perform a reset? It will delete all your data so backup is required. See this link: http://www.windowsphone.com/en-us/how-to/wp8/basics/back-up-my-stuff for the steps on how to backup your files. After creating a backup, go to Settings > About > Reset your phone.
    If the reset will not work, it is best to have your phone checked by our care point. Visit www.nokia.com/support for more info about the repair process.

  • Wi-Fi does not detect on Satellite L40-139

    Hello!
    I have a problem with Wi-Fi connection on Toshiba L40-139 under Windows XP Professional
    I have all drivers for this model from this site.
    Also Intel PRO/Wireless 2915ABG: 9.0.4.39 adapter was installed.
    But during the installation there was an error "Couldn't install driver".
    Wi-fi card does not detect by device manager
    When I try connect to Wi-Fi network I have a message that there isn't any Wi-Fi devices on my notebook.
    Help, please!

    Hi
    As Im not mistaken the L40-139 PSL40E supports the Atheros 802.11g WLan card.
    And therefore you should use and install the Atheros Wlan card driver!!!
    Additionally you should perform a BIOS update.
    According to some postings here in the forum, the BIOS update helps to solve some WLan issues.
    Check it out & good luck
    Bye

  • HT4623 iphone does not detect wifi

    I have factory unlocked iphone 4s. It can not detect my home wifi. I tried every possible alternatives ...resetting, restarting. Nothings working. It can detect other wifi in the range. My wifi is in good condition. I am using this from my laptop. But only my phone does not detect this connection ?
    Please help me out.

    WE're going to need a bit more... what steps have you tried... what if any error messages do you get... at what step in the restore does it get blocked.... what happens,,, does it freeze, black out, not restart etc...

  • Easylink does not detect internet connection

    Please help. I have a wireless G broadband router model wrt54g. I've had it for about a year in a half and used it maybe twice. I just ran the setup and got an error saying easylink does not detect your internet connection. I went on line to make sure I was connected and followed the steps to resolve this issue. I got a message saying congratulations your router was configured succesfully but you are not yet connected to the internet. I went online to try and get help with this issue and downloaded firmware. My comptuer won't even allow me to run the download, it just does nothing when I click on it. Could someone please advise me as to how to get this router to detect my internet connection. Thanks

    Who is your Internet Service Provider..?
    Are you getting the internet connection,when you connect the computer to the modem directly...?
    If your Internet Service Provider is Cable follow this link
    If your Internet Service Provider is DSL follow this link 

  • Function does not have a body

    Hello, i have a problem running this program. an error "function does not have a body" pops up, do you guys know how i can fix this?
    stop();
    import flash.events.MouseEvent
    start_.addEventListener(MouseEvent.CLICK, onClick);
    function onClick(event:MouseEvent):void
    gotoAndStop(1,"Scene 247");
    gotoAndStop(1,"Menu");

    no curly brackets holding the code:
    try this
    function onClick(event:MouseEvent):void {
    gotoAndStop(1,"Scene 247");
    gotoAndStop(1,"Menu");

Maybe you are looking for