How to access a shared on a remote device with a variable IP different during execution?

I need expert advice. I need to do something that sort of violates the assumptions behind the model of variable communication shared LV I have to be able to read a shared variable since a cRio device when the IP address of the device is not fixed.  In other words, the IP address of the device is known only at run time. Is it still possible?

The only way I can think that LV would be able to find variable motor device/shared on the remote device is by changing the alias the runtime file and then try to access the variable shared again hoping this will cause also the sv engine note the new IP address and use it.

Hi Rob,

Yes it is possible. There are several ways to do so, but here are two. If you have LabVIEW 2009, use the new features for programming of the shared variables in the data communication palette. These just have an address that you can determine at run time. The address is of the form ni.var .psp://machinename_or_ip/libraryname/variablename. Here is an example of selecting a name at run time using these features:

If you are using a version prior to 2009, you can use DataSocket roughly the same way except that the address forms a little different - psp:\\machinename_or_IP\libraryname\variablename. These are also present in the same range of data communication.

Either of these methods, you will get better performance if you open the connection once, write several times and close the connection when you are finished. You should avoid opening and closing of the reference variable whenever you want to access the variable.

Good luck

Gerardo

Tags: NI Hardware

Similar Questions

  • How to access a shared file on my RN212 NAS remotely from another program?

    I've looked everywhere trying to find how to access a shared file on my RN212 NAS remotely from another program (kodi) on my iPhone 6 more remotely, away from home. I tried to FTP, UPnP, HTTP, etc. anything and it's driving me crazy! I run the program kodi from my phone for watching videos stored on my SIN, I have a router NightHawkR7000 and believe that I am fairly warned to get this figured out, but apparently not lol I have all the correct ports forwarded, but perhaps I'm missing a step somewhere. Any help on this would be much appreciated!

  • How to access Windows 8 PC on the Internet with remote desktop connection?

    Hello

    Can someone tell me how to access Windows 8 PC on the Internet with remote desktop connection?

    I'm good with the software and I have used many Microsoft software since the 1980s. So I like Microsoft products, but since they have outsourced their tech support, you can't support quality even if you pay for it. I followed all the instructions in the Windows 8 will help about DRC setting screens, but I can't connect unless I'm on the same home network. Here are the details:

    I have a desktop PC with Windows 8 Pro and I have authorized the DRC. I tried two settings in system properties:

    1. Allow connections to this computer remotely.
    2. That allow the connection of computers running Office remotely with authentication NLA.

    I also turned on both private and Public Windows Firewall settings > allow an App or feature through Windows Firewall.

    I have installation then DRC to my laptop with Windows 8 (standard edition, not the Pro version). I have a DRC using the full name of the computer and other DRC using the static IP address for my ISP Desktop connection.

    I use the user account administrator Windows for connections of DRC of the laptop.

    I cannot get this to work on the Internet from a location outside my house with another ISP connection. The only way it works if I'm uncomfortable with the laptop using the same network home.

    I called Dell tech support and it is always useless and just a more aggravating waste of an hour to talk to their support of technique outsourced in India (who barely even understand English) and then they hang up the phone as it was supposed to be disconnected. I also called Microsoft support and lost more than an hour to speak to their outsourced tech support in the Philippines (and as support of the India, they hang up or 'disconnect' when they cannot answer your question and they go account learn you more about Windows while they do). U.S. tech companies use AMERICANS more for their technical support so their customers can get people who actually care about doing a good job and can actually understand English?

    So if someone who knows using Windows 8 for DRC on the Internet has some tips, then it would be greatly appreciated.

    Thank you!!

    P.S. If anyone is offended by my comments about the ugly, incompetent, stupid providing "technical support" in India or the Philippines - Nevermind! You go ahead and waste hours of your time talking to some Morón in these countries, who barely understands English and then 'disconnects' the call when they know that you realize that they are clueless and have all the answers.

    Take a look at no - IP.com or dyndns.com, and then use your host.domain:3389 of no.-ip/dynDNS or run RelaVNc SErver that is running on port 5900 by default.  Server options allow you to change the port as well if necessary.

  • How to access a URL in the BB device 10 Apha

    Hi guys,.

    I want to know how to access the URL of the browser in BB 10, I'm not finding the tab URL, where I can type the URL, any info about BB 10 aplha device will be useful.

    Concerning

    Rakesh Shankar.P

    You have to slide the screen from the top down, from the top of the screen to the bottom of the screen and you will see that the url bar appears again. If you want to enable the preference that the url bar is always visible, there is a toggle switch on the toolbar, you can activate in the opposite State, in which it is currently.

  • I don't know how to access the online interface to change settings with WCG200

    With my old router I just typed something in the address bar of my browser to access the securtity settings, and I read with this WCG200 router I need to type my ip address in the address bar, but I still get nothing. I can put other peoples what IP I will be asked to enter a name and a password, and put in my own IP gives me nothing, but a page load error.

    I'm trying to open a port like I did with my old router, but I can't do it with this one. Any help would be appreciated.

    You must type the IP address of the WCG200 and not the IP address of the computer connected to the network.

    To find the IP address of the WCG200 you must click on start > all programs > Accessories > guest... A black box will appear (command prompt)... In the command prompt window type ipconfig and press "Enter"... Look for Ethernet adapter Local Area Connection address IP, subnet mask, and default gateway...

    The default gateway address is the IP address of the WCG200...

  • How to access a shared script?

    I try to print a script that someone shared with me about the history of adobe. The email said "I shared with you a document on Adobe Story as co-author. Please log into ww.adobe.com/go/adobestory to access this document", but when I click on the ink and log I don't see the script anywhere. When I go to 'manage the common scripts' to the project, that I will not let me click on either

    Once you login, you will notice a message (top-right) icon.

    Click on it. There will be a notification to accept the shared script.

  • How can I stop sharing music on media player with other users on my computer?

    whenever I have download a song off Frost wire, it will appear on media player.  No problem.  The problem is that it also appears on the media player on my profile brothers and when I remove it out of there it also deletes it out of my Media Player.  How can I do so that when I download a song it will only appear on the media player on my profile. I have Windows XP.

    Hi Sean4474,

    What version of Windows Media Player are you using?

    You can follow these steps to stop sharing media & check if it helps.

    a. click the arrow below the Library tab, and then click media sharing.

    b. in the media sharing dialog box, select her share my media to check box.

    c. in the list of devices below the share my media to check box, select a device.

    d. If you do not want to share your media with the computer or device you have selected, click on refuse.

    If you use Windows Media Player 11, you can check this link.

    Change settings for sharing media in Windows Media Player

    Note: This article is for Windows Vista, however it is also valid for Windows XP.

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to access the inner workings of firefox (debugger) with mozrepl

    I want to use mozrepl to:
    -Open the js debugger
    -switching js file
    Toggle the breakpoint

    How to do?

    Best place to ask this question is in their support mailing list: https://groups.google.com/forum/#! for... /mozlab

  • How to access my webcam on my laptop HP with Windows 7?

    Hello

    I have a HP 200-369WM Windows 7 laptop with an internal webcam. I got a link to it in my taskbar when I bought it. When I deleted the shortcut, I lost all access to her. I need to know what to do next.

    Thank you

    Anne

    Hi Anne,.

    Download I linked is the version listed for your notebook - although this is a basic version of YouCam, i.e. the option available for most HP laptops, should not be an evaluation version or of limited duration, unless you choose the "Upgrade" option in the software.

    What version of YouCam is reported as being installed?  You can normally find it by launching the application and then clicking on the Cyberlink Youcam link at the top left.

    I assumed the model number will keep you should be HP 2000-369WM - if that's right, all the software and downloadable drivers are on the following link.

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4063&LC=en&cc=us&DLC=en&sw_lang=&product=5171087

    Kind regards

    DP - K

  • How to access a JSON structure key that starts with a number

    I have a strange problem here.  I can access any other JSON structure so I am not able to change it.  The JSON structure keys are named with the characters and numbers like this:

    0198456
    product_id198456
    1Feat Rashaan Houston Tony Loreto
    artistFeat Rashaan Houston Tony Loreto

    So, in other words, there is a key named "0" and a key named "product_id", containing the same key.  Why they did it, I don't know, but they did.

    In one case, the data stored under the key name text is not identical to the digital key named.  I tried to view the data in the digital key like this (it is an array of structures):

    #strStompyJSON.data [1].0 #.

    but I get the following error:

    --

    Found no valid CFML building online 41 in column 31.

    ColdFusion has been looking at the following:

    .0

    --

    When I do the following, it works fine:

    #strStompyJSON.data [1] .product_id #.

    So, it seems that CF does not like to access a variable that begins with a number.  I am able to perform a loop on the structure by using a loop of the collection, and it shows all the keys (including digital) and their values using the following code:

    < cfloop collection = "#strStompyJSON.data [1] # ' item 'key' = > '"
    #key #: #strStompyJSON.data [1] [key] # < br / >
    < / cfloop >

    However, that does not allow me to access specific keys named with a number.  Is it possible that I can access a key that is named more precisely with a number?

    Thank you!

    Mike

    Have you tried the support rating that I proposed in my first answer?  In my tests with your code, it worked without problem.

    Thank you

  • How to create a menu burger for mobile devices with submenus?

    Hello

    I don't understand why Muse have still a self building mobile menu as it does for Desktop - Web sites. All other tools like RapidWeaver done!

    So I have to build my own burger menu manually. The problem is: How can I build with the submenus? Levels got more complex Web site and it would be much better, if the user can access directly through each of them on a mobile device in a burger menu.

    Can anyone help?

    I don't see what you want potential problems.

    Not 100% what you want, but the simple option is to nest panels in accordion inside each other. I spent 10 minutes during lunch at one place scheme (the burger is bad image and size of items is all wrong, but you can play with it (and change from pretty bad looking for something OK/good)).

    Mock up quick hamburger

    If you really want a slide from the right as in the example you have pointed out, you need to insert some html/css:

    -build the submenu just next to the page and the group. Listen to samples and inspect the element chromium to find the UID of the group. The click of the menu item, call the submenu UID and move the element on the page. Include the ease settings to soften the transition.

    Can go more in detail if you wish.

    Good luck and sorry is not the prettiest workaround. Maybe build widget a day.

  • How can I synchronize my favorites of the device with Firefox for Android

    is it possible that I can sync.the bookmarks on my device with Firefox for Android

    Hello

    We have just implemented this in beta version of Firefox. So if you install it, you must go into the settings and at the bottom there is an import of point Android. A dialog box allows you to import bookmarks and history. It will be in the end V15.

    Thank you
    Michelle

  • How to disable the possibility of return on investment, are based on Imaq display, during execution.

    Hi again. I have the necessities to disable the ability to draw the KING imaq exposed. The user can make of the strange symbols on the interface and I don't want that, it must be kept clean. Can I do something?

    Francesco.

    Okay, stupid question. I've just disabled.

  • I don't see how to access my e-mail account in Firefox. Help!

    I just switch to Firefox and do not see how to access my e-mail account, which is with Comcast. I'm missing a few very basic step and need help.

    http://Xfinity.Comcast.NET/

    You cannot use the E-mail button on this page, just above my profile XFINITY?

  • How to access the BIOS on Satellite C series

    Hello everyone:
    We try to download the Version of the OS on the Satellite C (for W7 W8).
    How can access us the BIOS?
    We are an impulse the F3 key during the loading process, but it does not work.
    Thank you very much

    Hi Rodrigal, a I hold the F12 key while turning. Then enter the password (if have one), while still maintaining F12 and press NumLock (if enabled), if numbers in password. Then options BIOS developed. It's a little tricky, but F3 does not work for the one I have. All the best, Tim

Maybe you are looking for