Help Required @ some real time application developement help!!

I have just started off with Jdeveloper and I need some very much real time examples so that I can give a head start and do applications as soon as possible
can anyone show me the links to files and I will make the application learning where and when the binginds happen and also where the exact structured flow is taking place.
Thanks
AC

Also check out the SR Demo
http://www.oracle.com/technology/products/jdev/samples/srdemo.html
Message was edited by:
Grant Ronald

Similar Messages

  • Real-Time Application doesn't run; source code works fine

    The short version is I'm programming a cRIO and apparently the RT code isn't running after being deployed and I can't figure out why. This is further complicated that I'm doing all this remotely and I don't have direct access to the unit since I'm 500 miles away. I'm working through a couple of other guys who know some LabVIEW, but neither works at the site so they have to explicitely travel out there every time I have a bright idea.
    I was out there a few weeks ago. During this time I created a simple cRIO code, since I'm new to cRIO, that allowed the user to move a control and change a graph. It worked fine, but I should note it did not have an FPGA component. After that I worked on the real code, which reads some sensors, displays the results on a UI and logs the results. This did have FPGA. I used it in the LabVIEW environment and it worked fine, but I ran out of time before I could complete a release version and deploy the RT as a compiled application. I sent them the release version later, my contact deployed it but got network stream errors when running the UI.
    After hours of looking at network problems and sending over debug versions, I tried creating a log on the RT level so I could see what was going on. The log doesn't even open, even if it's the first command in the code. I pored through the forums and found http://forums.ni.com/t5/LabVIEW/cRIO-Troubleshooting-creation-and-deployment-of-startup/td-p/1956475... which took me in a new direction.
    I had my contact use the RT debug console and when he pulls up the RT front panel, it shows a broken run arrow. He clicks it and nothing happens -- no running, no bug list. If he pulls up the bug list manually, it's empty. Again the RT works fine if you run it through LabVIEW and not as a compiled real-time application. He also noticed that the Open FPGA VI was grayed out on the block diagram. No other icons are.
    So the problem appears to be that the compiled RT application is getting some kind of error but not telling me what it is, and it seems to be related to opening the FPGA. I've recompiled the FPGA and RT. I've had him recompile the RT himself, but not the FPGA because it would take hours. He's downloading everything correctly to the cRIO. The RT is set to run automatically. He's rebooting the cRIO every time he deploys the RT. They have LabVIEW on a computer there but it doesn't have the right drivers to run the code from the LV environment. I'm resisting having them install the dirvers because downloading big files is complicated there due to security restrictions and a lousy network connection at a remote site. Besides that doesn't solve the problem of the RT executable not running the same as the source code, which according to the thread above appears to be a thing.
    The latest thing I'm trying is that I sent him instructions for how to build a source distribution from the project I sent and try deploying that to the cRIO. Even if that works I'm not sure that's an acceptable solution because I assume running the VI rather than the EXE is slower, and they need speed on this project.
    I simply have no idea where to go from here. I probably need to get direct acess to the cRIO and I might be able to convince them to ship it to me so I can figure this out, but I'm not sure where I'd even start other than the standard voodoo debugging of "try stuff at random until something works". I'm open to suggestions if anyone has managed to solve this before.
    Code snippet of the first part of the project is attached, though I'm not sure how much good it will do. I'm really stumped and the client is getting frustrated with how much of the budget is going to fix this.
    Solved!
    Go to Solution.
    Attachments:
    RTMainSnippet.png ‏623 KB

    Have you checked the cRIO error log? Usually I'd access it through the LabVIEW project (right-click on the target, don't remember the exact menu options and I don't have the RT toolkit installed on this machine to check), but it must be stored somewhere on the cRIO as well, although I don't know if it's in a human-readable format.
    Which cRIO are you using? What exactly do you mean by "debug console"? (This may be related to the cRIO - the newer ones have video out, although I don't know if that's what you're referring to.) With a broken run arrow, you won't get an error list unless you're running in the development environment.
    Have you confirmed that the software installed on the cRIO matches the version you're using for development, including patch level? Get someone to connect to the cRIO with Measurement and Automation Explorer, and get a list of the software installed on the cRIO.
    Sounds like the ability to connect with a remote debugger would be helpful here, if you can get the right drivers installed on the machine with LabVIEW that's connected to the cRIO. Make sure all driver versions match what you're using. Any chance you could then do a remote desktop connection from your work site to the remote LabVIEW machine?

  • Attempt to build real-time application failed

    When I try to build my real-time application in order to deploy it to a crio device, it fails. I can run the program just fine by opening it and clicking run. It can deploy and run all day that way, but it needs the computer that way too. So I need to be able to build and deploy it. When I do a build preview it completes just fine with no errors. I have set the program I want to start up as the startup and my subVIs virtual folder under always include. This is typical procedure for deploying projects to the crio.
    When it crashes I am getting an error:
    The build was unsuccessful.
    Possible reasons
    An error occurred while saving the following file:
    C:\Program Files\National Instruments\LabVIEW 2009\vi.lib\rvi\ClientSDK\Core\ModuleGeneration\CommunicationInterfaceUtility\niFpgaDmaChannelImplementation.ctl
    Invoke Node in AB_Source_VI.lvclass:Close_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_RTEXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_RTEXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.lvclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_CreateNewWizard_Invoke_CORE.vi->RTBUIP_CreateNewWizard_Invoke.vi->RTBUIP_CreateNewWizard_Invoke.vi.ProxyCaller
    <APPEND>
    Method Name: <b>Save:Target Instrument</b>
    I put in a service request (Reference#7259553) but I am just not getting help fast enough. I am on a real deadline here and I just sort of expected the application builder to work like it has always done. I have done this a million times with other applications and never had an issue like this. 
    Thanks in advance for your help guys.
    [will work for kudos]
    Solved!
    Go to Solution.

    With the fantastic help of applications engineer Will Schoettler, we were able to solve the problem.
    1. First we tried creating a new project file from scratch, adding all the files and compiling the fpga. Same error.
    2. Next we made individual builds deploying each subvi individually to see if one of them was causing the error. Each built without a problem.
    3. I tried to create a new build for the main crio program and tweek the settings. Instead of manually adding the subvi and variable library folder to the 'always include' section of the build option, I simply added the main VI to the startup programs list and was going to let LabVIEW figure out which VIs to add. For some reason this gave me a more verbose error explanation and gave the following reason as the last sentance in the error explanation
    "Due to operating system limitations, LabVIEW cannot create the folder because its complete path contains too many characters." 
    I moved the project folder to c:/ , fixed the broken references in the project, and it built the VI and deployed it just fine.
    The builder creates a directory with a really long path name within your project folder, so if you have your project folder deep in your directory tree it will attempt to create files with paths too big for windows to handle.
    Mad Kudos to Will Schoettler the app engineer for such a potent and thorough troubleshooting task list of things to try that lead me straight to the solution. I am glad it was something so simple and not some form of file corruption or something wrong with my code. 
    Thanks for trying to help guys.
    [will work for kudos]

  • Real time application

    hi 
    i had a problem creating a real time application. 
    the project have all the files on the image1(proyecto), I'm trying to create the real time for then run the host executable. 
    i put all the sources files like image2(sourcefilesrttarget), the others configuration still quiet.
    then i built it, set us startup, deployed it, and for last run as startup, reboot the rt target, but then when i gonna run the host executable, the variables doesn't work and the executable is already on the firewall. 
    when i just connected the CRIO- rttarget ,deploy the principal vi for the target that is Aplicacion RT principal controaldor ,then run the principal.vi of the host it works fine.
    So i don't know why with the building and deplying the real time doesn't work? maybe something of configuration it's missing but  i don't know. 
    thnks for any help
    Attachments:
    proyecto.png ‏72 KB
    sourcefilesrttraget.png ‏67 KB

    Thnks Omar R. 
    yes we are missing some configuration but i don't have idea what is it. 
    i followed the first link to deploy network variables but this doesnt work when i run the exe, and then when i gonna run the principal.vi since labview i get the next error
    Possible reason(s):
    LabVIEW: (Hex 0x8BBB0005) Unable to locate the shared variable in the Shared Variable Engine (SVE). Deployment of this shared variable may have failed, the SVE has not started, or the SVE is too busy to respond to this request.
    i post you all the configuration windows about the .EXE 

  • Hello some real time questions

    Hello guys,
    Can any one help with this question.
    1) Difference between Interactive & Drill down
    repot? What specific statements do you use, when
    writing a drill down report?
    (is both are same or any difference is there)
    2) What transaction do you use for Data Analysis?
    3) When a program is created and need to be
    transported to Production, does selection texts
    always go with it? if not how do you make sure?
    4) Can you make the CTS entries? How do you do it?
    5) What are change header / detail tables? Have
    you used them? ( i dont know what exactly is this?
    and from which topic?)
    6) What is currency factoring technique?
    7) Is it possible to run host command from SAP
    environment? How do you run?
    8) What is the difference in using COMMIT WORK
    within a called transaction & within a called dialog
    module in an existing module?
    9) What is the difference between the report
    status & screen status?
    10) what is the main diff between LSMW & session?
    11) How to introduce authorization objects in
    reports? How can you give authorization?
    12) Diff between BAPI & RFC?
    13) How field properties are set with * for
    password?
    14) How to create our own parameter ID in SE11?
    15) What is a Ztable? How to create it?
    (i think it is user defined table
    and using Domain, Data Element & Table fields we
    can create, if so, why it is to be called as only
    'z' table, when we can careat with 'y')
    <b>SOME REAL TIME QUESTIONS:</b>
    1) How many SAP instances are there in your
    organization?
    2) What SAP version is in use for each instance?
    3)What is the Hot package level for each instance?
    4)What OS is employed per instance?
    5)From where you get the request no?
    Any one Answer this question it will be useful for all.
    Thanks in advance.

    Here are answers to some of your questions. Hopefully this will help you.
    1) Difference between Interactive & Drill down
    repot? What specific statements do you use, when
    writing a drill down report?
    (is both are same or any difference is there)
    --> It's the same. You have events AT PF-STATUS, AT LINE-SELECTION, AT USER-COMMAND which are used to code for Interactive reports. Check this link for more details
    http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    2) What transaction do you use for Data Analysis?
    --> What do you exactly mean by data analysis?
    3) When a program is created and need to be
    transported to Production, does selection texts
    always go with it? if not how do you make sure?
    --> Yes, it goes with it.
    5) What are change header / detail tables? Have
    you used them? ( i dont know what exactly is this?
    and from which topic?)
    --> All changes in SAP data are logged in Change Header and Item table. CDHDR and CDPOS are change header and item tables respectively.
    8) What is the difference in using COMMIT WORK
    within a called transaction & within a called dialog
    module in an existing module?
    --> Commit work commits all database changes which occurs before commit statement.
    10) what is the main diff between LSMW & session?
    --> LSMW and session are 2 different ways to update data in SAP database.
    Check this out -
    Session Method
    LSMW
    11) How to introduce authorization objects in
    reports? How can you give authorization?
    Need to add code for the same using Authority check command. Check this thread
    ABAP Development
    13) How field properties are set with * for
    password?
    --> You can modify field properties which displaying data. In this way you can set data to encrypt with 'X'.
    14) How to create our own parameter ID in SE11?
    -> Check out this thread
    ABAP Development
    15) What is a Ztable? How to create it?
    (i think it is user defined table
    and using Domain, Data Element & Table fields we
    can create, if so, why it is to be called as only
    'z' table, when we can careat with 'y')
    --> using transaction code SE11. All custom objects in SAP can start either with Y or with Z.

  • Real Time Applications

    Hi All,
    Is there any link or document to how to configure Real Time Application in OBIEE....
    Thanks in advance.

    Hi All,
    I have our project implemented with the following architechture Weblogic Portal 10gr3,JSR168,Spring 2.5,Oracle UCM 10gr3,Oracle 11g DB,JDK 1.6.
    We have a new requirement where we need to change the offers,promos etc based on the user or region.
    Is it possible to implement a weblogic portal project with Oracle RTD.
    Any help on this would be appreciated.

  • Can you provide some real time example of Fit Gap analysis .

    Hi all,
    Can you provide some real time example of Fit Gap analysis related to Functional.
    Regards
    Reddy

    hi,
    In my opinion and experience both functional and technical staff playkey roles in the fit-gap meetings and in the subsequent review of thefit-gap deliverable (which lists business requirements, fits, gaps, andalternatives to fill the gaps). Ideally the technical staff possessessignificant functional / business experience at least with that moduleso that he/she can help determine the cost/effort/technical scope if acustomization or interface is the preferred way to fill a particulargap. The fit-gap goes a long way in determining the overall scope ofthe implementation or upgrade project and is a critical success factor.It also needs to be completed very early in the project so thatresulting customizations and interfaces can be designed, created, andunit tested before the system test phase.
    Thx,
    waseem

  • How to download an FPGA vi along with a real time application

    Hello
    I am targeting cRIO 9012, cRIO 9102. I downloaded the FPGA vi on flash memory and then built a real time application and set it as startup.  But there was no signals on the modules IOs which are handled by FPGA vi.
    Also the shared variables of that application when running as standalone aren't accessible. Please provide me the steps that should be followed to access the shared variables of a standalone real time system. Please help me resolve these problems.
    Best Regards
    Mani

    Hi Mani,
    What modules do you have?  What kinds of signals are you measuring?
    Have you deployed your shared variable library on your host PC?
    Regards,
    Jeremy_B
    Applications Engineer
    National Instruments

  • CRIO and ni 9234 modules not working or communicating through fpga with accelerometers, fpga connected to real time application which is also connected to shared variables linked to modbus slave

    Hi,
    I have a compact rio which has a 4 way chassis attached to that chassis is three ni9234 modules they are linked using fpga to a real time application then using shared variables in the low speed loop that are linked to a modbus slave to communicate with dcs, the ni 9234's have accelerometers connected to them with iepe ac coupled option on the c modules, my problem is the real time application seems to be running okay even when power loss occurs it restarts with no problem and the fpga writes to the portable hard drive bin files fine but without a accelerometer connected I get low noise readings as soon as I connect a accelerometer to any one of the 10 outputs it just goes to a fixed number (0.03125) as soon as disconnect it again it reverts back to reading noise, I have run a scan on the modules and only get a spike when I connect or disconnect the accelerometer, I have tested the voltage at the pins of the module and I get 22 volts dc which makes it more likely that the hardware is not the problem but a software is maybe causing this to hang-up, I attach project and files for your perusal. I also carried out a new project which in scan mode directly linked the module input to shared variable and the same scenerio again. Help would be much appretiated. 
    Many thanks
    Jason
    Solved!
    Go to Solution.
    Attachments:
    logger 2plusmodbus2.zip ‏679 KB

    Whren using waveform acquisition with the 9234s we recommend the following FPGA and RT template.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209114
    it can be extended as a data logger with:
    http://zone.ni.com/devzone/cda/epd/p/id/6388
    or using shared variables combined with scan engine
    http://zone.ni.com/devzone/cda/tut/p/id/9851
    The FPGA in all of these, as well as the RT framework have been used successfully by 1000s of users.  I would recommend giving these a try. 
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • Real-time and Developement System

    I have a very premitive question. what is real-time OS? what are differences between real-time and Developement labview.

    Real-Time in general is not about speed, it's about guaranteeing, that a specific function will be executed within a specified time window.
    Imagine a car with some sort of fieldbus. You want the brakes to be working at any time within a time limit (say, 1ms). That's Real-Time.
    Windows for example uses some sort of scheduler to distribute CPU time to the different threads with a granularity of - i think 1 ms. So each thread gets 1 ms, then it is interrupted and the next thread gets its 1 ms. Of course there are priorities which thread gets a little more time (or more "slots") and which thread gets less. BUT: You cannot tell in Windows, that your application will execute in a specified time window - at any time, it can be interrupted and therefore delayed and theres nothing you can do about it.
    Real Time OS make sure, that - if some specified event happens - it will be executed within a specified time window.

  • Hypervisor: Create Standalone Real-Time Application (Error at deploying: File not found)

    Hello,
    I am using Hypservisor. With "Build Specifications" in the project explore I want to create a standalone real-time application.
    In my first try I only want to print some texts onto the real-time console (HyperTerminal) using the function "RT Debug String.vi". I built the real-time application successfully and got the rtexe-file locally on the windows system. But as I tried to deploy the application to the target system, I got the error: "File not found". Please check the attached file "error.txt" for details.
    I don't understand which file is not found. Or I used "\" as path separators. Is it wrong? I'd appreciate if you'd have any idea of the problem. Thank you very much.
    Regards,
    Scarletice
    Solved!
    Go to Solution.
    Attachments:
    ERROR.txt ‏1 KB
    builds.zip ‏153 KB

    Hello Casey,
    Thank you very much for your reply and your interest in our project. We are using Real-Time Hypervisor for the setup of our test stand. We use the Windows system to show the GUI and the Real-Time system for the real-time machine control and online data storage. We use shared variables and shared memory for the data exchange between the two systems.
    The system works generally quite fine now. But we still have to face new problems at each step forwards. I'm sure, I'll have more questions. I'd appreciate your advices. Thanks sincerely.
    Best regards,
    Scarletice

  • Embedded LV 8.0 Real-Time application on cFP-2120

    Hi!
    I'm working on a project which involves programming of a real-time application running on a cFP-2120. The purpose of the application is to control the motion over 7 test-objects with a servomotor.  Test-objects have 3 sensors each. Remote control of the application is necessary. The program should have a GUI which shows graphics of sensordata and buttons to open other VIs like set-up, details, logging etc.
    Could i just build an application like it was meant to run on a pc, deploy it to the cFP-2120 and use Connect to Remote Panel ?
    Or
    Should I build separate VIs;
    -the program which always runs on the cFP-2120 and
    -the User Interface which is runned on a computer now and then which gets value from Network-Published shared Variables
    I need some tips here 

    I would definitely go for the second option, esp. if you want to have this program for a longer time.
    It's much easier to write a good GUI on the PC without the limitations of a real time OS. There you have to keep too many things in mind (esp. no dynamic arrays, performance issues due to GUI programming, not too many sub VIs)... So write a quite minimal control software for FP and do all the interface stuff on the PC. Then you can easily log all the data into a database (if you have the DSC Engine) as well.
    Cheers,
      Carsten

  • Using Vi server in real time application

    HI
    I am  using PXIe( 4330, 6363 and 4353) devices and I want to have executable file for the calibration program  ( AI,AO verification procedure and so on). So I think is necessary to have 2 programs for each 'verification procedure', one under host (executable file) and one under target (real time application).  in host program (exe file) I used VI server to call Real time application. There are some problems that I am phasing.
    First I can’t select the channels which the reason is abvious because my host program is under my computer not under target, but I do not know what is the solution?
     and second is, error number 7 occurred. which says : the path file is not correct , or the file is removed... 
    As I mentioned my goal is to have an executable file which contains Real Time application. Please specify If there are other ways to do that. I do not know wether the way I am doing is correct or is somethig impossible ?!!!!!!!
    Attachments:
    Analog input verification.png ‏158 KB
    AnalogInputFrontPannel.png ‏181 KB
    Error 7.png ‏148 KB

    Hi 
    there is no specific reason why I call vi dynamically, as I said I try to generate executable file which contains real time application, but before that I need to run host vi too see if it works or not. I did what you advised and I have same error still. I think there must be something wrong with path address and vi server, but I address .rtexe file or target vi to my host and for both I have error. 
    I have attached the projects here.and I have followed this example : 
    http://digital.ni.com/public.nsf/allkb/A7DBA869C000B5AE862570B2007C4170
    BTW , are there some special configuration for Real time application that I might missed ? 
    thanks 
    Attachments:
    PXIe-6363.zip ‏306 KB

  • Using PXI 6541 in real time applications

    Hi,
    I am using PXI 6541 for data acquisition from an electronic card. Electronic card generates an interrupt signal and PXI acquire data  when it gets interrupt signal. The interrupt signal is generated 1 KHz. But using my windows XP, I cannot acquire data on this high rate. The highest rate that I can acquire data is 50 Hz. If I want to acquire data with 1 K Hz, from electronic card using PXI 6541 and using Windows XP,  What Should I do.

    Are you trying to use the 'interrupt signal' as a sample clock for your acquisition?  If so, you should be able to route the signal to the PFI input and configure it as the sample clock.  
    As mentioned in your other thread (http://forums.ni.com/t5/Digital-I-O/Using-PXI-6541-in-real-time-applications/m-p/2561885), I would also recommend looking through some of the examples to get a starting point for your application.  
    James K.
    National Instruments
    Applications Engineer

  • Please tell me some real time issues faced by u in SCRIPTS

    please tell me some real time issues faced by u in ur experience

    First understand SAP scripts are client dependent..changes automatically not reflects in all development client once it is change in once client.
    We mostly see alignment issue in SAP script it is mostly because of printer settings etc...
    Also we may have few problems when printing unicode characters.. for printing double digits characters... like Japanese, chinese, korean etc.. we should have a printer with unicode enabled..
    Regards,
    SaiRam

Maybe you are looking for

  • Checking Midi Drivers operation could not be completed error...

    I am having a problem that I thought would get better by upgrading. DUH! I have installed Snow Leopard, and yes, I have been reading what others have said here about SL, and honestly, because it started with an application I use that recommended Snow

  • To the Hosts or Administrators of this forum

    I posted a simple logical question that was/is well within any License Agreement and is common knowledge among any Apple Enthusiast, User, or Geek like myself. The question asked about installation of the much needed and highly anticipated updates to

  • How can I stop authenticated users from getting other user's information?

    We recently discovered that it is possible for authenticated users, via KMu2019s details view, to view details about the other users that have access to the same resource as you.  Our portal (7.0 sp15) is used for an external facing web site.  We hav

  • Ffmpeg and php video conversion

    Hello I have recently been trying to covert uploaded video into flv so that its playable on a flash player. I trying to use ffmpeg which is installed on my hosting plan server. I have been able to grab thumbnails using ffmpeg but now need to convert

  • Determine dynamically option in logo upload in smartforms

    Moved to correct forum by moderator hi all, I have a logo uploaded in either color or black and white. when I select the option 'determine dynamically' , its giving error that graphic can not be displayed. How should I resolve this error. Please help