Chrashed Application LabView sometimes - OPC, DSC, database

Hello

I have a problem with LabView. IAM using 8.6 with DSC. I have an OPC Server with 400 Variables to read a 40 to write

My first try was the connection to the server via Datasocket. The reading 400 variables was very fast, but writing 40 variables was very slow. Each write cycle takes 10-30 s. I need now about 300-500 ms. a second is also ok, but no more.

After that, I created a mutual FUND I/O-Server in the library. I have create 10 variables in the same Libarary. I connect variables on the EVS to the IO server it works very well. Fast read and write. But if I use more than 6-8 variables to write shared variables that LabVIEW crashed or do nothing.

So I used the right click on the digital control - data binding - Data Binding selection-> socket Data. On the server that I am looking for the variable on the opc server. (Example pathpc: / / localhost/BACHMANN.) OPCStandardServer.2/DeltaPOx.DeltaPOx_DAQ. DeltaPOx.DELTAPOX__HostVorg_cont_MFCVorg_C2_02_soll). It works very well. I finished the project a make an exe file. Question: the communication going on AES or directly on the opc Server?

Now the problem:

(1) sometimes without any reason the connection with the SPS crashed. I show the LEDs of the PSP on the buttons a numerical indicators a green led switches to red. With customer Softwarefrom the producer of SPS, the communication works very well. If the SPS an OPC server doesn't always work. Even a reboot of the LabView program do not work. I have to restart the pc. After the reboot, it works well.

(2) once the database crashed. I use the Hyper trend to show trends in the variables. Sometimes if I open the tab with Windows Hyper trend data displays the Date of January 1, 1904. That I have to restart the database. The last time, it doesn't work and I had to rebuild the Application host.

(3) I get an error message "Runtime Error... Tagsrv.exe. I read that this message comes only if something tried to close the database. I have the error at startup of windows messages. Sometimes, after a few minutes or hours, or days. I install LabView 2009 now. I hope that the failure is complete.

I guess that something with the database or the OPC server is incorrect. Maybe someone has an idea.

Sorry for this stupid English :-)

thx for the help

Martin

Thank you very much!!!

It works for 5 days without crashing. I hope that this always works, even in a year :-)

THX Martin

Tags: NI Software

