Code for a real time program in windows

I m designing a network monitoring system which uses a client/server system wherein a client application runs as a sensor/actuator which sends system information and snaps of client machines to be monitored on request from server machine.I m stuck with the garbage collection problem and thread synchronization.
Kindly help me with ideas or code.

I have no idea what "the garbage collection problem and thread synchronization" means so it's impossible to offer any suggestions.
This forum is for discussion of the real-time specification for Java and Sun's Java RTS implementation of it.
David Holmes

Similar Messages

  • What OS is best for LabView Real Time?

    Our computer will be dedicated to running a LabView program that will collect and display sensor information on the virtual instrument panel. What OS will provide the most reliable and compatable environment for LabView Real Time?

    hi, i wanna ask about win xp, in some posts people says is not suitable use rt on windows because of the difficulty of give priority to certain task over the other ones, i wanna know if i can work just with windows xp or must i use an real time OS.
    thanks for help
    Pedro Rivera
    .:. Pedro Rivera .:.
    i love to work and develop on labview, this is real fun!!!

  • How to create a c++ shared library (.so) for linux real time (for myRio) with Eclipse to use in LabView?

    I tried already these Tutorials and Advices but I didn't find a solution:
    - http://www.ni.com/tutorial/14625/en/
    - http://www.ni.com/tutorial/14690/en/
    - http://forums.ni.com/t5/LabVIEW/Shared-Library-on-myrio-Linux-Real-time-system/m-p/2842540/
    - http://forums.ni.com/t5/LabVIEW/How-to-create-shared-library-for-linux-real-time-target-in/m-p/28218...
    - and some more
    I want use c++ codes on linux real time. For testing reasons I want to have a function that adds 2 values and gives the result.
    I've done these steps:
    1. writing a c++ file in Eclipse (see screensot 2)
    2. building a shared library (.so) from my c++ project in Eclipse (with Cross GCC)
    3. putting this file on myRio (path: /usr/local/lib/)
    4. creating a VI that calls this library from Labview with a "Call Library Function Node" (see screenshot3)
    5. Setting the properties for the "Call Library Function Node" (see screenshots 4-7)
    After I run this VI i get this error message: LabVIEW:  (Hex 0x627) The function name for the ... node cannot be found in the library. To correct this error, right-click the Call Library Function Node and select Configure from the shortcut menu. Then choose the correct function name. (see screenshot1)
    I've tried a lot things to solve this problem but I couldn't find a solution. Would be very happy if anyone can help me. I guess that I have to edit my c++ code to export my function (symbol). But I have no idea how to make it. I also tried it with a dll file in the same folder but it didn't help.
    Perhaps someone can send an example which works on myRIO.
    Thanks!
    screenshot1
    screenshot2
    screenshot3
    screenshot4
    screenshot5
    screenshot6
    screenshot7

     can see it in the screenshot8 there is a function called "_Z8AddierenddPd" instead of "Addieren". I copied this name to Labview (see screenshot9) and it worked.
    I'm sure that there is a way to compile the shared folder with gcc without decorations (mangling). But I don't know how. If someone has a recommendation I would be very glad!
    Prepend each function declaration that you want to be available without name decoration with
    extern "C" <your function declaration>
    Or if you have multiple functions you want to export you can in the header file where you declare your functions simply use:
    #ifdef __cplusplus
    extern "C" {
    #endif
    <all your function declarations>
    #ifdef __cplusplus
    #endif
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LabVIEW 7.0 utilize the real-time functions in Window 2000 Real-time.

    Can an application written with LabVIEW 7.0 utilize the real-time functions in Window 2000 Real-time.

    The LabVIEW DATA ACQUISITION HANDBOOK (not sure of the exact title), has examples of simultaneous I/O, which is what I assume you need.
    Clock- controlled analog output (to drive the stepper), and analog input (to read your inputs), sound like the ticket for you.
    You could load the output buffer with a pattern that drives your stepper, and get multiple input samples for every step, all precisely timed.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • I am looking for a real time CRM consultant who can teach me in Bangalore ?

    I am looking for a real time CRM consultant who can teach me in Bangalore ?
    Call me on 7204246238

    If you are looking for a Creative player only The Zen V and Zen V plus are good options. I think they will satisfy most of your requirements.
    Strike that, I don't think this will act as an "external hard dri've" as described in bMessage Edited by fdreinthea on 2-2-200605:37 AM

  • JSP codes for running a JAVA program

    hello...
    does anyone know the JSP codes for running a Java program from my web page?? i mean i already have my java program compiled... and i just want this java program to run in the background when I click on a button or a link...
    Any idea about this?
    plz advice..
    avi

    yes... u r somewhat right... but this runs on Jakarta Tomcat...
    i'm using the Apache Http Server together with the ServletExec AS which enable the Apache server to run JSP..
    I've created a package where i've put my classes...
    WEB-INF/classes/tbd(package name)/my classes
    and i've added.. package name.. in my java program..
    and then in jsp... i've written..
    <%@ page import="tdb.*"%>
    <jsp:useBean id="exec" class="tdb.textdb" />
    <%exec.convert_data();%>
    but when i run the page it says the package does not exist...
    can anyone tell where to place the folder WEB-INF so that it can run fine?
    thx
    avi

  • Can we use the AdventureWorks2008R2 data for the real time project.

    Hi,
    In our project we are trying to do the data scrambling on First name, last name and middle name...
    In the regular practice we use to update the names as
    First Name = FN+<PERSON_SNO>
    Last Name = LN+<PERSON_SNO>
    Middle Name = MN+<PERSON_SNO>
    The Problem is the names are not looking realistic, so I thought of applying some logic and updating our PERSON table names based on Person.Person table in adventure works.
    My question is can we use the AdventureWorks2008R2 data for the real time project. Is there any cop right issue.
    Someone please help me solve this issue.
    Thanks
    Karthikeyan Jothi.

    Please read this link content:
    Adventure Works Sample Site
    sqldevelop.wordpress.com

  • Black screen with cursor blinking for a long time before loading windows 7

    Hey guys, i'm having an annoying problem with my macbook pro... i installed windows 7 using bootcamp and now i get a black screen with cursor blinking for a long time before loading windows... it *****, it takes about 3 minutes to get my notebook running
    The first time i installed windows seven i did not have this problem... i already deleted  the partition several times and installed windows again, but the black screen problem is still happening. i don't know what do
    You guys have any tips? anyone with the same problem?? this ***** a lot. thanks

    Hey Theoos..
    Yeah, my version is not.. the first time i installed it was ok, but after 30 days it was asking for a key... then i installed a cracked version, and the cursor started blinking on start up, and took like 2 minutes...
    I tested several cracks but with all of them happened the same.
    Thanks

  • Assign Transaction Code for Report Painter generated program

    I am trying to assign a transaction code for report painter generated program... I assigned the transaction code in Development for the generated program but the program name changes in every system and I get a runtime error...
    Can you please guide me on how to handle this problem

    http://dap-consulting.com/yahoo_site_admin/assets/docs/Report_Painter_Reports.47142031.pdf
    Found my answer in the above link

  • I need ready code for a simple paint program today

    hi all I need ready code for a simple paint program today for me ics projct
    plz give me a halp on this give me what you have with you and it is so good if it look like this :
    Design a GUI based drawing Java application that works like a simple paint program
    1-There should be a number of buttons for choosing different shapes to draw. For example, there should be a button for rectangle. If user presses the rectangle button, then he can draw a rectangle using mouse. Similarly, there should be a button for each shape(rectangle, circle, ellipse, and line etc.
    2-The shapes can be filled with different colors.
    3-There should be option of moving .
    4- There should also be three menus including File, Shape, and Color menu.
    i. File menu can have menu items New and Exit. If user selects New, the drawing area will be cleared and all shapes will be erased.
    ii. Shape menu will serve the same purpose as of feature 2 described above. It will have menu items for drawing all the different shapes. For example, there will be menu item for rectangle; so user can draw a rectangle by selecting the menu item for rectangle.
    iii. Color menu will serve the same purpose as of feature 3 described above. It will have menu items for all the colors which are shown in color buttons. The user can select a color from this menu and then click inside a shape to fill it with the selected color.

    Read the Swing tutorial. There are sections on how to use menus and painting and all other kinds of stuff you need to do this homework assignment. Nobody here is going to write the code for you:
    http://java.sun.com/docs/books/tutorial/uiswing/TOC.html

  • What is the pairing code for an HP Photosmart 309a using windows 7?

    what is the pairing code for an HP Photosmart 309a using windows 7?

    Hi,
    The Default priting code is 0000.
    If you changed the code, you may locate the current on by clicking the Setup Menu,
    Scroll to the Bluetooth Menu and then click Passkey.
    For any issue, you may find a step by step bluetooth configuration guide below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02530249&cc=us&dlc=en&lc=en&product=3737195&tmp...
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • HT1386 when i connected my iphone 5s to itunes for the first time then a window appered saying your device timed out. whats happening and how do i connect my iphone?

    when i connected my iphone 5s to itunes for the first time then a window appered saying your device timed out. whats happening and how do i connect my iphone

    Hello Hema2003,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iOS: Troubleshooting USB connection
    http://support.apple.com/kb/TS1286
    Best of luck,
    Mario

  • Looking for good real time STOCK program for my Mac (free)

    Hi there!
    I wanted to throw this question to you guys out there. Does anyone know of any good, may be free, program to keep track of stock quotes in real time. Something with a real time running line with quotes. It would be nice to have something just sitting as a background on my desktop or as a wedget or in the dock, something that can do real time though.
    Please advice.
    Thanks

    Yuri:
    Yahoo Finance will give you real time quotes on specific stocks, say, in a portfolio. Many brokerage firm websites like Ameritrade offer Real Time quotes, too, but require that you have an account. Some other sites, and I don't remember exactly, offer a ticker tape type display; off the top of my head I'd say Intuit, CNN Money, MSNBC. Or you can try Market Browser.
    If I think of anything else I will post back.
    cornelius

  • Any suggestions for free real time anti virus or malware security sw?

    I have been using Onyx and that seems to work fine, I wonder how you can tell without anything else to compare it to anyway.
    But lately I've been reading a lot about virusses (virae?) attacking Mac computers and I'm wondering if there is any free real time security software that is really working.
    If anyone has any recommendations I'd really appreciate it.
    Thank you in advance.
    Regards,
    Milli.

    No viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions.
    It is possible, however, to pass on a Windows virus to another Windows user, for example through an email attachment. To prevent this all you need is the free anti-virus utility ClamXav, which you can download from:
    http://www.clamxav.com/
    However, the appearance of Trojans and other malware that can possibly infect a Mac seems to be growing, but is a completely different issue to viruses.
    If you allow a Trojan to be installed, the user's DNS records can be modified, redirecting incoming internet traffic through the attacker's servers, where it can be hijacked and injected with malicious websites and pornographic advertisements. The trojan also installs a watchdog process that ensures the victim's (that's you!) DNS records stay modified on a minute-by-minute basis.
    You can read more about how, for example, the OSX/DNSChanger Trojan works here:
    http://www.f-secure.com/v-descs/trojanosxdnschanger.shtml
    SecureMac has introduced a free Trojan Detection Tool for Mac OS X. It's available here:
    http://macscan.securemac.com/
    The DNSChanger Removal Tool detects and removes spyware targeting Mac OS X and allows users to check to see if the trojan has been installed on their computer; if it has, the software helps to identify and remove the offending file. After a system reboot, the users' DNS records will be repaired.
    (Note that a 30 day trial version of MacScan can be downloaded free of charge from:
    http://macscan.securemac.com/buy/
    and this can perform a complete scan of your entire hard disk. After 30 days the cost is $29.99. The full version permits you to scan selected files and folders only, as well as the entire hard disk. It will detect (and delete if you ask it to) all 'tracker cookies' that switch you to web sites you did not want to go to.)
    A white paper has recently been published on the subject of Trojans by SubRosaSoft, available here:
    http://www.macforensicslab.com/ProductsAndServices/index.php?mainpage=document_general_info&cPath=11&productsid=174
    Also, beware of MacSweeper:
    MacSweeper is malware that misleads users by exaggerating reports about spyware, adware or viruses on their computer. It is the first known "rogue" application for the Mac OS X operating system. The software was discovered by F-Secure, a Finland based computer security software company on January 17, 2008
    http://en.wikipedia.org/wiki/MacSweeper
    On June 23, 2008 this news reached Mac users:
    http://www.theregister.co.uk/2008/06/23/mac_trojan/
    More information on Mac security can be found here:
    http://macscan.securemac.com/
    The MacScan application can be downloaded from here:
    http://macscan.securemac.com/buy/
    You can download a 30 day trail copy which enables you to do a full scan of your hard disk. After that it costs $29.95.
    More on Trojans on the Mac here:
    http://www.technewsworld.com/story/63574.html?welcome=1214487119
    This was published on July 25, 2008:
    Attack code that exploits flaws in the net's addressing system are starting to circulate online, say security experts.
    The code could be a boon to phishing gangs who redirect web users to fake bank sites and steal login details.
    In light of the news net firms are being urged to apply a fix for the loop-hole before attacks by hi-tech criminals become widespread.
    Net security groups say there is anecdotal evidence that small scale attacks are already happening.
    Further details here: http://news.bbc.co.uk/2/hi/technology/7525206.stm
    A further development was the Koobface malware that can be picked up from Facebook (already a notorious site for malware, like many other 'social networking' sites), as reported here on December 9, 2008:
    http://news.bbc.co.uk/newsbeat/hi/technology/newsid_7773000/7773340.stm
    You can keep up to date, particularly about malware present in some downloadable pirated software, at the Securemac site:
    http://www.securemac.com/
    There may be other ways of guarding against Trojans, viruses and general malware affecting the Mac, and alternatives will probably appear in the future. In the meantime the advice is: be careful where you go on the web and what you download!
    As to the current 'Conficker furore' affecting Intel-powered computers, MacWorld recently had this to say:
    http://www.macworld.co.uk/news/index.cfm?email&NewsID=25613
    Although any content that you download has the possibility of containing malicious software, practising a bit of care will generally keep you free from the consequences of anything like the DNSChanger trojan.
    1. Avoid going to suspect and untrusted Web sites, especially *********** sites.
    2. Check out what you are downloading. Mac OS X asks you for you administrator password to install applications for a reason! Only download media and applications from well-known and trusted Web sites. If you think you may have downloaded suspicious files, read the installer packages and make sure they are legit. If you cannot determine if the program you downloaded is infected, do a quick Internet search and see if any other users reported issues after installing a particular program.
    3. Use an antivirus program like ClamXav. If you are in the habit of downloading a lot of media and other files, it may be well worth your while to run those files through an AV application.
    4. Use Mac OS X's built-in Firewalls and other security features.
    5. Stop using LimeWire. LimeWire (and other peer-to-peer sharing applications) are hotbeds of potential software issues waiting to happen to your Mac. Everything from changing permissions to downloading trojans and other malicious software can be acquired from using these applications.
    6. Resist the temptation to download pirated software. After the release of iWork '09 earlier this year, a Trojan was discovered circulating in pirated copies of Apple's productivity suite of applications (as well as pirated copies of Adobe's Photoshop CS4). Security professionals now believe that the botnet (from iServices) has become active. Although the potential damage range is projected to be minimal, an estimated 20,000 copies of the Trojan have been downloaded. SecureMac offer a simple and free tool for the removal of the iBotNet Trojan available here:
    http://macscan.securemac.com/files/iServicesTrojanRemovalTool.dmg

  • North atlantic resolver(M​odel No:75DS2-1​B1B1FC0) labview driver for NI real time controller

    Hi all,
    I have North atlantic resolver(Model No:75DS2-1B1B1FC0) and LVDT/RVDT Simulation(Model No:75DS2-52521FC0)  cards. I am using this card in RT. I downloaded instrument driver from http://sine.ni.com/apps/utf8/niid_web_display.mode​l_page?p_model_id=2386. How can I use this driver in RT code for simulate the resolver and lvdt? 
    Regards,
    Rathnam.M(CLAD),
    Nokia Siemens Network

    I know it has been a while but NAI has had the LabView RT driver for a while now. The standard Window drivers now contains all the drivers which includes the VISA driver and the Windows drivers for 7 and XP.Using the stanard Windows driver will require the standard DLL.
    If you are using the standard LabView running on Windows 7 or XP with NI VISA software layer you will need the VISA driver. The VISA driver's low level register operation follows NI method of talking to the board in a PC or in a PXI chassis. Installing the proper driver is the key to getting the board to work. If you allow Windows OS to pick the driver to use you are in trouble and it is going to a very  long day of frustration. Go into the Windows device manager and recognizing an entery that represents the NAI board should not be difficult to find. The entry should have yellow question mark indicating that something has been installed but not really working. If the Windows device manager sees the board correctly and MAX does not see the board at all then you have the wrong driver. Using the device manager and cherry picking the right driver from the list of driver provided in the NAI Windows driver offering is the way to get it working.
    Once the driver is loaded the VISA has the API library in import form and there is a VI that opens and reads the serial with other information.
    Using LabView RT requires additional files that are provided in the NAI driver which is now available.
    The API is in a VI form so you may need to locate the VI you need then store in a folder that is more convenient to find. 
    I have an outline that properly step through the method to progam the D/S models that you have. Please feel feel to request the program outline. JOEA
    Einstein proved by taking time in thinking about a problem he proved there is no such thing as gravitational pull. Therefore, given enough time and thought a problem can be solved. If the problem is not solved then there has not been enough thought.

Maybe you are looking for

  • Anything fixed in Oracle TopLink 11g Release 1 (11.1.1.1.0) ?

    Was there anything fixed in Oracle TopLink 11g Release 1 (11.1.1.1.0) ? I don't see anything in release notes ( http://www.oracle.com/technology/products/ias/toplink/doc/11110/relnotes/toplink-relnotes.html ) regarding fixes. Anybody know where I can

  • Zip data posted from client does not show up correctely at Server

    The java client post GZip'd data to the Webserver. The webserver for some reason shows the first 10 bytes correctly. Not sure what I am overlooking Also get java.io.EOFException: Unexpected end of ZLIB input stream public class GetPost {      public

  • Problem consuming ADF/Webcenter Portlet in Worskshop for as remote portlet

    hi, I am using Jdeveloper 11g and creating a portlet of a full fledged application with model and data control. I am consuming this portlet in Workshop for Weblogic 10gR3 as remote portlet through registering it as wsrp. The problem i am facing is th

  • Recreate of user's e-mail account

    I try to recreate a deleted user. This is error which I get. How to cleanup mailstore data! Failed to create the user. The mailstore orcl.wmcs.si already has a user named gregor.razdrtic. This can happen if this user was deprovisioned but his mailsto

  • Problem with Oracle DB in EJB

    Hi experts,         I am doing Oracle DB application with EJB. I have written in following connection method in EJB. I am using stateless session bean   Class.forName("oracle.jdbc.driver.OracleDriver"); con = DriverManager.getConnection("jdbc:oracle: