??? ALARM??? -no connection between rs232 and PC when using serialread.vi

i send you my code and whats happening when there is no connection with my RS232.the program execution doesnt stop but there is no data flow from the RS232.how to detect that there is no connection.
Attachments:
Pita.vi ‏87 KB
Pitai.ace ‏23 KB

There is not much execution control in the code; the initialization might be done prior or after the write, and you do a read without knowing how many bytes there really is at the port. Use dat flow to ensure that things execute in the correct order, and use the bytes at port to check whether the 7 byte reply has been received, do not read and decode before bytes at port reports that there is 7 bytes available...
MTO

Similar Messages

  • Speed between server and client when using FML

    I using FML between server and client, the server access oracle using only 5 ms, but when tranfer back to client, it about 100ms long. I tuned my hp-ux 11 kernel and tuxedo config file, but useless, Why?

    Hi Tumecan,
    Your expected information available here, check.
    Frontend Network Load - Network Integration Guide (BC-NET) - SAP Library
    few related SAP Notes:
    164102 - Network load between application server and front end
    500235 - Network Diagnosis with NIPING
    62418 - Network Load of SAPGUI Frontend Communication
    679918 - The front-end network time
    578118 - Long response times on the SAP GUI
    161053 - Using SAP GUI in WAN
    Regards,
    V Srinivasan

  • File sharing problem between XP and MAC when using Airport Extreme

    I recently got a Time Machine to replace my flaky Linksys Wireless N router and since I've done that I can't connect to my PC running Windows XP and was able to before. I have made sure my firewall settings are correct and have gone through many different settings on Time Machine but still no luck.
    I have my PC directly connected via ethernet to the Time Machine and my Mac is wireless. I'm able to ping the IP address of the Mac from my PC but can't ping in the opposite way.
    Any suggestions would be greatly appreciated.
    Thanks!!

    btw the error is
    "Attempting to copy to the disk "Guy_s iPod" failed. The file name was invalid."
    and then it says
    "The iPod "Guy's iPod II" cannot be updated. The disk could not be read or written to."

  • Connection between O and BP is missing

    Hi,
      When i check inconsistency for a user, i am getting " Connection between "O" and "BP" is missing. When i check the Org.unit in PPOSA_BBP, i could see no BP exists for that Org.unit where user is assigned. I have replicated the org.unit from HR system but yet the BP hasnt been generated. Can you please share your idea on this.
    Regards,
    Prasath J

    Hi Prasath,
    This might be because you need to assign the user to a Purchasing Organisation or a Purchasing Group. If the user do not have BP created then you can do this by using tcode USERS_GEN.
    Go to USERS_GEN and follow below steps :
    1. Select Create User From Existing SU01 user
    2. Enter the org id of the POrg or Pgroup under which you want to assign the user
    3. Select country and execute
    4. In next window one popup will occur, select Area Of User
    5. In next popup enter the user id
    6. Next select the user and click Ok.
    7. This will create a BP and CP for the user and assigns the BP to the Org id of the POrg or Pgroup.
    8. Now check the consistency of the user it will show all green.
    It might give you error like eMail id for BP XXXXX is missing if the SU01 profile of the user does not contain any user id but it is not critical.
    You can open the BP in BP tcode and enter the email id of the user.
    Let us know if it solves your issue.
    Regards,
    Mayur

  • Can someone please tell me a simple but effective method for burning a slideshow to DVD? Now that the connection between iPhoto and iDVD no longer exists, I can't figure out a way to get there with an acceptable quality result.

    Can someone please tell me a simple but effective method for burning a slideshow to DVD? Now that the connection between iPhoto and iDVD no longer exists, I can't figure out a way to get there with an acceptable quality result.

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailier like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    OT

  • No connection between iPhone and computer

    I have No connection between iPhone and computer. Please help me. My iPhone (4s) went nuts a little while ago. Nothing happend when I connected the charger. I had to take out and put it back in again and again and again, between 2-10 times before the charger finally was connected. It's been like this for a while now and a did'nt really have that mutch problem with it. Until today when I tried to sync/backup/restore the whole phone. It started to sync but stoped at the sync of the 5:th app. tried to start over but now my computer can't "find" the phone. It says that the USB-device is not reconizeble.
    Please help me.
    Sorry for the bad english.

    See Here...
    Device Not Recognised
    http://support.apple.com/kb/TS1538
    And Here
    iPhone, iPad, or iPod touch not appearing in iTunes
    iPod appears in Windows but not in iTunes
    Also, Here...
    Unable to Update or Restore
    http://support.apple.com/kb/HT1808

  • Error while creating connection between Java and ABAP

    Experts
    I am getting the following error message when I am trying to test the connection between JAVA and ABAP systems.
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (s09f71v06.svr.bankone.net:8100)
    5. The host name s09f71v06.svr.bankone.net was resolved successfully.
    6. The server s09f71v06.svr.bankone.net *could not be pinged* successfully.
    I have JAVA and ABAP on the same system. I am trying to establish a connection. I have checked all the settings and they looks fine. I have also pinged from other system to this server and the Ping works fine.
    Please do let m eknow where do I need to check for the errros or logs for the above error message.
    Appreciate your quick help.
    Mahesh

    Check the relevant services are test are active on the Backend system through SICF trransaction.
    Also make sure that default icm services are running.See note 517484.
    More important the connector test in the portal system should work properly,recheck the WAS path etc are correct.
    Regards
    Ajay

  • In Mountain Lion how does OS select between ethernet and WiFi when both are activated??

    In Mountain Lion how does OS select between ethernet and WiFi when both are activated??  How does OS use "both" networl accesses??

    It will pick the highest service in the list which has an internet connection.
    To order the list, open Network System Preferences and select Set order of network services from the button below the service list.

  • Having trouble with connection between Mac and My Book Live

    Hi,
    I hope someone can help me with a rather frustrating issue. I have issues with the connection between a mac and the MBL. Trawling through the internet, all comments and issues regarding this relate to Time Machine. I do not use Time Machine, but have a different issue. 
    I have a WD My Book Live, connected through home Router. I have, for the past couple of years, been using it to store all my music collection on. I use Itunes on a Mac Book Pro, and point the Itunes Folder to the MBL. This has worked fine....until.....I upgraded to OSX Mavericks......oh dear.
    Now, the connection is unusably slow, even when using Finder to view the contents of the MBL, it takes forever for anyhting to even show in the Finder Screen. Then, when I open Itunes it becomes even slower. Music will not play, it keeps stopping and starting, and trying to add music to the library takes hours.
    So, can anyone help with what the issue could be. I have updated the Firmware on the MBL, as well as updated the Mac.
    I also have a Window laptop and it is super speedy when viewing the MBL.
    Thanks

    Sadly that didnt seem to it. It is something to do with Itunes. Without Itunes open the connection is acceptable (still nothing like a Windows connection to the MBL, but acceptable I guess), but as soon as Itunes is open, it becomes slow, I am into day 2 of adding music to Itunes (not actually moving files, just building the library)

  • Powerbook alternates between battery and adapter when plugged in

    The other day my PB started alternating between battery and adapter when plugged in: the symbol changes from batt to charging every few seconds, brightness goes up and down. I've managed to find a position where it will actually charge. I even tried a new adapter, but it's still extremely temperamental.
    I'm afraid there's something wrong with the internal power jack, but is there anything else it could be? Any way to tweak the jack?
    Thanks!

    No, there's no way to "adjust" the port. It's soldered to a small Sound/DC-In card inside the Powerbook. What's apparently happened to yours is that the cord has been jerked rougly up, down or sideways one time too many, and one or more of the solder joints has broken. Because it's now able to move, however slightly, the rest of the joints are also being stressed every time you connect or disconnect the cord. Sooner or later another will break, then another. You'll end up having to replace the card when you can no longer shim or jimmy the port so it makes proper contact.
    If you're very good at very small-scale soldering, you could take the card out and try to repair it, but if you're an average ham-handed Joe like me, replacing the board is a better bet. Getting to it, while not actually difficult, is a pretty considerable adventure in an Albook, because nearly everything else has to be removed from the case first to reach it.

  • Live/realtime connection between WebI and Xcelsius

    Hi,
    is it possible to have some kind of a live connection between WebI and Xcelsius for the following scenario...
    I need to have my WebI report made availabe as an Xcelsius Dashboard and when I filter a value in the dashboard it should also get filtered in the WebI report. Is this possible and if so then how?
    Pls help.
    Thanks,
    SD
    Edited by: Sebastian D'Souza on Feb 22, 2011 11:39 AM

    Hi Sebastian,
    Yes this is very possible. Of the three connection methods (QaaWS, Live Office, BI Services) I would recommend BI Services for flexibility, speed to set up, and speed for query refresh times.
    Check out this post for a step-by-step guide http://blog.davidg.com.au/2011/03/drill-down-in-xcelsius-using-bi.html
    And refer to the Webi Rich Client guide in the section "Sharing Web Intelligence content with other Web applications" for the full details of how this works.
    Hope this helps.

  • How does iPad choose between wifi and 3G when both are 'on'?

    Easy peasy question.
    I have 02 and Wifi going on my iPad. I know I can use 02 out and about and I know I can use wifi at home etc.
    But when I'm at home how do I make sure I'm using my wifi for data and not my cellular connection???
    I've been turning my cellular to 'off' when at home, just in case, but I don't want to have the faff of turning it off and on, so it would be nice to know how the iPad chooses between wifi and 3G when both data access points are active.
    Also I've had no wifi troubles at home at all. so far... The acid test will be setting it up at work as they have proxyies for everything, but obviously I don't have proxies at home. I'm not sure if the settings screen can cope with different proxies dependent upon different wifi networks... * grin *

    In the status bar I have
    a signal strength indicator then 'O2-UK' then the 'fan' No mention of 3G.
    I'm guessing you're going to say that when 3G is showing then 3G is being used for data?

  • Build the connection between Arduino and Flex 4.0 via JSON

    Hi,
    I try to make a connection between arduino and Flex 4.0, I included the JSON lib and also as3corelib.swc to Flex. When I run the Flex file the connection between PC to arduino is working (I can see it in SERPROXY window) and also I don't have any problems in Flex window, I added the SWF file of Flex to the list at //http://www.macromedia.com/support/documentation/tr/flashplayer/help/settings_manager04.htm l, Bu the reading result is not shows in the SWF,    I couldn't understand why !, thanks for help
    here the code
    package
    import com.adobe.serialization.json.JSON;
    import flash.display.Sprite;
    import flash.errors.*;
    import flash.events.*;
    import flash.net.Socket;
    import flash.text.TextField;
    public class deneme extends Sprite
    {private var magnetic:Socket=new Socket("localhost",5331);
      private var magneticValue:Number=0;
      private var distance:Number;
      private var newText:TextField=new TextField();
      private var listText:TextField=new TextField();
      private var MNx:Number;
      private var MNy:Number;
      private var MNz:Number;
      private var d:Object={"x":null, "y":null, "z":null};
      public function deneme()
       socketDataHandler();
      private function socketDataHandler():void
       newText.text=magnetic.readUTFBytes(magnetic.bytesAvailable);
       d= JSON.decode(newText.text);
       MNx=d["x"];
       MNy=d["y"];
       MNz=d["z"];
       listText.x=10;
       listText.y=10;
       listText.width=600;
       listText.height=100;
       listText.text=newText.text;
       addChild(newText);

    package
    {    import com.adobe.serialization.json.JSON;
    import flash.display.Sprite;
    import flash.errors.*;
    import flash.events.*;
    import flash.net.Socket;
    import flash.text.TextField;
    import mx.rpc.events.ResultEvent;
        public class deneme2 extends Sprite
            private var newText:TextField=new TextField();
            private var listText:TextField=new TextField()
            private var magnetic:Socket=new Socket("localhost",5331);
            private var MNx:Number;
            private var MNy:Number;
            private var MNz:Number;
            private var d:Object={"x":null, "y":null, "z":null};
            public function deneme2()
                 magnetic.addEventListener(ProgressEvent.SOCKET_DATA,getDATA);
             private function getDATA(event:ProgressEvent):void
                newText.text=magnetic.readUTFBytes(magnetic.bytesAvailable);
                d= JSON.decode(newText.text);
                MNx=d["x"];
                MNy=d["y"];
                MNz=d["z"];
                listText.x=10;
                listText.y=10;
                listText.width=600;
                listText.height=100;
                listText.text="X="+String(MNx)+" Y="+String(MNy)+" Z="+String(MNz);
                addChild(listText);

  • Frustration! I have all igoods in order to use all, fully as should be. But looks like Softbank does no agree with any connection between iPhone and iMac... What in the world! How Apple let that happen???

    I live in Japan,
    I have all igoods in order to use all, fully as should be. But looks like Softbank does no agree with any connection between iPhone and iMac... What in the world! How Apple let that happen??

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Firefox > Preferences > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    See also:
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    *https://support.mozilla.org/kb/Images+or+animations+do+not+show

  • Handoff: No connection between iPad and iPhone

    Handoff: No connection between iPad and iPhone (IOS 8).

    Hi raydela,
    I understand your calls aren't being transferred between devices.
    Check out the troubleshooting in this article.
    Get help using Continuity with iOS 8
    If a call doesn't transfer to your other devices, or you don't see the Handoff icons
    Make sure that your devices are using iOS 8 or later by going to Settings > General > Software Update.
    Check your settings:
    Go to Settings > Wi-Fi and turn on Wi-Fi if necessary.
    Go to Settings > Bluetooth and turn on Bluetooth if necessary.
    Make sure your iOS devices are connected to the same Wi-Fi network by going to Settings > Wi-Fi and comparing the name of the network each is on.
    Go to Settings > General > Handoff & Suggested Apps and turn on Handoff.
    Go to Settings > Phone and turn off Wi-Fi Calling.
    Best Regards,
    Nubz

Maybe you are looking for

  • How do i find out what is taking up all  of my gb on my iphone 4

    I do i find out what is taking up all of my gb on my iphone 4? I have deleated all of my pictures, music, and games. There is nothing left in the usuage column to deleate but it says i have used 3.8. Where is it hiding?

  • Quicktime Player Ver 7.1.6 buffer overrun error during update

    Using XP pro and Quicktime player open, I try to update existing software... under the help tab. All I get is a Microsoft Visual C++ Runtime Library Box with Buffer overrun detected! The next line has Program: C:\program files\Quicktimeplayer.exe the

  • Why is there no option to change snooze in apple clock devices?

    Why doesn't apple provide an option to change the snooze time on their devices?? I find this really stupid, it's one of the most obivious thing to add in an alarm clock. Yet that option isn't there! Why??!! Isn't iPhone meant to be the smartest phone

  • Compressor aspect ratio issue

    All of a sudden this week compressor started outputting DVDs and Apple Devices in a long squeezed format, the default setting for example for 640*480 shows 640* actually shows as 640*380. I am outputting in 16:9 from high def the same settings I have

  • Can I convert to DNG after I have edited all my original Raw files in Lightroom?

    I'm asking because i've become convinced to use DNG's instead of NEF's and RW2's from my Nikon and Panasonic cameras. My main reason is future compatibility. I have already edited all my NEF's & RW2's from the past 2 years in their native file format