How to verify RTSJ use linux real time kernel?

Hi,
I'm complete newbie into this area and I'm trying out the RTSJ 2.1 beta Linux. I'm using this on Ubuntu with the linux real time kernel. Is there anyway to find out whether the real time kernel is being actually used or in other words is there a way to find out whether RTSJ works fine with the real time kernel on Ubuntu? I see that the programs get compiled and run irrespective of whether I use the real time kernel or the generic kernel.
Thanks,
Vidura

Hi,
I would assume, like other distributions, that you either boot the real-time kernel or you don't. uname should show you what you are running, but you'd have to ask the Ubuntu folk what you should see for the RT kernel.
To see if you are benefiting from real-time, you need to run a RTSJ app that tracks deadline misses or measures latency/jitter. Try it on the non-real-time kernel and the real-time one and see what you get. Some of the examples in the "Getting Started" guide should be usable for these purposes.
David Holmes

Similar Messages

  • 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

  • What is ods concept in BW ?how it is used in real time?

    what is ods concept in BW ?how it is used in real time?

    Hi,
    Please go through the following links:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/eb8f1895-0501-0010-73ad-e0bef4a2000a
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    you can find more links in SDN.
    Regards,
    Chandan

  • Can I use Labview real time with PCI 6013?

    How much does Labview real time cost?
    Do i need to have some additional hardware to use labview real time with PCI 6013?

    You can not use the PCI-6013 board with LabVIEW Real-Time.
    We offer three platforms for LabVIEW Real-time. PXI embedded controllers, 7030 data-acquisition plug-in boards (7030/xxxx) and FieldPoint. For more information on these options go to www.ni.com/products and then choose Real-Time from the menu on the left. There are PCI versions of the 7030 boards. Each 7030 board has a data-acquistion board attached to it (6030E, 6040E or 6533). When you embed a LabVIEW Real-Time program on the 7030 you will be able to access the daughter board. You can not access other boards from the embedded program. If you want to use several daq cards in your real-time system I would recommend a PXI chassi and PXI daq boards.

  • SDXC card support for cRIO 9031 Linux Real Time

    The cRIO9031 with Linux Real Time did not support SDXC cards. Only SDGC with a maximum of 32GB supported by cRIO.
    For logging application their is a need for more than 32GB => use of SDXC cards with 128/256 GB
     

    Hi Schott,
    Unfortunately, Linux does not have native (in kernel source) support for the exFAT filesystem (required for a device to be labled SDXC). As soon as such a filesystem is supported in Linux, we can enable direct support for exFAT.
    In the meantime, there is nothing preventing you from formatting the card in a filesystem type that is supported on the target. FAT32 is unfortunately the most portable, accessible format, of course if you don't need to access the contents of the card from a Windows machine, you can use some of the tools on the RT controller to format the card in a more robust, journalling filesystem such as EXT4.

  • Anyone know how to generate random midi in real time? part 2

    anyone know how to generate random midi in real time?
    http://discussions.apple.com/thread.jspa?messageID=11342321
    This article was archive so I can't reply to this, but I wanted to bring this back up.
    As Christian pointed out on converting your notes to P-Press, then random DataByte 1 then convert back to a Note...
    I used this approached but was able to add in a macro I created to save the generated random DataByte 1 so that when the Note OFF message came around, I can apply that saved random DataByte 1 to the Note OFF in question.
    One thing I did notice when working this out was there's 2 differences in processing the messages when it comes to using a MIDI Input Device or a MIDI Performance (midi file).
    After I was able to figure this out, now I can randomize on notes using either of the 2 Inputs.
    While randomize notes probably won't sound nice to the ear, I apply another macro I created and I'm still adding too, and that's Music Scales.
    So while I randomize notes, when applied to this last macro, the random notes now get mapped to notes in a music scale of your choosing.
    This link shows what I did.
    http://www.digimixstudios.net/RandomizeNotesUseScales/
    I'm currently in the process of creating video tutorials in breaking down the whole process but I wanted to share what I have and see if there's any interested in this.
    Remember, this is just one approach and I hope it gives others ideas to work off of.

    anyone know how to generate random midi in real time?
    When I used to drink a lot... this was no problem at all!
    pancenter-

  • What are the important concepts in ABAP which are used in real time

    Hi,
    This suresh i'm learning sap/abap just i want to know the
    important concepts sap/abap which will be  used in real time.

    Hi,
    Refer.
    /people/thomas.jung/blog/2007/12/19/update-your-abap-development-skills-to-sap-netweaver-70
    /people/horst.keller/blog/2007/03/21/1000-pages-full-of-abap
    /people/anubhav.mishra/blog/2007/11/20/first-experience-with-abap
    Also
    Re: Any Bw abap course for writing routines?
    Re: ABAP for BW
    Re: Seeking advice ABAP With BW
    Re: ABAP in BW
    Hope this helps.
    Thanks,
    JituK

  • Do I have to use LabVIEW Real Time with a reflective memory node?

    For reference with an external data system that will be temporarily installed at a customer's site, they have asked that I tie into their data network to record data from their control system.  They apparently use a reflective memory network for data sharing.  I have no prior experience with reflective memory, but all references to it involve real time systems.  I do not need absolute determinism to acquire this data, I can be late by several milliseconds with no problem.  Do I still need to use LabVIEW Real Time to interface with the PXI reflective memory node?

    Hi AEI, 
    I have worked with that card briefly before. It has a Visa based driver and RT isn't required. However, I haven't worked with the card on a non-rt system and am not sure if there any issues to be aware of. 
    A lot of work has gone into integrating support for the card into Veristand, it may save you enough development time to use at an RT-Veristand system to be worth the extra cost. 
    Jesse Dennis
    Design Engineer
    Erdos Miller

  • Permission to use SAP Real-Time Collaboration capabilities

    Hi Experts,
    I get the following error message when i login to portal EP 7.0 (in one small window) i am able to use my portal.
    You do not have permission to use SAP Real-Time Collaboration capabilities. For more information, contact your portal administrator
    can any one help me what permission i need to set for Real time Collaboration RTC. i have enable to all service in ivew properties "yes" to use RTC services
    Thanksyou
    Regards
    Vijai

    refer
    https://www.sdn.sap.com/irj/scn/thread?threadID=740397

  • Real Time Kernel patch

    Hi,
    Has anyone tried to add the realtime kernel patch to an existing arch installation?
    Can anyone provide home help ?
    I want to add the RT patch so i can use some Real Time Java implementations on arch

    As you can see, a bit of googling would have solved your problems. Now, please go read the wiki on custom kernels and the AUR before asking questions about how to use those.

  • Real Time kernel questions

    I decided to compile myself a new kernel using a PKGBUILD from AUR, which contains Ingo Molnar's real time patch. I know that there are some entries int the wiki about this (Kernel Compilation with ABS, Custom Kernel Compilation with ABS, Kernel Patches and Patchsets), but they don't answer all of my doubts.
    The major question is related to my graphic card's drivers. I'm a happy Radeon user using fglrx proprietary drivers. At the moment they are working fine on a vanilla kernel form [core], the problem is whether I would have to do some voodoo to make them work on a rt-kernel? Now I know what is written in wiki about installing Catalyst drivers on a custom kernel, but when on Mandriva I tried to install 8.1 on my rt-kernel, I had to do some tricks and recompile fglrx to make it work. Does anyone tried installing Catalyst drivers ver. 8.2 on a real-time kernel from AUR?
    Another thing: I have a .config file from the previous rt-kernel. Would it be suitable for 2.6.24?
    Finally, I recently read about grsecurity patchset. Did anyone tried it on Arch, especially on a real time kernel? Any problems?
    Waiting for suggestions

    broch wrote:first I hope that you understand that RT kernels on desktops are slower than preempt default or vanilla kernel?
    I'm using one on my Mandriva 2008.0 and didn't notice any slowdown.
    broch wrote:second: I use grsec (or RSBAC) kernels.
    grsec will not work with anything messing up with memory (even Kolivas patches in past had issues with grsec). This can be fixed but then what is the point of enabling hardened kernel with disabled features?
    I simply patch vanilla with grsec.
    Remember that some pax options are incompatible with X (all explained when option is selected, so no way to make mistake)
    finally it works well lowest overhead, best speed and easies to manage among kernel hardening patches (I do not count Apparmor, as this is rather limited tool)
    If I understood you, then it's a choice between real time and more security, right?

  • Hard Real time kernel

    Hi, This might not be the right place, but Sun used to sell a real "hard real time", kernel. I cant seem to find any reference to this on their site anymore. Does it still exist ?, can we still buy it ?, where do I go to find out more information ?.
    TIA
    Michael

    broch wrote:first I hope that you understand that RT kernels on desktops are slower than preempt default or vanilla kernel?
    I'm using one on my Mandriva 2008.0 and didn't notice any slowdown.
    broch wrote:second: I use grsec (or RSBAC) kernels.
    grsec will not work with anything messing up with memory (even Kolivas patches in past had issues with grsec). This can be fixed but then what is the point of enabling hardened kernel with disabled features?
    I simply patch vanilla with grsec.
    Remember that some pax options are incompatible with X (all explained when option is selected, so no way to make mistake)
    finally it works well lowest overhead, best speed and easies to manage among kernel hardening patches (I do not count Apparmor, as this is rather limited tool)
    If I understood you, then it's a choice between real time and more security, right?

  • How to capture pc screen in real time?

    Hi, recently i have been asked to make a java program that captures the pc screen and shows it, in real time, either in the same pc or another pc over the local network. To do this program, i could easilly make one that takes multiple pics of the screen and shows them, but that would be very slow, so i was thinking of doing one that captures the video stream and shows it directly on the program. Problem is, how do i do it using Java? I have no idea, so if anyone can enlighten me on a way how to do it, i would be very thankful.
    on a side note, i have to make a new program, so i am not interested in another programs out there unless they java and open source for me to study.

    you would think i didnt need to post that huh? but in fact, i've looked around this forum to see if i find a solution and i saw not only once or twice, but a really large number of advertisements of programs u had to pay and were closed, in many different threads, so a little infatuation on the fact i didn't need one of those here seemed it would help :P
    thx for the answers, but neither of you focused on the real problem. First, i couldnt just plug the video board on another monitor because it would not be exactly what i need to do, i want the other monitor to be display its own computer system and have a manageable window in which it would show everything being done in the other computer, one i can open without having to mess with any cables. This application would be used in a ubiquitous project and messing with the cables wouldn't really fit in a ubiquitous description :P. I have tested sequenced screenshots, and it is indeed very slow, even in one pc showing the screen captures on itself, imagine over a network...
    altough it may sound premature, doing the program with screen captures seems to me to be entirelly different from doing it getting the feed directly from the video board, maybe with the exception of the little player window that would go with it. But once done, i would be more then happy to test it out and say which of the two would be better to send over the network.
    well, for what i understand, the first poster seems to say there is no way in doing it the way i was trying to do with java, so i'll probably have to get a C program to capture it then send to a java on via socket, but if anyone else out there would know anything that could help me, it would be greatly appreciated.

  • How can I make Recover_Mode Is Real Time Apply in Data Duard

    Hi Experts
    I have Primary and Standby Databases I need to know how can I change the recover mode to Real Time Apply?
    I run the following queury in Primary Site:
    SELECT RECOVERY_MODE FROM V$ARCHIVE_DEST_STATUS WHERE DEST_ID=2;
    RECOVERY_MODE
    MANAGED
    I have oracle 11g R2 / Windows Server 2008 R2!
    Logs generated and transfered successfully!

    Hello;
    Cancel recovery on the standby and then.
    SQL
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION;
    Note: You should have Standby redo at both the Primary and Standby sites.
    Best Regards
    mseberg

  • How to start OC4J at Linux boot time

    Hello,
    I am using Linux AS 3.0 and i have installed OC4J ( 9.0.4) ok, and OC4J also work fine.But each time i want to start OC4J , i must execute command java -jar oc4j.jar at console.
    Now, I want to start OC4J automatic at System startup ( ie: Linux boot time ).How can i do?
    Thanks.

    Just put your OC4J start/stop commands in a rc script.
    Scripts in the directories
    /etc/rc.d/rc2.d
    /etc/rc.d/rc3.d
    /etc/rc.d/rc5.d
    will be called by the operating system with the command line option start.
    The number in the directory names represent the desired run level of the machine.
    Scripts in the directory
    /etc/rc.d/rc0.d
    will be called during shutdown with the command line option stop.

