Ethernet communications over writing RIO on boot up

I have CRio 9068 that writes all setpoints to a text file on board while the program is running. My HMI is Vartech touch screen computer running windows 7 embeded. When power is cycled to the system and it reboots both the controller and HMI I loose my setpoints that were in the text files as they are getting over written from the touchscreen. We are using network streams over ethernet for the communications between devices. Is there any sample codes that I can look at to better understand how to prevent this from happing? I have thought about using a first call wired to time delay off timer then allowing the string to write the new variables but I don't think this is the best solution.

You'll want to Fetch the current values from your cRIO and store them on your HMI. You can see this pattern by creating the LabVIEW Real-Time Control on CompactRIO sample project, opening RT Main.vi on the cRIO and look at the case "Send Control Configuration to UI". Basically the messaging scheme you're talking about should be bydirectional. When your HMI connects to the cRIO it requests an update BEFORE it sends anything out, and waits for the cRIO to respond. 

Similar Messages

  • Lenovo H420 Desktop takes over 5 mins to boot up

    Hi,
    We have a Lenovo H420 desktop that takes over 3 mins to boot up. After you switch it on, the monitor displays a black screen with 'Lenovo' in white writing and remains with this screen for minutes on end seemingly doing nothing (hard drive  cannot be heard working and it's activity light doesn't flash). After about 3 minutes Windows 7 suddenly loads in a matter of seconds.
    Any ideas what is wrong? Is this normal?
    We've only had this computer for about 3 months and it has been doing it since we bought it. We reset the computer back to its factory settings but that hasn't changed anything. Bios doesn't seem to be accessible as no startup screen saying press del for setup etc shows.
    Kaspersky and Malwarebytes doesn't show any nasties.
    Thanks
    Solved!
    Go to Solution.

    Hello and welcome,
    Here's the current version of the manual:  Lenovo H4 Series Hardware Maintenance Manual V1.0
    And the user's guide: Lenovo H4 Series User Guide V3.0
    For future reference, these are available by going to SUPPORT (above ) -> QuickPath (enter model or machine type) -> Guides and Manuals
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Process Failure when communicating over MODBUS using LabVIEW 2011 and DSC

    I'm currently trying to read from a PLC's holding registers using MODBUS/TCP. I've confirmed that the PLC is updating the values and responding to MODBUS communication correctly using a third party program called Modbus Poll. However, when I try to poll the PLC using LabVIEW's shared variable engine, I am unable to read any values from the same addresses that I'm viewing with Modbus Poll.
    My setup simply consists of a PC connected directly to the PLC over Ethernet, with no router in between. I am using LabVIEW 2011 SP1 with the DSC module.
    I opened the NI Distributed Systems Manager to view the status of all shared variables in the Modbus library that I created and I've noticed that the CommFail bit is permanently set to "true". All other variables with a "read" access mode report "Process Failure". I've tried restarting the process as well as stopping and starting the local variable engine with no success. I've also restarted my computer several times to see if any services were failing, but this does not seem to have fixed the problem.
    I finally resorted to monitoring communications over the network card that I have the PLC plugged into via Ethernet using Wireshark and I've found that while Modbus Poll is communicating with the PLC, many MODBUS and TCP packets are sent and received. However, when solely using LabVIEW or the NI DSM to communicate with the PLC, there does not appear to be any communication over the network card.
    Something that may be worth noting is that I was able to communicate with the PLC and read values from it with the DSM on just one occasion, when I first figured out which addresses I should be reading from. It all stopped working shortly thereafter. Prior to this, "CommFail" was not usually set to "true" with my current configuration. Thinking that it was my firewall, I have since turned my firewall off, but this seems to have had no effect on the problem either.
    Any help on this matter would be appreciated.
    Solved!
    Go to Solution.

    Just a thought but I think the  register addresses used by LabVIEW are one off of the actual register #.  I was using a CRIO as a modbus IO Server and had to shift the register addresses by 1 to get things to work correctly (can;t recall if it was +1 or -1).  This is documented somewhere on ni.com but can;t seem to find it now.  But here is another  link that may help:
    http://zone.ni.com/reference/en-XX/help/371618E-01/lvmve/dsc_modbus_using/
    Dan

  • How to setup and configure NI OPC Server to OMRON PLC (CJ2H model) using FINS Ethernet communication protocol?

    Hi,
    Could someone help me in the setup and configuration of NI OPC server to OMRON PLC (CJ2H model) using FINS Ethernet communication protocol? I already read some materials available in the web but it uses a different PLC and communication protocol. The OPC server is installed in my laptop and I'm using Windows 8 as my OS. I used a cross over RJ45 LAN cable and connected to the ETN21 module of the PLC. I was able to confirmed the communication of my laptop and PLC by pinging the ip address of the ETN21. I also tried to configure the OPC server based on the documents I just read online. I created a channel, device and tag to the OPC server. By the way, I just need to read the data from the tag I created. Can someone also tell me how to monitor the data on the tag? I hope that you could help me. Thank you in advance. 

    Good day,
    Try following the instructions on the driver’s help, take a look at the attach picture. It should be a good starting point. After the PLC is configured you can use this tutorial (Connect LabVIEW to Any PLC Using OPC » http://www.ni.com/white-paper/7450/en/) for a guide on how to monitor the tags.
    I hope this helps
    Alejandro | Academic Program Engineer | National Instruments
    Attachments:
    OPC Server Help.JPG ‏237 KB

  • Ethernet Communications Issue

    Hello list,
    I have an ethernet communications issue.
    We can communicate with our products using two communications modes, ethernet, and a proprietary CAN. For the ethernet connection, I have a router that assigns a DHCP address to the product (169.254.130.005). For the CAN connection there is a hardware ethernet to CAN adapter that has an assigned address of 169.254.130.006.
    Below is a simplified example of the code I use to talk to the product. (there is only one loop...two loops are shown. One showing the True Cases, one showing the False cases.
    So I set the I.P. address, set "Connect?" to true, and run my code for a while. I then set "Connect?" to false, change the I.P. address, and then set "Connect?" to true.
    What I have found is that the "TCP Close Connection" does not actually close the connection, and the "TCP Read" and "TCP Write" are reading and writing to BOTH I.P. addresses simultaneously! (confirmed by using Wireshark). I don't understand how this can be since I only have one TCP Write and one TCP Write, and see only one "Connection I.D." when I probe that wire.
    Am I not closing the connection properly? Do I have to kill the connection ID in Windows somehow?
    Any ideas would be appreciated.
    Thanks in advance,
    Mike
    Using Labview 8.2
    Windows XP
    Attachments:
    Ethernet Issue.JPG ‏274 KB

    Nathand,
    The code shown is a simple representation of what I'm doing.  I guess it wasn't clear.  The switch is connected to a shift register to compare the previous & current loops itterations and only opens one connection "on change" of the "Connected?" input.  (that is confirmed with Wireshark).  Also, the product tells me that I have made only one TCP/IP connection on each IP address.
    I pass the Connecion ID that is created out the right side of the loop and into the left with a shift register when the connectionis made...so the same Connection ID is used for each read/write.  What I'm not understanding is how I can see only one Connection ID on the wire but a read/write to both I.P. addresses with only one one read and one write in my code.
    Any other ideas would be appreciated.
    Thanks,
    Mike

  • HT4889 Replacing System hard drive with a new one. How to get everything over to the new boot drive?

    Replacing System hard drive with a new one. How to get everything over to the new boot drive? Should I use Carbon Copy or does apple have a better untility to do this?
    I can't get my current system drive (OSX 10.8.3) to start on the first try. I always have to shut down and restart again to finally see the Apple logo.
    Have used disc utility to repair the disc and permissions several times and that works. The next time I boot up, it works fine and I get the apple logo, but then the second time I boot up, it's back to the blank screen again and it only boots after the second try.  I have tried this repair three different times now always with the same result. Works right the first try (after the repair) then from the second time on it doesn't work. I just get the white screen until I reboot a second time.
    Thinking I should change drives but what's the easist and best way to move everything over to the new drive so it will boot correctly with all my data on it. This is the system drive for a Pro Tools 10HD setup. MacPro 3,1 with 16 gigs ram and OSX10.8.3 on it.
    Thanks for any help!

    If you have a time machine back up of your current drive you can do this
    Shut down your computer, install the new drive. While the computer is off plug in the external hard drive that you have your time machine back up on. Hold Option key while the computer turnes on, let go of the option key once you get a grey screen. Shortly after you'll see  a list of bootable drives, select the one that has your time machine back up on it and boot into that drive.
    From there go into disk utility, format your new drive too, osx extended journaled ( I think, double check that, its been awhile since ive had to do this), hit format
    Exit disk utility and then you can use time machine to copy all your exisit data to the new hhd and then your pretty much done.
    There is also a program called Carbon Cloner that will do esentially the same thing however I've never uesed it.

  • Receiver SOAP channel error: Communication over HTTPS. Unable to create a socket

    Hi,
    I am getting following error while sending message from PI (7.1) to SalesForce system:
    'SOAP: call failed: java.io.IOException: Communication over HTTPS. Unable to create a socket'
    Scenario: Sending Customer data from SAP via Async proxy to PI which is sent further to SalesForce system via SOAP webservice call.
    When I am trying to Post data to the same webservice via SOAP UI it is working fine and data is getting updated in SalesForce system.
    XPI inspector logs for the channel suggest the following:
    client [103965] RequestImpl.initSslAttributes(): Initially sslAttributes = null
    client [103965] RequestImpl.initSslAttributes(): Cannot find SSL headers in the request.
    client [103965] RequestImpl.initSslAttributes(): No SSL attributes: not found in headers and not searched in FCA, because connection.isSecure() = false; sslAttributes = null
    I have checked the following SAP Note and requested for updation of SSL icm parameters
    891877 - Message-specific configuration of HTTP-Security
    I checked the following discussions:
    http://scn.sap.com/message/8910518#8910518
    http://scn.sap.com/message/6244674#6244674
    http://scn.sap.com/thread/2100000
    http://scn.sap.com/thread/1632114
    which are suggesting a different approach. Kindly suggest a way forward.
    Thanks,
    Vishwajeet

    This is related network issue.
    Did you do telnet in pi server with target system ip and port?
    If you use https then you need to install certificates.
    Check below threads
    http://scn.sap.com/thread/190299
    Unable to create socket error

  • SAP PCK communication over the internet

    Dear All,
    Could you please give detailed information on SAP XI PCK and SAP XI communication over the internet?
    1. I know there are few certificate issuing authority like DUNB..etc.
    2.How SAP will identify the SAP PCK on WWW? will unique ip will be given to both the system.
    3. If we need to contact these certificate,issuing authority,then how to proceed about it.
    Thanks & Regards,
    Himanshu Gaur

    Hi Himanshu,
    Please check the following links, they talk about  Communication Between SAP XI Landscapes:
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/d7d43fb9490c65e10000000a114b1d/frameset.htm
    also Integrating Smaller Business partners with PCK:
    http://help.sap.com/saphelp_nw04/helpdata/en/32/92e5bced6cb441af4360cfcb8142f3/content.htm
    and,
    PCK Highlight:
    http://help.sap.com/saphelp_nw04/helpdata/en/99/115281baba404890d2561617a78409/frameset.htm
    I hope it helps,
    Thanks & Regards,
    Varun Joshi

  • Using safari web pages have writing over writing hard to read

    I do a lot of surfing from web page to web page.  Lately it is very hard to read many of the pages as there is writing over writing.  Sometimes a section on the page is too small and I cannot read to entire content.

    Two main things you can try are to reset Safari, which can be selected under the Safari menu item and try deleting the .plist.
    You need to look in your user Library/Preferences for the .plist. Hold down the option key while using the Finder "Go To Folder" command. Enter ~/Library. Delete the .plist(s) for the application.
    If you prefer to make your user library permanently visible, use the Terminal command found below.
    http://osxdaily.com/2011/07/04/show-library-directory-in-mac-os-x-lion/
    You might want to bookmark the command. I had to use it again after I installed 10.8.2. I have also been informed that if you drag the user library to Finder it will remain visible.
    The article below contains other things to try:
    Speeding up Safari

  • Modbus ethernet communications problem

    We are having a lot of trouble with modbus ethernet communications. We are using Lookout 6.0.2. Communications is via a Lantronix UDP100 convertor to RS485. The protocol is MODBUS RTU. A number 6-8) instruments are daisy chained on the RS485 (2-wire) line and then connected to the Lantronix. I am using your Ethernet modbus driver.
    If all the modbus instruments are connected then the system works fairly well. However if one gets powered off or disconnected we start getting random comm fails from all the other instruments on that RS485 link. This happens even if I stop polling the dead instrument. It only goes away and the network performs perfectly if I close the modbus driver for the dead instrument.
    This behavior does not happen if we use RS485 to Lookout instead of the Lantronix+ethernet.
    Need some ideas soon.
    - VS

    Does the convertor you said support Modbus? Because Modbus serial protocol is different from Modbus TCP protocol, if the convertor doesn't support Modbus, I think it won't work.
    On the market, you can find Modbus/TCP to Modbus RTU gateway. But I'm not sure if your convertor has the same feature.
    Ryan Shi
    National Instruments

  • QoS for IP Communicator over WLAN

    Hi, We are in the process of deploying Cisco IP Communicator 2.1.1.0 but we are having voice quality issues when use IP COmmunicator over the wireless...We want to know if the AP 1200 series can be configured for QoS or the configuration has to be done only the switch port level..Thanks in advance..Our laptops are 802.1p enabled. Raj.

    depends if you're using vlans on the ap or not (if yes configure qos on the ap, if no configure them on the switch.
    the following is a useful resource on wireless qos...
    http://www.cisco.com/en/US/customer/products/ps6441/products_configuration_guide_chapter09186a00805d9209.html

  • Ethernet Pseudowire over IP/MPLS

    Hello there,
    Anyone has any case study example regarding transmitting Ethernet PW over MPLS/IP core network?
    Thanks

    Hi chris,
    Here is a link gives you brilliant explanation and also exampls configuration for EoMPLS and other stuff.
    In fact this is taken from the  Layer 2 VPN Architectures book by Cisco Press. I found it extremely helpful. It covers both the modes RAW mode(port based) and TAGGED mode(vlan based mode)
    http://fengnet.com/book/Layer%202%20VPN%20Architectures/ch07.html#idd1e13647
    HTH
    Kishore

  • SX-20 Camera Communication Over UTP

    We are using an SX20 codec with the PrecisionHD 1080p4xS2. As our camera and codec are more than 3 metres apart, we are using 2 breakout cables (one on the codec, one on the camera) for the proprietary HDMI/control plug (instead of using the supplied cable). The breakout cables are CAB-PHD4XS2-SPLIT=. Getting an image over HDMI through the breakout is working. Using the remote to dial a number, access menus etc is not working. There does not seem to be any communication over the UTP cable that carries the IR requests back to the codec. We are using a power supply to power the camera, but when this is removed the camera still seems to be powered via POE.
    Do we need a custom pin UTP cable between the breakout devices? We have used a standard CAT6e cable and a standard cross-over cable. We have also tried swapping pins 3 and 7, and pins 3 and 6, as we have seen to be possible solutions posted on the web.

    Questions about the SX20 codecs are probably better asked in the TelePresence section of the forums, so you may wish to move your discussion to there.
    In any case, the maximum supported distance for the Visca Control (serial cable) is 20m / 65.6 ft, so you shouldn't have issues extending it to only 3m.
    It is recommended that the camera is powered separately when using such an extension to the cable, and that the +12V pin on the Visca Control cable is not connected, apart from that, a straight through cable is required.
    Wayne
    Please remember to rate responses and to mark your question as answered if appropriate.

  • RT and instrument communication over ethernet

    We plant to use a Xantrex DC PS (interface info attached) and was wondering if we can use an ethernet hub in between the Host and the RT target and have all our stand-alone instruments connected to this hub. RT will communicate with these instruments over VISA. Hope nothing is wrong with this picture and it's doable.
    Attachments:
    Xantrex ethernet brochure.pdf ‏513 KB

    Hi Pavan,
    What exactly are you looking for? In other words, what do you think it could go wrong? The reason I am asking is that there might be several KBs or few, depending on what you are looking for. Now, NI-VISA shouldn't have any problem because it is a protocol that is used to communicate with instruments that are in a bus, like the GPIB bus or Ethernet bus, so I don't understand what could be the problem. If you have something in mind, let me know so we can discuss it.
    Ricardo S.
    National Instruments.

  • Ethernet default over wireless connection.

    when I boot up I want my network to default to the ethernet which is connected to the Dynadock U3.0 before the wireless in the Lenovo x220 laptop. The ethernet is much faster. is there any way I can have this occur automatically - rather than me having to shut off the wireless connection? any ideas?

    Mount the TC disk manually.
    In Finder use Go, Connect to server.
    Type in the following.
    AFP://TCname.local (TCname is the actual network name of the TC. I strongly recommend you use SMB names.. ie short, no spaces and pure alphanumeric)
    Find out the Network version of the TC name if you don't want to comply to the above rule. The best way is to discover it via netstat scan.
    Open network utility.
    Locate your TC on it.. since my TC is correctly named it shows up as tcgen4.local
    I then type in AFP://tcgen4.local
    Then the computer can discover the TC and it will ask for a password. The default is public
    Type in whatever you changed it to or public.
    The TC disk should now be mounted.
    If this fails.. reset the TC to factory and start over. Name it correctly.. all short names, no spaces and pure alphanumeric will be a lot lot easier.
    Then manually force the mounting.

Maybe you are looking for

  • Help with Boot Camp Internet Drivers (Mac Mini 2011)

    Hi all- I've come here looking for some help / advice with regards to internet access on Boot Camp I have recently installed. I have recently bought a Mac Mini i5 2011, and installed Windows 7 onto it. When I run OSX, I can access the internet with n

  • HT204387 Is there anyway to connect Apple Magic Mouse to my iPad 2

    Is there anyway to connect my Apple Magic Mouse to my iPad 2

  • How do register for an account with firefox?

    I thought I had registered for Firefox - but it was Mozilla add-nos. No where do I see where I can set up an account with my info for auto-fill and my cell number so I can download Firefox Aurora onto my cell. You have a lot of info but it all seems

  • Search not returning all 10 results per page

    Anyone seen this? When i do a search, i don't get all 10 per page... "Results from your search: 1055. Showing: 1-7." however, when i hit 'next' "Results from your search: 1055. Showing: 11-16." why aren't i seeing 8, 9 17, 18, 19....etc? 6.1 portal

  • Dot between email name cause me problem in ipad2

    Hi, I have a problem with accessing my email from IPad2. That's because my email name has a dot (.) between them ex: [email protected] When I tried to input that email in ipad2, it won't recognize the email. Is there any solutions?