Similar Questions

  • application could not load the database

    I have a RoboHelp 9 project that I left open on my computer at night and microsoft updates ran causing my computer to restart.  When I try to open my project in RoboHelp 9, I get the following error:

    Open a project has been cancelled or the application could not load the database for 'C:\CODE\HELP\HELP. CPD»

    How can I fix the CPD file without restarting?

    Hello

    Just delete the CPD and re - open the project. When RoboHelp sees is missing, it will cook in the oven until a new use and then all should be well.

    See you soon... Rick

  • The application requires more privileges in database you currently have

    Hello
    in 10g R2, no one can connect to the network DB control (not sys, no sysman or system). We get the following:

    The application requires more privileges to database that you got currently. Click Help for more version specific information.

    We are sure to password.
    I saw and applied notes metalink 330682.1 and 363065.1 who said:

    grant SELECT_CATALOG_ROLE to the user;

    grant select any dictionary for < user >;

    but no result.

    Any help?
    Thank you.

    1. what operating system.
    2. what version of Oracle (10 g 2 is a marketing label not a version number... provide all decimals)
    3. What are the values of the environment variables ORACLE_HOME and ORACLE_SID?

  • Application is sometimes slow

    Hi all

    Told me to check the performance of a FUND of AIX with 10.1.0.2.0

    The customer says they run a certain ratio to 10:00 and all users are simply unable to use their applications as soon as they are dead slow, as this process / job sometimes takes 2-3 hours, which slows down their business process. The same report when generated at the party will take about 30-45 minutes.

    I advise to change the "timing" because users max connection at 10:00 & use the delay, so they have generated the report at 6:30 for example. at the time where few users would come, it took almost 1.45 minutes too.

    I'm confused as to where is the problem, I had generated AWR report & know 2 posts using the time max DB runtime (SQL ORDERED BY ELAPSED i.e.; 51.5% and 19.2% of the time of database) by 1 is a work which is the report (executed several queries nested & it is run ONLY ONCE in a day) and the other is also a work (I got a table of AWR report name which I checked with developers and got to know this dose of table in particular are not not a hint of one and is performed about 12700 times in 1 day).

    I'm not able to get the entire query of the two jobs of AWR report... no idea where I'll be able to find the complete query so that I can get the execution plan for the same...

    I have informed the customer of the State, I want to know what more I need to watch / am I missing something important?

    If I'm not clear, please let me know.

    Thank you

    Florent

    GV,

    Yes, we brought the application server, yet I could find ONLY SYS using the table, so kill this process & created index.

    had tried to create indexes online too... but received the "resource busy" error this is the reason why chose above steps...

    Yes had index created by logging in as a user, not as a sys such that it was created by the developer confirms once again.

    Florent

  • Deal with failure when using LabVIEW 2011 and DSC MODBUS communication

    I'm currently reading from operating records a PLC with MODBUS/TCP. I confirmed that the PLC will update the values and in response to a MODBUS communication correctly by using a third-party program called Modbus Poll. However, when I try to query the PLC using the LabVIEW shared variable engine, I am unable to read the values of the same addresses that I consult with Modbus Poll.

    My installation is simply to a PC directly connected to the controller via Ethernet without a router between the two. I'm using LabVIEW 2011 SP1 with the DSC module.

    I opened the Manager of distributed systems OR to display the State of all variables in the Modbus Library that I created, and I noticed that the ILO CommFail permanently the value 'true '. All other variables with a 'read' access mode signal "failure of process". I tried to restart the process and stop and start the local variable engine without success. I also restarted my computer several times to see if any services did not exist, but this does not appear to have solved the problem.

    Finally, I resorted to listening to communications on the network card I have the PLC connected via Ethernet using Wireshark and found that while Modbus Poll communicates with PLC, number of MODBUS and TCP packet is sent and received. However, when using only LabVIEW or the DSM OR communicate with the controller, there don't seem to be any communication on the network card.

    Something that may be interesting to note is that I could communicate with the PLC and to read values with the DSM just once, when I understood everything first what address I should be reading of. All of this has stopped working shortly after. Prior to this, 'CommFail' was not generally set to 'true' with my current setup. Thinking it was my firewall, I have since disabled my firewall, but this seems to have had no effect on the problem either.

    Any help on this would be appreciated.

    So, I thought about it. It turns out that the IP address of the server i/o MODBUS must be set to the address of the MODBUS slave, not the local computer. The address of the i/o MODBUS server is defined by the navigation in the Explorer window projects, expanding the variable engine shared library for MODBUS and right click on the server MODBUS (for example Modbus1) item and select Properties.

    In addition, the addresses seem to be shifted by + 1.

    Thanks for the tip so.

  • get all the screws in memory on multiple instances of application LabVIEW

    I try to get references to all of the screws in memory on multiple instances of LabVIEW application. Specifically, I'm trying to get the VI Refs screw (and their subVIs in memory) in another Explorer of projects at design time. (The other screws do not work.) For example, if you are only interested in VIs in the current instance of App (read the Project Explorer), you can use the following code:

    However, if you have multiple projects open, how can you get the references VI to the screw in the other project? It seems to me that it would be an another App Ref, but I guess I don't know how to get this reference. I'm assuming that if I could get this reference, I could use it in the same way as above for the list of App.AllVIs.

    Any help/clues would be appreciated. Thank you.

    I just tried the code below.  It runs in a single project; I have also open a second project with more than 300 screws and it opens a reference to each one without any error.  Are you the application instance reference wiring open Reference VI?

  • How to establish links of Labview with SQL server database Toolkit

    I'm a database newbie, but I have to use MS SQL server (2008) to store my data. I am well equipped with all the features of Labview, don't know how to use it properly. I now complete development, including the toolbox database. My latest version of labview is 8.6.1. Side material, I have cFP2220 and many modules of differnet kind.

    Here is a useful link that I found on the web:

    1. I got the database creation procedure (pdf file) to link the udl.

    http://decibel.NI.com/content/docs/doc-4602

    It gives a step-by-step login procedure to MS Access, and I'm able to save data to MS Access with the database Toolbox. However, I could not understand how to establish a chain of connection or udl to SQL server. In other words, I hope someone can explain in detail what is the procedure to set up such a link.

    2. I learned about the forum that there is a LabSQL, but it takes some knowledge of SQL statement. I would walk away from him, as I am not familiar with SQL.

    3. the VI I used for the recording of data in DB are very similar to "Create database Table.vi" found in the sample.

    In short, I think that I just need someone who has experience with the connection to the server SQL with Labview to show me the steps to link to SQL.

    Thank you very much

    You may not create a database in SQL Server using the control panel ODBC or a UDL. You must create a database by using SQL Server tools. (In fact, you can use SQL statements to create a database, which is what's really going on by using SQL Server tools. However, I don't know if the database Toolbox has the screws required to send these types of SQL statements.). Once you have created the database you can create tables using SQL Server tools, or you can use the screw of toolbox database.

    You try to run SQL Server on your computer? SQL Server is usually running on a server. You try to use SQL Server Express?

    Assuming that you have SQL Server running and a database has been created, then here are the steps needed to create a UDL to connect:

    1. In Windows Explorer, create a text file and rename the text file so that there a .udl extension (like this PDF).
    2. Double-click the UDL file.
    3. Change to the tab 'supplier '.
    4. Select 'Microsoft OLE DB for SQL Server provider'.
    5. Click on the ' next > ' button. It changes you to the tab 'connection '.
    6. In the drop-down menu, select your SQL Server. If it is not listed, try clicking on the Refresh"" button. If this does not meet the list, then you will need to enter manually.
    7. In the section "#2" specify the authentication method and credentials, if necessary, to connect to SQL Server.
    8. In the section "#3" specify the database that will be used, which is the one that you created earlier using the SQL Server tools. NOT SELECT THE MASTER DATABASE. If you do, you will completely screw up your installation of SQL Server.
    9. Click "Test connection" to verify that you can connect to SQL Server.
  • Another application on the ebs r12 database

    Hello

    I would like to know if I can create another user on the ebs r12 database.

    That's another application (not ebs).

    What are the risks?

    Is there an id doc on this subject?

    Thank you.


    It may not be available for that Oracle doc. But as a principle, why the unrelated database schema is created in the EBS database. This will add more load on the database of EBS, administrative effort. Let's say that your EBS database is down for maintenance, while the other application accessing this scheme does not require maintenance always, it will be down.

    concerning

    Pravin

  • HPL 11.1.2.3: How to create application of EPMA planning with database ASO.

    Hi all.

    I can't find any option for the creation of ASO database for my application of EPMA new (or existing). This is the option persist? Or only the "Classic" Application work with this new feature?

    ER

    Classic only, from the 11.1.2.3 planning readme:

    "You cannot work with contours ASO in Oracle Hyperion EPM architect."

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Java application to connect to the database

    I have more than 3 database with different products (DB2, Oracle, Sql Server), I need unique application that runs in the reading of the local computer of these database which is I set up columns.
    for example.
    In oracle have            x information
    In DB2 have               y information
    In Sql server have        z information
    When I run the application should request each database access password and user name, schema and column name should be exposed in the application. These requirements can be done in Jdeveloper?

    Please can someone suggest to me,.
    Thax
    RAM

    Hi Ram,

    Yes its running in jdeveloper/weblogic server.
    Ofcourese, it will run without application server.
    for example
    You can fund Java desktop Application (ADF) in jdeveloper if you want to create a desktop application

    Thank you best regards &,.
    Vikas

  • How to refresh Hyperion application after you migrate Essbase database?

    I want to copy my planning application from one machine to another (with exactly the same operational systems)
    I did it by database Archive

    1. on the original machine
    EE: Application-> database database->(Right click menu)

    2 copied the file archived on the target machine

    3 on the target computer
    create THE SAME application in hyperion planning and done as follows
    EAS:application-> database database->(Right click menu) Resrore

    @Refresh succeeded to @.
    And changed the outline in EAS

    But nothing changes in the planning application. How to refresh the planning scheme?
    Thanks in advance

    John is correct, I totally missed the detail that you archived of essbase database and makes the automatic assumption that you had saved/archived planning of the SQL database.

    The "schema" in a planning application is 'stored' in planning using the SQL repository. The Essbase outline is the analytic representation of this sketch of planning.

    To really migrate a planning application, in a way or another, you must copy the repository SQL planning in the application you are setting up, and then refresh to Essbase so going this route.

    Sorry for the confusion

    Kind regards
    Robb Salzmann

    SSO

    FWIW, here is a list of the major steps that I used in the past to migrate 9.3 - 11 Planning (manually):

  • Backup Application Essbase, perform the export level 0
  • Backup database to Application Planning
  • An inventory of safety, dimensions, performance parameters, forms and States
  • 11, create the new application with the same Types of Plan, same currency and set of business rules
  • Stop planning in the 11 database object, move, to re-create the database object and import 9.3 database
  • Apply upgrade SQL scripts
  • ALTER table to reflect the version and Shared/Server location
  • Start the Application and validate the inventory
  • Import level 0 in Essbase
  • Test

  • In Flex application feature sometimes works and sometimes does not...

    Hello

    Please help me on this...

    In my flex application features works sometimes and doesn't work sometimes does not...

    In my project, I have 5 sections with 5 separate screens... Each screen is a module of different.

    After logining in the application:

    I'll go to a screen... First time each feature works in this form...

    Ex: I have a screen with datagrid. This user select name from a datagrid job click on the next button...

    According to the name of the selected user work, I display information on the next screen and customer names.customer whose name is a drop-down list box.

    Here is the code:

    public void populateAllOEMCustomers(event:ResultEvent):void
    {

    1) var object_CustomerList:CustomerList = event.result as CustomerList; the values of the object //Assigining the object reference variable result.

    (2) var allOEMCustomersCollection:ArrayCollection = new ArrayCollection(); Variable declaration ArrayColliction referance.

    (3) var i: int = 0;
    (4) var customerComboLabel:Label = new Sun;

    (5) for (i = 0; i < object_CustomerList.arryCollCustName.length; i ++)
    {
    var strCustName:String = object_CustomerList.arryCollCustName.getItemAt (i) m:System.NET.SocketAddress.ToString ();
    var strCustId:String = object_CustomerList.arryCollCustId.getItemAt (i) m:System.NET.SocketAddress.ToString ();

    customerComboLabel = new Sun; Dynamic Declaration of the label.

    customerComboLabel.name = strCustName; Assinging the customer name in the label name box.
    customerComboLabel.text = strCustId; Assingning the customer id in the text box on the Label.

    allOEMCustomersCollection.addItem (customerComboLabel); Addition of Lable in the referace ArrayCollection variable collection.
    }
    customerComboID.selectedItem = ' - ';.
    OEMCustomersComboID.dataProvider = allOEMCustomersCollection;
    OEMCustomersComboID.selectedItem = - 1;

    }

    This feature works very well when I visit the first time on the screen... If you go back to another screen and return to the same screen and click the button following this names combo box customer time has no customer Details... I get Nullpointer Exception and it shows the number of the line 5 (I gave the above code number..)

    If I change the first line of the code to the following: each time the feature above works fine. Not getting no not an error msg...

    var object_CustomerList:Object = event.result;

    If I type cast in specific class (CustomerList), the feature does not work... do null pointer exception... If I type cast to object everything works fine... In my code each time I'm typecasted for the features of the specific class is not working (gettingNullpointerExcepion).

    Please help me on this... I don't get what could be the reason...

    I am using::Flex 3, Flash player 10.1

    Thanks in advance...

    Kind regards

    Satya

    Hi Satya,

    This sometimes as in your case may not work the way you have specified the RemoteClass attribute in your AS class. Because sometimes there may be a case because before it is mapped to a server-side, you are returned to the data and so that you can not get your custom class data but as normal object type.

    So to avoid this, you can map the class server-side for as classes in the Manager PreInitialize itself as shown below:

    Specify the preinitializeHandler in your main application and write the function below. That way, too, you can map as classes on the side server. So you will have no problem referring to your application AS class types.

    You can use the same line for recording of all classes. Using this, you can remove all of the [RemoteClass] attributes on all CLASSES and attach it to the unique place.

    preinitialize = "onPreinitialize ()" "

    private function onPreinitialize (): void
    {
    registerClassAlias ("com.expeditor.ScriptAdmin.Objects.CustomerList", list of clients);
    }

    In the line above the quoted string code refer to the namespace of the class on the server side and the second is your AS class. Also, remember to import the namespace from the correspondent as a class in the file.

    Try this and let me know...

    Thank you

    Jean Claude

  • ViewObject/Application module with 2 different databases-* URGENT *.

    Hi all
    I need to get the data of two databases for reading different oracle single table in a jspx page.
    It is possible to obtain these data using a single VO and his application module.

    If this is not the case, what is the way to go about such a scenario. How can I say VO to get data of different databases.

    Both are oracle db, but on different machines, different credentials.


    Thank you very much
    Amit

    No, it is also not possible. However, you can have two modules different app pointing to different databases. EOs / your inside a an appmodule will only be the connection that a single database.

    Arun-

  • Issue of application of categorical/historian-type database

    Two years ago I used a lot of PL/SQL and my brain can't seem to dig up of how to do it in PL/SQL database.

    Given a data table which looks like the following, what is the best way to query the table to get a result set that has a single record for each ASSET_ID representing only the last entry in the table for this value ASSET_ID?

    ID, ASSET_ID, INSERTED, ATTRIBUTE1...
    1, a, 09/09/08 12:00, bla...
    2, B, 09/09/08 12:01, bla...
    3, C, 09/09/08 12:02, bla...
    4, a, 09/09/08 12:03, bla...
    5, B, 09/09/08 12:04, bla...
    6, D, 09/09/08 12:05, bla...
    7 d, 09/09/08 12:06, bla...
    8 B, 09-09-08 12:07, bla...
    9, a, 09-09-08 12:08, bla...
    10 c, 09-09-08 12:09, bla...

    Given this picture, my recordset has:

    ID, ASSET_ID, INSERTED, ATTRIBUTE1...
    7 d, 09/09/08 12:06, bla...
    8 B, 09-09-08 12:07, bla...
    9, a, 09-09-08 12:08, bla...
    10 c, 09-09-08 12:09, bla...

    I seem to remember that there is a function (MODE? MODAL? CASE?) which can be integrated into one application to achieve this in a way that worked well and does not need an infinite amount of UNIONS and without compensation from the MDGS, but I can't seem to dig up. Any ideas?

    Thank you!

    Chris
    select max (id)
         , asset_id
      from x
     group by asset_id
    
  • Click on an application and sometimes restarting the computer

    I just bought a mac 2nd hand and by the title of this post it sometimes restarts the computer, however this is most frequent during the first 20 minutes of switching on the mac, after that it seems pretty stable.

    I'm on a processor I7, Macbook pro running 10.11.3 El Captain with 4 GB of ram

    I don't know if it's a hardware or software problem clues?

    Thank you

    Open the Console app.

    If journal list does not appear on the left, click view a list of journal.

    Click the triangle next to Diagnostic system reports. It should display the content of this category.

    Select the most recent kernel panic log. The name starts with core and ends with .panic.

    Select and copy the entire text of the panic begins after the line reading anonymous UUID.

    The copied log beyond panic at an answer here.

Maybe you are looking for

  • Tried to increase the bootcamp partition and now Windows will not boot

    I've got Yosemite.I wanted to increase the size of my bootcamp windows partition, so I searched for a way online, and I found this video: https://www.YouTube.com/watch?v=zhkdOLXT6Eg I followed all the steps in the video, but after you have started an

  • A question on the padlock for secure web site

    HI -. With this recent update for Version 16, I see more the padlock in gold on the right side of the URL address bar. How to obtain this padlock to appear again (for secure sites)? Thank youRandy

  • How can I get the adressbox and other fields of tools after the closure of all the fields of tools

    I closed all the tools and the address at the top of my firefox page fields to get a page size maximum for an application. Now I can't open them again, how do I do?

  • His slow on Tecra S1

    Hello I have a little problem. Since last weekend, the sound of my tecra s1 is slower than normal (the sound seems to be stretched. I tested it with my other PC laptop is on 30sek reading 5 slower than normal sek)I have not now why it happened. I tho

  • Satellite 1900-603 - need drivers

    Hello I am looking for some drivers for my laptop Toshiba Satellite, mainly pilots NETWORK and VIDEO (why even I ~ need ~ net drivers? if windows cannot be so smart enough to have these?) Anyway, going to [http://gedb.toshiba.com/default.asp] I get t