Latency in accessing Citadel Database over the LAN

Hi! 
I have two systems running LabVIEW 2013 with DSC 2013 and I am using one of the systems to acquire (using shared variables) and log data internally in the citadel database. I have made an application to visualize this data either locally on the same PC or over the LAN. When I am using the application on the same local machine which is logging the data, its all working fine and very fast. But when I access the same database over the LAN, the application takes a finite amount of time (anything between 2-18 secs everytime) to retrieve and show the data. Since the database size is very small (less than 5MB), logging rate is low (1Hz), number of traces are not much (14 traces), data is boolean, it should not take so much time to show the values over the LAN (the application should be as snappy as it is on the local PC). I am at my wits' end but I am not able to reduce this latency or find any logical reason for it to be present. 
I specify the logging PC's name whenever I want to retrieve the trace (as shown in the attached picture), I have a feeling that if I replace that with the IP address of the system, things should become fast. But whenever I try this, LabVIEW throws up an error saying that the specified trace/database does not exist.
I am attaching a pic of the architecture and a simplified image of how I am retrieving the data from the database with this post.
Any help shall be deeply appreciated.  
Attachments:
LAN Architecture.png ‏23 KB
Accessing database.png ‏14 KB

To enable external access without VPN, you must assign an external IP address and also map that external IP to the server. Additionally, you must open the associated ports (http) on the firewall (doesnt matter what firewall you use). You will have to map the extranal ip to the internal IP that you have set on the EBS server configuration. In some cases, you have to enable the proxy as well.

