OPC Server/Modbus/C++ Dll

Hello

I am currently experiencing this problem and don't know wht to go?

Laptop 1 (developed Labview interface)

Laptop2 (same GUI C++ but connected to the material) (.exe file is available and not of C++ code)

I need interface or connect Laptop1 with Laptop2 so that I can also have the same data in Labview. In simple terms how can I import data from Laptop2 to Laptop1.

Hi Arrowminds,

How the C++ code export data?  If we know, and it is compatible with LabVIEW, we can try and get in.  However, because the C++ code is an executable, if it is not designed to export data LabVIEW can receive then we cannot change this option to add functionality and used unfortunately there be a way to do this without the source code.

Kind regards

Tags: NI Software

Similar Questions

  • Problems using Modbus TCP accessible by NI OPC Server

    Hello

    I use OPC OR server to access a module of measure. The accumulation is pretty easy, my system with NI OPC, modbus door and the module connected with RS485.

    There is a thermocouple to provide me with some examples of data.

    But there is the point. I know, my data is in the records to be kept and I can access, but each type of data, I'm train does not bring my outgoing, any other (sometimes huge with e34, sometimes very small as e - 13...) my data sort, I do not understand.

    The type provided by the module must be single precision.

    The address used to be lookout is 41000 Labview in is just 999 and in the 'target' - OPC Server I get some values to 401000 but not useful.

    I also get the same results to access the 301000 into different types.

    Read/write or read-only is equal.

    I tried to tell my mutual FUND values are strings, floats, words, BCD, and all other possible means what mutual FUNDS offered to me, but nothing results in a usable temperature.

    I hope that I missed something and it might suggest.

    Cateros

    Finally, the issue is resolved.

    We tried a few others setting for the device in NI OPC modbus Modbus function 06 use simple written record. Using the Modbus 05 functions for single coil written and use default Modbus byte order.

    These parameters were not default and I tried some combinations but bad not these.

    As the tag data type, we tried anyway and got the content of the Register Holding data [0].

    Now it works, and the value is the casting of Holding register [0] and [1] Holding and I got the temperature.

    Already you are quite right, thanks again.

    Cateros

  • How to install the OPC Server with the Application Setup

    Hi all,

    I make the datalogging progam in the PLC via modbus communication using the OPC server.

    1. I got configer the opc via the Project Explorer client some time it works perfectly, but when I run it by the next day, he cannot communicate with an OPC server but the OPC server is to communicate with the PLC. When I right click on the properties of the customer e/s in the exploer project opc and make any change and still run the application it works where is the problem.

    2. the second problem is by building the installer that will be installered to my PC targate OPC server. Bacuse I had installed the application on the computer target just for testing but OPC Server havn't installed even if there is no option for adding the OPC while bulding server.

    Serdar, SALVATION

    Thanks for the reply I saw your example, your idea is ok, but if I have more then 100 and with different types of data tag then where is the problem to manage all these tags.

    Now, what I had done I took the express to create vi or configer server I/O and give the name of the process even as file name as opcdemomo and same server name reference in the Project Explorer and restart and scream in low tow and three times it works I havn't get any problem.but which is not the right method. 

  • OPC Server Connect slow, L32E

    6.7.1 using lookout, NOR for CompactLogix 5300, (AB L32E) OPC server, I noticed that after 300 labels, after a cold computer starts, it will take about 10-15 minutes for Lookout display data of up to 14 PLC (L32E), in real time.

    Now that I'm at 1 400 tags, read-only, it will take about 45 minutes after a boot cold for Lookout start playback of all the tags in real-time. I noticed a sharp increase in traffic network also after 45 min. With only a few writing tags that I use, I will enter a new value, the new value entered displays about 5-10 minutes later. If I'm waiting for 45 minutes, then I get written and the instant play sometimes.

    Any thoughts?

    This correction has done the job. AB L32E 15, 1025 + tags. Everything works very well.

    «Open the property of the unit and check the Mode of Protocol on the tab Options of Logix.» If ' Non-Blocking logic ' or 'Blocking of logic', replace 'Symbolic' and see if there is better performance. »

  • 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.

  • connect a controller without opc Server

    Hi, I can connect a controller for labview 7.1 (to send and read the data) without an opc server, using only one cable rs232 of the plc to the pc.

    Hi syd_b,

    Yes, VISA read and write operations are essentially functions, you need to use. Please refer to the shipping of serial communication examples. Again I have not the slightest idea how complex the DF-1 protocol is to implement. It could be a much better deal to buy an OPC server or a ready to use the library instead of reinventing the wheel, but of course it depends on your personal situation.

    Kind regards

    Jochen

  • cRIO communication as a PLC with NOR-OPC-Server

    Hello

    I have the task to implement communication between multiple cRIO and NOR-OPC-server. The OPC OR server should act as a data manager for a complex interface.

    I tried the NO-OPC Server and I managed to communicate with the server OPC-NOR as OPC-Client in Windows using a server IO and shared Variables. But the task is to do it on a cRIO. I tried to open a data from a cRIO socket connection to the NOR-OPC-server using a specific URL by using "DataSocket select URL.vi." But as long I do not activate the simulation in the OPC Server - OR-I get errors on the data socket connection opening. If I activate the simulation, which is not the solution, I can write data without error, but the quick OR-OPC-Server Client sees no change for the data label.

    I have the feeling that I am not a good way to get this working. Is there anyone with experience with this? Is data taken one possible at all? It is possible at all? I have to put in place a cRIO-OPC-driver?

    Thank you.

    Hello

    I found the solution in this article:

    http://www.NI.com/white-paper/7451/de#H36

    Thx for your help.

  • DSC: Connection to the 3rd party OPC Server

    I had this work with LabVIEW 2011 and Win XP...  After update I can't make it work...   Now with LabVIEW 2012 and Win 7, the server is now upgraded to Win 7 system.

    I'm reading a commercial server OPC of Yokogawa variables.  I can connect to the server.  I can see the variables and create a related shared variable.  But when I access the variable fails.

    Dave,

    My problem is very basic.  Go to the administrator in the 'control panel' the instructions say.  It does not exist in Windows 7.  I'm stuck.  Here is the complete procedure as given by the very useful Dylan Caswell.

    Here are the instructions for Windows 7 (I'll put this on the forum so that others can see or change the KB if it works)

    1. press on the Start button and Type: Component Services
    2. click on "Component Services" under programs
    3. in the left Section of "Component Services" expand: ' Component Services > computers > my computer > DCOM Config.


    4. search for the name of your OPC Server (in your case should be in the sense of: "Yokogawa Exaopc Data Access Server")
    4A (not sure if this is necessary, but I also repeated for the other server "Yokogawa Exaopc data access server OPC Link1")
    5. right click and select properties of your OPC Server

    6. click on the identity of the Properties window tab
    7. Select "interactive user."
    8. click OK, and then restart the computer

    This does not solve the problem, so I went to the second stage.

    If this does not work, let's try the other method, as described in the KB but for Windows 7:

    1. press on the Start button and Type: Services
    2. Select 'Services' under programs
    3. in the right part of the window, sort by name by clicking on the 'Name' column, and then select: NEITHER engine Variable
    4. right click NI Variable engine and go to properties
    5. Select the log tab, click this account:
    6. Select an account that is an administrator
    7. Select OK and restart the computer.

    There is a 'right click' option to stop and start the service.  I don't reboot but simply stopped the service, numbered 5 and restarted the service.

    Immediately my VI running began to show valid numbers!

  • Cannot write negative values on server modbus on cRIO 9068

    Hello everyone,

    I'm moving a project from a platform of 9114 cRIO a cRIO9068, the reason for a difference of heavy in terms of power CPU, memory, performance FPGA etc...

    Real time I deploy a modbus TCP server, and I publish just I16 data.

    The problem comes when the program tries to write a negative value to a binded on modbus variable. This variable is in the same format (I16), the program could write negative values, between 0 and -32768, but whenever the modbus force set to zero.

    I tested the modbus also with the 'system of distributed OR 2014 Manager' but always impossible to write negative values on I16, but I can if I consider the data as I32!

    (see files)

    Furthermore, I deployed a modbus server on my PC and in this case, everything is fine.

    More information:

    I work with labView 14.0f1.

    The cRIO are installed 'Labview RealTIme 14.0.0' and 'server Modbus I/O 14.0.0.

    I tested the feature on three different cRIO 9068 with the same result.

    I think it's something wrong with cRIO 9068, can anyone help me?

    Thank you

    MZ

    Hi, Marcello,.

    I was able to reproduce the problem cRIO 9068 and it look like a CAR (corrective action request). I've opened a request for Corrective Action (AUTO ID 511039) to report the issue OR R & D.

    Have you tried to implement MODBUS slave on ana MODBUS master PC on cRIO? I tried and it works even with I16 data types.

    I hope this will help you.

    Kind regards.

    Claudio Cupini

    OR ITALY

    Technical support

  • Running the Citadel on HMI and OPC Server OR

    Hello!

    I want to use computers to screen HMI NI TPC 2215 and it interface with a GE Fanuc PLC using OPC Server and save the data in a database of the Citadel.

    I would like to know if the HMI OR supports a full edge of the blown OPC Server and a database of the Citadel. I read that OPC Server and Citadel require a Windows operating system, but since the HMI runs a WinCE (or a WES7) so I'm not sure.

    OK... got my answer here

    http://www.NI.com/white-paper/13047/en

    http://sine.NI.com/DS/app/doc/p/ID/DS-408/lang/en

  • API supported by NI OPC Server

    Hi all;

    The following controllers are supported by an OPC Server OR:

    -Yokogawa CS3000

    -600 Smar

    Waiting for your valuable response.

    Thank you

    Yes, this should be possible. You will need to go to the Explorer project, right click on desktop-> New-> e/s server and choose Client FUNDS. You will get the attached page, how you can select network and choose the machine where the server is based. After you have configured it with success, you can bind variables shared for the mutual FUND records.

  • OPC server in the shared variable

    Hello

    I am writing a program to read hundreds of OPC signal from a server. The server is a localserver in the PC, but this isn't a Labview server. My labview program reads the signal from the mutual FUND through the data in a Labview library. (Variable type = single process)

    This way is functional but not optimal. I read in the help that I can use a published shared network variables. Is published this network can read the signal from my server through a network path without use of data? He will need a Labview Server?

    This is an example for my opc address

    OPC://localhost/hteControl_OPC_DA_Server/PLC_FI010_ValueLimit_SP

    Thank you

    fmpfmpf wrote:

    Hello

    I am writing a program to read hundreds of OPC signal from a server. The server is a localserver in the PC, but this isn't a Labview server. My labview program reads the signal from the mutual FUND through the data in a Labview library. (Variable type = single process)

    This way is functional but not optimal. I read in the help that I can use a published shared network variables. Is published this network can read the signal from my server through a network path without use of data? He will need a Labview Server?

    This is an example for my opc address

    OPC://localhost/hteControl_OPC_DA_Server/PLC_FI010_ValueLimit_SP

    Thank you

    LV - DSC (data logging and control) words allows you to "bind" the NSV to an OPC server.

    As long as the compliant OPC server operating system it should work and has been the case for me.

    Ben

  • OPC Server run only a few Variables - DSC

    Hello

    System: Win7, LabView2010 SP1, DSC

    I have a (Bachmann M1) SPS connected to the PC via an OPC server. I have a draft LabView 100 Variables. These Variables a figure on a HyperTrend a saved in an ASCII file. It works very well, most of the time

    But after a restart of the SPS it gives reading tower, about 25% of the Variables. In the control of the OPC tool, I can see that the OPC server is running and all Variables are very well. I also see in the NOR-DSM. Here, I can see that the value of the Variables is "NAN". After a restart of the process library, it works fine until the next reboot of the SPS.

    I have this combination of Hard - and Software component (SPS - OPC - PC) which works well on 10 other Test applications. Also after a reboot of the SPS. I also run the same software. I only change the address of the OPC Server and must import the reactive power. But the rest is the same.

    If anbody else have the same problem and maybe a solution for this problem?

    THX Martin

    Hi Martin,

    The LabVIEW Datalogging and Supervisory Control (DSC) Module offers servers OPC Client IO can communicate with any server that implements the OPC Foundation OPC server interface, which is a standard based on Microsoft COM.

    You should check the DCOM configuration for a local OPC server before connect you to a server OPC Client IO on the OPC server. National Instruments recommends configuring the server OPC runs with an identity of the interactive user.

  • Communication of Labview (OPC client) to the citect (OPC Server)

    Dear members,

    I want to access the data (from the Labview 8.6) which is on a PC of citect.  As I am not aware of citect, can someone explain me how to do this, if you had experience?

    Using the mechanism of data taking, I think we can run, but what kind of arrangements are to be made on the side of citect. Is it likely that an OPC server to perform citect side, so Labview can act as an OPC client? How can I implement this? I went through examples OR Client.vi, Browse to Item.vi OPC OPC Demo.

    Someone with a 'Labview' experience - Citect here?

    some ideas please.

    Thanking you.


  • 2011 OPC Server V5.5 in Lookout 6.6

    Hello

    I use Lookout 6.6 with the OPC 2011 V5.5 server.

    The OR - the server is accessible via Lookout and the integrated OPC Quick Client. But if I use another Client such as the OPC data-spy or PROFILAB,

    the server is not accessible, the name of the server appears in the list, but is not accessible. Other OPC servers installed on my PC are accessible by each customer. Do I need to have a special license for the OPC Server OR provided with the software of Lookout 6.6? I am using Windows 7 32-bit edition.

    Thank you for all the advice

    Greetings

    Claude

    Mike's right. We don't allow connection to the OPC Server OR the other OPC clients.

Maybe you are looking for

  • Spectrum HP convertible x 360: problem with autonomy estimated spectrum

    Hello I bought the HP laptop spectrum x 360 13 - 4159ND X 360 special edition 2 weeks ago, and it works really fast and excellent! With the exception of a few parts: -The power button is not in its place, it is just a little misplaced (has a weird an

  • Wrong name of operating system: Microsoft * r * Windows Server * r *?

    I bought a Windows VPS. Computer properties page does not display the Windows version. I run systeminfo > output.txt and output.txt wrote Host Name: WIN-HSSEHB0RKBD OS Name: Microsoftr Windows Serverr 2008 Standard OS Version: 6.0.6002 Service Pack 2

  • addition of digital signals

    I would like to create a digital waveform as instructions for a stepper motor. The task is to get the motor shaft turn at variable speed within each rotation. I tried to do this by dividing the rotation in a number of blocks that each run at a differ

  • Using the index

    Here's the hint im using for my application. The only problem I get with it, is that the actionBar upward when I run it. You open the application the actionBar is disformated, but if you shoot to the top of the keyboard, it looks very well. Here is a

  • How to restore my first backup of a DVD-R disc and subsequently two other backups? I don't have a computer image.

    I opened the options in system recovery Menu, but I have not anywhere; System 32 (?) was one of the optiions.  Is it possible to see/read the date/info on these discs?  Stickers for info I put on the discs came out.Also, how do I restore / turn on Su