Maybe you are looking for

  • I hate iPhoto '11 when I need to mail pictures

    I always need to send many photos to other people, with iPhoto 10, it is very easy and simple. I can see how many MBs would be before I send them, and I can choose the size of the photo. I love it. It is easy than in windows. While in iPhoto '11, I c

  • Login cookie and internet explorer

    Hello, Is there a way to be able to login into an application without changing the privacy options in IE to LOW? Without setting the IE privacy to LOW the users don't pass the login screen. Thanks. NJ

  • Quantity column display upto 2 decimal places in ALV

    I've created an ALV for dynamic columns. For this i've first created the fieldcatalog and then the internal table. The problem that i'm facing in this is that the user wants the quantity column to be displayed upto 2 decimals. For this i tried the fo

  • How to create "Purchased on iPhone" smart playlist?

    I lost my old iPhone Larry but the "Purchased on Larry" playlist was still active. My new iPhone Ploobie's purchases were automatically added on it, but as soon as i synced my iPhone to my computer, the new songs got deleted from it. I ended up delet

  • Ios 8 having lots of problem in iphone 5c

    today i just updated my iphone 5c to ios8.. after the update i checked my iphone for all the new features to my suprise it dosent have the audio message in Message app like shown in the features.. on top of that if u get any notifications u cannot ev