Similar Messages

  • How to send a SQUARE WAVE to PXI-6259 over the LAN

    howcan I  send a SQUARE WAVE  to PXI-6259 over the LAN, is
    there any example or link any one can send me , thanx in advance.

    Dear HaI L,
    I managed to send a test signal (sine wave) to the device by choosing
    the test panel option and choosing Analog output. In the analog output
    I could many channels to choose from. ai0, ai1.ai2 and ai3.
     I did this by right clicking NI PXI-6259, in the NI DAQmx devices
    located in the Devices and Interfaces and choosing test and saw it on
    an Oscilloscope without using the NI DAQ OPC capabilities, and I cannot
    understand this thing.
    1)How can it be possible without  making a NI DAQmx  channel and Variable?
    2) I cannot create any channels in the devices and interfaces located
    in My system but I can create NI DAQmx Global Virtual channels easily
    in Data neighbourhood in the remote system, Plz tell me why?
    3) I  want to create a program and choose a channel to send the
    signal,  can I choose the channel that i create in the remote
    system device ? and if yes how can I choose this ?
    Thanx in advance.
    Sincerely,
    Munir Afzal Bhatti.
    Attachments:
    max.jpg ‏2305 KB

  • Access USB HD over the internet using Windows?

    I have my airport extreme connected to a USB hard drive an everything works fine at home. I have already configured the airport with my "me.com" info, but how do I access this drive over the internet using windows at work?
    Thanks.

    I would like to do this too. Did you figure it out?

  • Replication Manager - Syncing mdb databases over the Internet

    Hai
    I am new to access replication. I have been given the task of syncing two .mdb access 2000 databases with eachother over the internet using Replication Manager 4.0. I keep getting no or little reference on how to to this and was hoping I can get a full tutorial
    on how to sync over the Internet using Replication Manager.

    I think SQL*Net uses port 1525.

  • Access Time Capsule over the internet

    Hey guys! I have a problem. I cannot access my Time Capsule over the internet.
    I have a Time Capsule 2013 which connects to the internet using a PPPoE connection and which provides wireless connection to other peripherals in my house.
    The TC is running the latest firmware and I've added my iCloud account in AirPort Utility settings, in order to access the TC over the internet, via Back to My Mac.
    Whenever I'm away from home, I cannot access the TC.
    I see it in Finder's sidebar, but whenever I press the "Connect As.." button I get the following error:
    "There was a problem connecting to the server “Time Capsule”.
    The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again."
    I must add that I have a dynamic IP. Whenever the Time Capsule restarts, it gets a different IP.
    Am I missing something?
    Please help me. It's really important for me to be able to reach it when I'm away from home.

    So the modem is bridged and the TC is doing the PPPoE authentication.. and it gets a public IP on the WAN interface.
    The dynamic nature of the IP is not a problem with the BTMM and iCloud type system which should keep the intermediate connection in the cloud up to date.
    What about the connection at the other side.. are you getting a public IP.. are you behind a firewall or restricted access? Remember both sides of this have to work.
    See this thread.. you are not alone.. all is not sweetness and light unless you get a proper business account with static IP.
    https://discussions.apple.com/thread/3699096?start=0&tstart=0
    Apple info has a bit about issues that people experience.. and Tesserax has some setup info.
    Remote Access
    I would use the public IP and see if it works.. that means you need to check the IP before you leave home or use your phone tether and do the test at home so you can type in the public ip and use direct access .. at least to test it.

  • Connect String for the front end app to access Lite Database in the Client

    Hi,
    I have been using an app developed in VB.net for accessing the Oracle Lite Database from the client machine. Can anyone please help me out how to set the Connect String in the config file of my front end app to access the Oracle Lite Database from my client machine. Do anyone have the syntax of the connect string to access the lite database in client machine.
    Thanks a lot in advance.

    Hi...
    -->Select example
    create or replace procedure get_emp(rc out sys_refcursor)
    is
    begin
    open rc for select * from emp;
    end;
    -->DML example
    create or replace procedure do_dml_emp(pempid in number,
    pempname varchar2,
    result out number)
    is
    begin
    insert into emp(empid,empname) values(pempid,pempname) returning empid into result;
    exception
    when others then
    result:=-1;
    end;
    -->DDL example
    create or replace procedure ddl_emp(colname varchar2,
    coltype varchar2,
    result out number)
    is
    begin
    result:=-1;
    execute immediate 'alter table emp add column ' || colname || ' ' || coltype ;
    result:=1;
    end;

  • Connecting to a database over the internet

    Hello ,
    Ok heres an interesting question -
    I would like to have an applet running on my browser which needs to connect to a central server over the internet, which in turn will need to connect to a database and query some results. These results will be stored as flat files within the server.
    At the moment, I have a URL that connects to the database via the
    internet and that is working. However I don't think my applet on my browser will be able to create a flat file on that server direclty.
    Could some one please tell me how to go about this problem?
    Shalini

    Yes, put a servlet in between the applet and database. Let the servlet interace with the database on the applet's behalf and write that file on the server side.
    %

  • Saving an Image to an Oracle Database over the Internet

    I would like to know how to transfer an image over the Internet and save that image to an Oracle Database. That is I am trying to make it so that a user can connect to the Internet and select an image file form their PC in TIFF, JPEG, or some other format. Next, I would like to save this image to an Oracle 7.3.4 Database in a LongRaw data type. This image will need to be save into a certain record in a table that I created. In the next few months we will be upgrading to Oracle 8 that uses Blob data type. Any one who knows how this can be done, please let me know.

    Yes, that's right. Here is the pertinent code:
    In the flax app:
    private function captureImg(imgEnc:IImageEncoder):void { 
    var ohSnap:ImageSnapshot;ohSnap = ImageSnapshot.captureImage(img, 0, imgEnc);
    textArea.text = ImageSnapshot.encodeImageAsBase64(ohSnap);
    InsertImage(textArea.text);
    In the HTTP service AS module:
    private  
    function InsertImage(sImageCoded:String):void { var sQry:String;sQry =  
    "INSERT INTO image (lImageId, blbBitMap, txtImage, lRecipeId) " sQry +=
    "VALUES(0, '" +sImageCoded +"', 'text', 23)"  
    //Alert.show(sQry);mysqlQuery(sQry,
    "InsertImage");}
    As mentioned previously, an HTTPrequest error is generated although I can enter
    the string into the blob manually in MySQL.
    Scott

  • Reading/writing to remote database over the internet

    Hi,
    We have a hosted APEX application and have a requirement to be able to query and update our local database. I believe our options are:
    - Set up some web services locally and reference them from our hosted APEX app
    - Create a database link from the hosted instance to local instance and query/update the tables directly
    I'm looking for opinions and advice on the best (secure, reliable) way to approach this.
    Thanks,
    Andrew.

    Yes, put a servlet in between the applet and database. Let the servlet interace with the database on the applet's behalf and write that file on the server side.
    %

  • Cant access my Database with the new user I created

    Hi,
    I creatred a database using All Programs> Oracle OraDB10_home1> Configuration Aand Managing Tool> Data Base COnfiguration Assitance. My DB name is MYTestDB. Then I created a user trough http://localhost:1158/em my user name is testuser and password is testuser. I cant login into my DB when I use
    sqlplus testuser/testuser@localhost:1521/MYTestDB also using SQL Developer I cant login. I keep getting message invalid username and password. However if I use this commad sqlplus system/system@localhost:1521/MYTestDB works fine also sqlplus testuser/testuser@localhost:1521/orcl It works fine. Any help will really be appriciated.
    Thanks
    Asgar

    user1096243 wrote:
    When I create a user there is no way where I can select which DB this user belongs, or is there one?
    Thanks
    AsgarIf you are going to work with EM (dbcontrol) in this manner -- with multiple databases -- you have to configure a separate instance of dbcontrol for each database. A given instance of dbcontrol can work with only one database instance. The distinction in accessing the dbcontrol is that each one will have its own port.

  • Accessing a file over the network

    Hi ,
    I need to access a file for read/write operations. The file may exist or may not on another computer in my network. I use the File class for accessing the file. (File f = new File("\\192.23.23.23\file.txt");
    My problem is how can I know if I cannot access the file because I have network issues (e.g. The file exists but the network is down so its not accessible) or because the file really dont exist on the given address.
    Since File operations does not throw a specific exception Its hard to know the exact reason for access failure.
    Any suggestions ?
    Thanks.

    Javaist wrote:
    Hi ,
    I need to access a file for read/write operations. The file may exist or may not on another computer in my network. I use the File class for accessing the file. (File f = new File("\\192.23.23.23\file.txt");
    My problem is how can I know if I cannot access the file because I have network issues (e.g. The file exists but the network is down so its not accessible) or because the file really dont exist on the given address.
    Since File operations does not throw a specific exception Its hard to know the exact reason for access failure.
    Any suggestions ?Here's a complete hack that only uses File that is completely coupled to Windows and the "\\hostname\dir\file..." syntax. This is not a universal solution and strongly urge you not to use it:
    public class NetworkFileTest {
       public static void main(String[] args) {
          File file = new File("\\\\myhostname\\tmp\\filethatexists");
          if ( file.exists() ) {
             System.out.println("File exists");
          } else {
             if ( hasPathToHost(file) ) {
                System.out.println("File doesn't exist");
             } else {
                System.out.println("No path to host");
       private static boolean hasPathToHost(File file) {
          if ( file.exists() ) {
             return true;
          } else {
             file = file.getParentFile();
             if ( file != null ) {
                return hasPathToHost(file);
             } else {
                return false;
    }This just recursively checks the parent to see if it exists. Once it gets up to the host "directory," it will return false if the network is down, or true otherwise.
    Remember that there's absolutely no way to check if a remote file exists if the network is down, short of carrier pigeons. This will just tell you if the file might exist.
    Edited by: endasil on 9-Oct-2009 10:43 AM

  • Startegy to have multiple databases over the time.

    What do you think is the best approach to have different versions of the DB in the time?
    Facts:
    -There is only one tablespace TABSPACE
    -There are two schemas:
    One is data schema SDATA
    The other one is a synonym schema SSYN
    The data is present in SDATA is accessed through SSYN
    -The DB is updated monthly
    The requirement:
    Have the objects(tables, sequences,packages...) and the data as the DB where in particular month with the ability to easily switch from the sate of a particular month to other.
    Constraints:
    The schema names must be always the same.

    No version number and your explanation is, likely due to language difficulties, impossible to decipher.
    I would suggest you find someone with good English skills and repost including details and version number. Include examples where-ever possible to add clarity.

  • Accessing Remote Data Over the Service-Enabled Application Module

    Hi,
    I am trying to access the service enabled module remotely(model project is deployed on different machine) deployed on Integrated WLS server. For that I have done the following step;
    1)     Created simple model project as producer.
    2)     Created the jar of model project(producer) .
    3)     Added the Bc_profileCommon.jar to the Consumer app.
    4)     Changed the connections.xml(Consumer) file accordingly (PFA).
    5)     Created the Entity Objects based on the wsdl in Consumer.
    6)     Created the JNDI on server and added the users with credentials.
    7)     I managed to access service enabled app module locally.
    But I am not able to understand following tags in the connections.xml(for remote access) file such as
    <StringRefAddr addrType="jndiProviderURL">
    <Contents>t3://10.180.190.214:7101</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="jndiSecurityPrincipal">
    <Contents>weblogic</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="jndiSecurityCredentials">
    <Contents>kiran</Contents>
    </SecureRefAddr>
    Also I am getting a warning for the SecureRefAddr as “No grammer available for the absent namespace contents of element of Contents cannot be validated.”
    Please let me know the significance of the red word. And what value I should set so that it will access the service enabled application module remotely?
    ** I am using Jdev 11.1.1.3.0

    As Bob rightly says you may have a problem if the machine you are trying to access is on a corporate network as you will need the permission and help of the network administrator to achieve this.
    I assume from your post that there is not a VPN connection set up on the remote PC network. Assuming that you have access to the router on the remote network then you will need to set up portforwarding on it at some point so I suggest you go to this page and see if your router is listed as you will need some instructions if you don't use the software suggested by Bob.
    When accessing a remote machine, PC or Mac, I have always used a secure connection to do so and the alternative to a VPN is an SSH tunnel. Unfortunately unlike the Mac Windows doesn't come with SSH server software installed so if you want to go down this route you will have to install and configure this first. I haven't tried this on Windows 7 yet but I have been successful on Windows XP and there are plenty of sites with instructions on how to set this up like this one here. Once the SSH server is set up on the PC and port 22 on your remote router has been forwarded then you can set up a SSH tunnel in the same way as described in my post in this thread http://discussions.apple.com/thread.jspa?messageID=10847513&#10847513
    Message was edited by: Sean Dale1

  • HDMI over the LAN CAT6 for Mac Mini

    The Mac Mini setup:
    Living room: Mac Mini as a media player wired to Panasonic 3D plasma.
    Bed room: Apple Display
    How could I use one Mac Mini as a player/computer in the living room, AND bedroom?
    Should I pass a HDMI cable from the living room to the bedroom, (under the parquet), and connect a HDMI splitter with the Mac Mini (one HDMI to Panasonic plasma and one HDMI to the Apple Display)?
    The length of the HDMI cable would have to be 15m
    Is this the only possibility? I won't need to use different content @ the same time in both rooms.
    The problem would be that when I will be in the bedroom in front of the Apple Display, the wireless keyboard and the Magic Mouse, will have to pass the signal trough a wall to the Mac Mini that will be in the living room, next to the TV.
    I have a CAT6 network, 2 sockets in the living room, (behind the TV), and 1 socket in the bedroom. It's possible to use the network with HDMI signal with one sender, and one receiver, but both will need two CAT 6 sockets in each room. I have only 1 in the bedroom.
    There are any other options available that I don't know about?

    MacMagnus wrote:
    Ok, thanks!
    If I could ask another question regarding this... is 30 Hz poor even for desktop work? Or movies.
    I believe the 30Hz is progressive and therefore for movies/video would normally look quite good. However for sports e.g. soccer which has a fast moving object i.e. the ball it would be less good. I have also seen comments suggesting that for computer use it is also less desirable particularly when you are scrolling as this entails affectively the entire screen image 'moving fast'.
    This is not based on personal use as I cannot afford a 4K screen yet myself. However for DVDs 24p is considered a to give a good image for movies and this I can confirm from personal experience so 30p should be even better. Obviously 60p is better still but for that you need either a Mac Pro, iMac or MacBook Pro Retina.
    It is probably going to depend on what you will be using it for. Perhaps you should consider spending a little more for a MacBook Pro Retina which can do 60 Hz.
    See Using 4K displays and Ultra HD TVs with Mac computers - Apple Support

  • Editing tag values logged in tag history / citadel database

    Hi,
    I having been logging data from input/output tags and memory tags to my citadel database over the past week and due to some errors in my vi (my fault) some values are showing on my trends that are incorrect. These values are affecting my calculations (e.g. zeros, infinite numbers etc) and I would really like to delete them if possible.
    Does anyone know a way of going in to the database/tag history and selecting and deleting values whilst still leaving other data in tact?
    Many thanks,
    Stuart

    You can remove the data from a Citadel database using LabVIEW, Lookout or Measurement and Automation Explorer (MAX). This is a two step process:
    First you archive the data that you want to delete. When archiving, choose to delete this data from the original database. The archiving operation will move the data from your database to new database.
    The second step is to delete the new archived database. This removes the extra database that was created by the archive operation. Once the data has been archived you can remove the archived data by either deleting the database manually or by using file VIs from LabVIEW.
    The document elaborates this process for MAX, LabVIEW and Lookout separately
    Measurement and Automation Explorer (MAX) You must have Historical Data Viewer installed. It comes with Lookout 5.0 and LabVIEW DSC 6.1.
    To remove the historical data in MAX, follow these steps:
    Under the Historical Data folder in MAX, select the database that you want to remove data from.
    Right-click the database and select New View»Trace. This creates a trace view with the default name of New View under the database folder.
    On the Trace Attributes page, click on Add new traces. Select the traces you want to archive.
    Select a starting and stopping time.
    Right-click New View and select Archive.
    Enter a directory path to store the archived data.
    Check the Delete data from source database checkbox to delete the data from the source database.
    Click Start.
    Once it is complete, click Close.

Maybe you are looking for

  • DML on a view

    Hi I created a view as below create or replace view emp_dept(ename,empno,deptno,dname) as select e.ename,e.empno,e.deptno,d.dname from emp e, dept d where e.deptno=d.deptno; then i wanted to insert one record insert into emp_dept(ename,empno) values(

  • Streaming HTML

    One of the servlets my team maintains needs to output over 200 fields for several hundred records. Right now it takes awhile for the user to see anything because the entire HTML is created for all of the fields for all of the selected records before

  • I just downloaded the new operating system and cannot get angry birds friends from Facebook to load.  Any suggestions here?

    I just downloaded the latest operating system to my IPad and now cannot access Angry  Birds Friends from Facebook.  Any solutions?

  • A Help needed

    A Strange problem is happening..............i have a date calculation in java script...........i.e. difference of entered date and todays date. A person sitting in europe when is entering the todays date the diff is coming greater than zero........wh

  • Reinstalling 10.5.8

    I think I need to archive and reinstall my operating system. My install disc is 10.5.1 and I have downloaded upgrades so I now have 10.5.8. Do I just install the 10.5.1 and then down load the upgrades. I have looked for 10.5.8 discs and could find no