VI for registration of remote OPC servers?

We use the engine tag DSC for save data from different remote OPC servers. DSC requires these OPC servers to be registered before connect you to them. To do this, we open the tag Configuration Editor and choose SERVER > BROWSE NETOWRK OPC SERVERS in the menu.

This set works well... but now, we want to automate the process. Is there a screw that we can use to register the remote OPC servers? As usual, I tried to search in the vi.lib\lvdsc folder, but I could not find what I'm looking for.

Is this possible?

I guess it is to add a few touches the registry or DATABASE file. Maybe we can build a VI that add some keys in the registry? Any tips?

John Paul,

All the used and registered remote server for LabVIEW DSC OPC are stored in the registry as you may have guessed. When you know exactly this registry stettings, you could create a LabVIEW VI with the register screw who writes specific keys in your registry.

What to write to what key?
1. search on the remote computer recording for the OPC server. You can find it under HKEY_CLASSES_ROOT\ for example, under
HKEY_CLASSES_ROOT\National Instruments.OPCFieldPoint is a mutual FUND of NI Fieldpoint server.

2. go to your computer where you want to save the remote OPC Server
HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\LabVIEW DSC\Remote OPC servers
This is for DSC LV stored remote OPC servers. If the \Remote OPC servers is not the equipment you could generate this key. (just with default data folder)

3. Add keys to own because it would be created by the GUI of TCE interface. Basically, you need to copy the same keys (OPC, CLSID, OPC\Vendor server name) as you found them at the point 1. the key to servers remote OPC with the difference that you add the computer name before the name of the server in square brackets.
For example, the tree would look like:
HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\LabVIEW DSC\Remote OPC servers
------(ComputerName) OPCServerName
\CLSID
\OPC
\Vendor

The key data are the same settings of REG_SZ data found in 1.

If you need to register some of the servers remotely on multiple computers that I would recommend to export GUI TCE generated key via the regedit.exe and import it on any computer that would connect to the same remote OPC server.
If you want to automate the importation without the user interface of regedit.exe, you can call in a prompt, regedit.exe/i/s. E.g. regedit.exe/i/s c:\temp\Remote OPC for LV DSC.reg

DSC in the DATABASE file stores only the VI, proxies and servers IAK (obsolete).

Hope this helps
Roland

PS: Since it is manually facts and National Instruments does not provide documented APIs or screws to do such things - currently, it is recommended to use GUI TCE to register remote OPC servers-, it can not be guaranteed that this describes the procedure would work for the latest or other versions of LabVIEW DSC.

Tags: NI Software

Similar Questions

  • OPC servers OR with the hardware OR

    Hi all

    We want to use the latest version of NI OPC (v. 4.27403.1 - U) servers for the collection of data from different sources (cDAQ, WSN) hardware. Has anyone have experience, how does it work? Material is NOT mentioned in the list of drivers NI OPC servers!

    Thanks for your support!

    Frank

    Frank,

    You can set up a virtual DAQmx Global channel for each data source unique cDAQ, and you can use LabVIEW to write an application that runs on the WSN gateway programmable to publish the data received in the variables shared on the network. These two sources of data can be imported into the OPC server from OR.

    To read the DAQmx virtual channels, create a new channel of NOR-OPC data, configure it to use the driver 'OPC DA Client' and select the 'Engine.1 of Instruments.Variable national"on the local computer as OPC server.

    Then add a new device for each of your channels DAQmx (leaving the largest part of the default options clickable at the moment) and when he was asked to select items to import, find and select the global virtual channel DAQmx in the category "National Instruments.Variable Engine.1\System\DAQmx\" and click on "Add >".
    .

    Best regards
    Sebastian

    PS: the new version of NI OPC's NI OPC servers 2010, code internally V4.500.462.0 :-)

  • Download a update, I get this message,"you don't have the appropriate permissions. Choose another directory for registration. How to choose another directory for registration?

    Trying to update from Mozilla, I get the error message following, "the file would be not saved because you do not have the appropriate permissions. Choose another directory for registration.

    How to choose another "directory" of record?

    Press Alt + E and then N to bring up your preferences. On the general tab, check the option "always ask me where to save files.

  • Can not find driver for CompactLogix L32E in OPC Server OR

    Anyone know how to contact the CompactLogix L32E Lookout 6.5.

    It doesn't seem to be a driver for it in the OPC server from OR.  Can someone point me in the right direction.

    I thought that the 5300 ENI:CompactLogix would work, but it does not work.

    Thanks to the folks at Kepware. I was able to get this working for CompactLogix L32E.

    Step 1: In the OPC Server OR create a new channel. The channel name can be anything you want.

    Step 2: Device driver will be ControlLogix Ethernet.  You can also enable diagnostics if you want.

    Step 3: Network adapter. I used default.

    Step 4: Write only the latest values.  Service at 10. (These are the default settings and are recommended.)

    Step 5: Finish new channels configuration

    Step 6: Click the icon to create the new device

    Step 7: The name of the device can be selected.

    Step 8: Select model of device in this case CompactLogix 5300

    Step 9: Device for me ID been XXX.XXX.XXX.XXX, 1, 0 IP address (note the 1 redirects the path at the bottom of basket.) 0 to the location where the processor is)

    Step 9: Device synchronization.  Leave the default values.

    Step 10: Automatic demotion leave unchecked.

    Step 11: Leave default values do not generate start remove create and enable the subgroups

    Step 12: Port and watchdogs with default settings

    Step 13: Options of the project leave default. (In my case, I've changed to short because that's what most of my tags was)

    Step 14: Create tagname of the device.

    Step 14: Finishing Device setup.

    You now have two options.

    Option 1: Start creating labels according to your needs. (This is what I did)

    Option 2: Newly created device right click and select property.  Then select the database creation and click auto create.

    Go to the belvedere and create the new driver.

    Select Client OPC

    The server name will be on the menu drop down. National Instruments: NIOPCServers

    Click OK

    You must be done and smiling.

  • Remote OPC c ++ dll

    Hello

    I use an OPC Server (with Data Access 3.0) and I'm trying to develop an application Client OPC Labview on Windows Vista.

    I also use a C++ DLL where the activities of the OPC client are made!

    Everything works fine if I use this DLL OPC Client to an Application from the Console Windows C++, so I think that all the DCOM settings and other settings are fine.

    But if I try to connect and read something with Labview remote OPC Server OPC and "call library Node function' then it is not possible to connect the DA-Session with the point DA!

    Can someone help me? Is there a setting in Windows to Labview.exe necessary?

    Local OPC Server work well (also with Labview).

    Thank you

    Hans

    I solved the problem (s)!

    Problems:

    -Labview-> socket Data-> local OPC Server: OK, remote OPC: error

    -Mit .NET or ActiveX OPC Toolbox Labview Client: local OPC Server: OK, remote OPC: error

    Solution:

    Add the line "ole. AuthnLevel = 1 ' in the LabVIEW.ini file.  (C:\Programme\National Instruments\LabVIEW 8.6\LabVIEW.ini)

    Now it works!

    Hans

  • The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    Can someone bring me (Labview is new to me) in the right direction?

    John

    See attached the amendment. I made a change to my suggestions and possess the top-level VI for the null refnum. See if it makes sense.

  • I changed my computer; in the former, I installed Adobe Acrobat 7 Pro. I installed the DVD this software in the new computer, the installed software apply for registration, and it is not possible online or by phone because I get an e

    I changed my computer; in the former, I installed Adobe Acrobat 7 Pro. I installed the DVD this software in the new computer, the installed software apply for registration, and it is not possible online or by phone because I get an error message: "Servicio de Activacion not available." I have download the acrobat 7.0 Pro software, following the instructions on the Adobe web site, and I download PPRO_2.0_Ret - NH_ES.zip, but the software has been Adobe Premier Pro, no. Adobe acrobat 7 Pro. How can I use my Adobe Acrobat 7.0 Pro?

    Download Adobe Acrobat 7 and Adobe Creative Suite 2

  • Photoshop elements on Windows 10 12.0 ask constantly for registration and then nothing happens

    PES 12, I installed on a windows 10, the software has been activated on an old computer (only once, so another installation should be possible). When I try to start the program, I get a dialog box asking for registration within 7 days, or that the software will stop working. I follow instructions, use my Adobe ID, accept the terms, and then - nothing happens. I didn't even get an error message. PSE does not start. If I click on it again, the same thing happens. Does anyone have an idea how I can fix this? Please?

    Nikolas

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific time) <===> NOTE DAYS AND TIME

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Serial number and activation support (non - CC)

    http://helpx.Adobe.com/x-productkb/global/Service1.html

  • I have a Creative cloud photography Plan (CC of Photoshop Lightroom). There a serial number for registration? because I have received no series by mail, but it works well!

    I have a Creative cloud photography Plan (CC of Photoshop Lightroom). There a serial number for registration? Because I have received no series by mail, but it works well! And he never asks me to activate with a serial number. I just pay monthly Plan.

    I ask this question because I have to change the computer and I didn't have trouble disattivate App and put it on the new pc!

    Can I turn off just from the creative cloud by disconnection of the account application, uninstall the application and then install on the new pc?

    The CC has not need any number of series, it is based on an Adobe ID.

    In the case where you are prompted for the serial number then you can refer to.

    Concerning

    Baudier

  • synchronization: How can I store the mails for different accounts remotely and manually copy the most important e-mails in local folders on both devices?

    Hello. I have two machines and two accounts, so what I want is this:
    I want only to store mail from two accounts in a remote place and copy more important mails to local folders.

             (I will be grateful for any ideas as to where/how this "cloud" can be - specially free places)
             * Can I have a copy of these local folders in both devices and the remote storage?
             * Could i synchronize devices so that: when i move a mail to a local folder in any device, its copied to the same folders in
                the other device and the remote storage place?
             * The remote storage place will have many other folders. When I open Thunderbird, I also want to see these and the mail
                inside, and also be able to move mail from the inbox to these folders.
              * One of the accounts is gmail. In Account Setting tool, there is an option for synchronization. If there is no easier way, I can have mail for other account copied to gmail, and just syncronize gmail mail. For this, how will I copy my present folder structure to gmail. And how can I syncronize the local folders on the two devices?
    

    Thanks in advance.

    The first awkwardness that I see is that there is no clear format in which to store the messages remotely such that you can work with them in an email client. It may be possible to set the option "Local Directory" of the account in Thunderbird to point to a remote folder (DropBox comes to mind) but I've never tried, and I'd be nervous about what happens if the connection cannot be established, or if you happened to access it simultaneously from two different locations. The other concern is that mail stores are fast becoming big, and you would be forever download and download large files (several gigabytes). Thunderbird stores what looks like a folder that contains many messages separated as one big file, so there is no simple possibility of incremental changes to load up/down.

    The idea of local folders in Thunderbird is to detach messages from servers, therefore they do not follow what is happening on the servers. I say this to emphasize the distinction between files stored locally and permanently ("Local Folders"), against copies cached files online ("synchronized"). It is not sure to consider your folders synchronized as permanent.

    So folders synchronized on an IMAP server are "mirrored" in Thunderbird you do not have a local (although temporary and transitional) copy of messages. This is done primarily to avoid download repeatedly the messages if you re-read, and it makes the fastest search more effective. But these "synchronized" track of message that are deployed on the server, and so if they are deleted from anywhere, all devices that are synchronized at one point also see messages deleted endangered. (Except if you have saved a local copy on the local folders account).

    I use a gmail account quite as much as you described; Copy or move messages to this account, so that they are visible in my phone, my tablet, my own laptop and my computer works. It's free, and it is "in the cloud"; the only reservation I have is her private life. There are other suppliers (e.g. 1 & 1/gmx) who do not seem to have the fetish of collecting data that google thrives.

    It's pretty simple to create filters in Thunderbird to automatically copy messages to your account "cloud." even better is to implement the translation of rules on the servers of other accounts, to ensure that your messages are automatically sent and waiting for you when you log in next time, already in the cloud account.

  • Seting place labview as a remote OPC client

    I'm having trouble extraordinary setting LabVIEW as an OPC client on a remote computer.  I followed the guide of the OPC foundation on Windows (http://www.opcfoundation.org/DownloadFile.aspx?RI=326) dcom configuration.

    On a single machine seems to have had some success.  Kepware quickclient using, I can connect and view the values for all of the tags on the server.  When I use the DSC module to set up a mutual FUND I can show tags, but it does not connect to the server ("Connected?" State of customer variable set to false).  I can't see the value of the flags.

    On another machine I place, I can't reproduce the pooling at all.

    I'm using LabVIEW 8.6.

    Thanks for any help I can get.


  • Best way to configure MySQL connection scripts for hosts the remote and

    I'm curious to know if there is an effective way to do it.  I have my local MAMP server test, then a remote server, both with MySQL.  Pages requiring PHP and databases at the start with a link to my login script.  However, the connection to my local details vary my remote servers.  I have two login scripts and need to change the link of each page when I download, or have a login script and change it directly whenever I'm working between the two.

    How will people work effectively in environments the and remote?

    The login script does not have to be in your PHP pages. Not good security. It should be above the root of the Web site, where it is not accessible via http. The name of the file containing the script of the same for the remote and local, even if the content is different.

    Then your PHP pages call a file with the same name and you don't need to change anything.

    require_once '... /... / / here. Connection.php';

    Also note that the file name begins with a period that allows to hide.

  • Actions by different default for local vs remote files

    I put the default action for documents for automatic download, I want to keep.
    Is it possible to have different behaviors for local links (file:/foo.pdf), namely opens automatically (for example, using a plugin) instead of 'download' of their new?

    I ask this because I generate a local html file to easily navigate and organize my growing collection of scientific articles, which are stored locally.

    I solved for the moment by creating two different profiles with the corresponding actions of the file. Of course this isn't the best solution, because I need to keep the two instances of the browser running, and I need to use the appropriate forum for local vs navigation remote

  • HP Pavilion TS Sleekbook 14: Notification for kidnapping HP Remote Connect keeps appearing.

    I recently updated to W10 anniversary and, during the process, a message that HP Remote Connect had been removed. (As I never used it, it did not concern me unduly).

    However, every time I turn on my computer, I get a notification that she was kidnapped.

    Is it possible to disable this notification, as it is beginging to annoy me?

    Michael Cahill

    @M_Cahill

    Welcome to the Community Forum of HP.

    M_Cahill wrote:

    I recently updated to W10 anniversary and, during the process, a message that HP Remote Connect had been removed. (As I never used it, it did not concern me unduly).

    However, every time I turn on my computer, I get a notification that she was kidnapped.

    Is it possible to disable this notification, as it is beginging to annoy me?

    Michael Cahill

    I do not recognize this service / connection / program / process.

    I am a number (a lot of) references to something called "HP connected remotely" - maybe it's the program / service to which you are referring.

    I can offer the following ideas:

    Easy:

    If you have not already done so, just try to shut down the computer completely > wait 15 seconds (or as long as you can stand it) > to start the computer from a stop condition, and log

    Locate the deviant service:

    Control Panel > display icon > Administrative Tools > System Configuration >

    Services tab > CHECK temporarily hide all Microsoft services >

    check the list for the offending program > uncheck if found >

    Clear the check BOX Hide all Microsoft services > OK

    If the notification after the connection, check / adjust:

    Windows key > settings > applications and features > search for the offending program and uninstall

    Windows key > settings > Notifications > Scan quick action icons > > if you find the offending program > Add or remove quick actions > drag the indicator to OFF for this program

    Windows key > settings > Notifications >

    Drag OFF Get notifications for apps and other shippers

    Slide OFF receive advice, tips and suggestions that you use Windows

    Reset the network

    Although extreme, the following might help if the parameter is somehow stuck in your network.

    Read / understand the warning on action requiring a reinstall of VPN / virtual switches.

    Thus, if you use static IP address settings, these too, may need to put in place.

    Windows key > settings > network > Network Reset

    When you see a post that will help you,

    Who inspires you, gives a cool idea,

    Or you learn something new.

    Click the 'Thumbs Up' on this post.

    Fixed / responded? Click this post accept as Solution to help others find answers.

  • Anyone know the code for bdp-n460 remotely?

    I lost my remote and I'm trying to program a universal remote but I can't find the code.

    Hello Bilaala,

    You try to use a universal remote control from Sony to control the Blu - ray disc player? If you use a Sony universal remote control, then the control code for the BD player is 01 or 001. However, we are unable to provide support for remote controls designed by other manufacturers. Other manufacturers may set different code numbers in their universal remote controls to identify the infrared (IR) signal of a Sony product. Thus, the code number used to control the BD player or other Sony products in one one remote can be different from the one used by another.

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

Maybe you are looking for

  • Can I use the FF logo on a t-shirt design? Or I would violate some sort of copyright?

    I know, not really a problem, but I don't know where to ask... So I came up with this brilliant idea to create a custom design t-shirt with a few logos on this subject and I wonder if I would be violating some (c) if I included the logo ff on this to

  • storage of the data output of while loop

    Hello I have a data acquisition system set up to read the couple of a transducer. The output needs to be fed with an excel document, once the program stops running, or when a key is pressed. with the current code attached, the excel document is creat

  • GTA 4 with parental control

    I can not open the game because of parental controls (the program to say), but I run it in admin account already...If anyone has a solution please inform me at

  • Install Epson v300 scanner Vista Home premium sp2?

    Seem to be at a standstill between two crazy - Epson says Microsoft... Can someone help, please?

  • Problem connecting wifi P513w

    Hello I have a Dell P513W, which I had not used during the last 3 years. It was previously connected to a different network. I have a Dell inspiron with 64-bit Windows 8.1 2320. I only use as anti virus windows Defender. Can I connect the printer to