Using Labview realtime module in RTAI

hello everyone,
i want to use Labview realtime module in RTAI for real time applications beacuse of it's free source and very good performance. is it possible to do this work?
if it is, can anyone introduce some same case study or something similar to this?
Solved!
Go to Solution.

amirsaman wrote:
hello everyone,
i want to use Labview realtime module in RTAI for real time applications beacuse of it's free source and very good performance. is it possible to do this work?
if it is, can anyone introduce some same case study or something similar to this?
I don't think that is possible for anyone outside NI. LabVIEW realtime supports at this time only Windows as development host and as target only National Instruments hardware with specifcally targeted OSes or the Pharlap ETS system on x86 systems with a somewhat specific hardware configuration. Using RTAI as target OS for LabVIEW realtime applications would require first some modifications to the LabVIEW realtime plugin to support this new platform.
Also none of the LabVIEW realtime files created for either the NI platforms running VxWorks or Pharlap OS, or the Pharlap ETS system woud be possible to get deployed to a RTAI system, as they are not compatible. You would in the first place have to port the whole slew of shared libraries that make up the realtime LabVIEW runtime system on one of these targets to your RTAI system which is basically a completely new LabVIEW target platform that you can only create with quite a bit of effort from the LabVIEW source code. It's not really impossible for NI as most of the LabVIEW code is written quite platform independently but it would be a combination of the compile settings for current LabVIEW realtime, with settings to produce LabVIEW VxWorks realtime targets with some extra Linux settings. Yet it would be by far not trivial and some of the parts are actually hardware specific drivers which have to be ported too, and limit the possibility of what RTAI hardware could be used even further. In short not something that would make any commercial sense to NI as they would have to invest a lot of resources without any possibility to sell extra hardware.
And hell is freezing up before NI releases LabVIEW source code in any form that would give non-NI employees access to it! 
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • How can I install (download) a Labview FPGA code onto Altera FPGA chip using Labview FPGA module?

    Hi there
    Guys i'm a very new labview user (PhD student), my project is about ( design and implementation of a high speed-yet sophisticated system using Labview environment then install this project's code (using Labview FPGA module) onto Altera-made FPGA chip).
    so kindly, can any body help me in this?...is there any way to connect labview with Altera FPGA?...please anything would be said 'd be of great benifits
    thanks a lot in advance.

    as previously mentioned, labview fpga only supports national instruments targets utilizing xilinx fpgas. the hdl generated by labview fpga is encrypted and cannot be used to synthesize a design outside the labview fpga design flow. 
    however, if you must use labview for your project, it might be possible for you to design the system in labview and use one of the labview embedded modules ( http://www.ni.com/embedded )to generate c code which you can then port to systemc and compile for the altera fpga. i'm not saying it will be easy, but it should be possible. 

  • How to open an app using LabVIEW PDA Module 7.1

    Hi,
    i´m developing an app using LabVIEW PDA Module 7.1 that needs to open a
    standard application (in particular, the default camera application) on
    my PDA (Qtek 2020 with Pocket PC 2003). Can anyone tell me how to do it?
    Thanks,
    Pedro Sampaio
    Computer and Telecommunications Engineer Student
    ESTG -IPL, Portugal

    Olá,
    Com o project podes fazer builr e deploy, a partiur daí tens a aplicação instalada na PDA.
    Cumprimentos

  • Implementing Differential Equations using Labview fpga modules on PXI-7811R

    Dear,
        I am working on   implementing dynamic systems modeled ordinary  differential equations on PXI-7811R FPGA using labview FPGA. Is there any body who can help me how to implement differential equation on PXI devices uding Labview FPGA, please? Is there any integrator in Labview FPGA, module. I used Discrete Integerator in LAbview FPGA  module in Maths palette, but i hesistated if it really works . I really appreciate your help,
                                        Gammee

    Thank you for posting on the discussion forum.
    You can solve differential equations using LabVIEW FPGA but you may run into some significant difficulties in doing so. If you are not tied to using FPGA, you could try using LabVIEW real-time, which may make things much easier. But if you would like to stick with FPGA, see the link below for a list of examples that may be helpful:
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/ssnav:ipn/q/differential%20e...
    Below is a link that you can review to better understand the functionality of the discrete integrator should you choose to go that route:
    http://zone.ni.com/reference/en-XX/help/371599B-01/lvfpga/discrete_normalized_integrator/
    I hope that helps.
    Best,
    Rachel
    Rachel D.
    Applications Engineer
    National Instruments

  • Labview fpga module 8.6

    I want use labview FPGA modul 8.6 can somebody help me to dowlaond this modul thanks

    Hi scream,
    It would best contact your account representative within National Instruments, they will be able to determine how to best deliver this module to you.  Thanks!
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • 100% CPU using LabView 7.1 and DSC module

    Seven years ago I used BridgeView and PXI to execute a project, and the results were so good that after that initial system, I installed one more using BridgeView, and three more using LabView 7.1.
    BridgeView is working very well, but lately, LabView 7.1 is giving me more and more problems. It all started in a system running LabView 7.1 and DSC on Windows XP, using a PXI-8187 controller with a PXI-1042 chassis. I have two PXI-6533 digital I/O boards, one PXI-6030E multifunction, one PXI-6713 analog output board, one PXI-6602 counter board and one PXI-8422 serial com. board. In may/06, all of the sudden, the CPU went to a 100% use. Since I am running PID's to control a flash-butt welding machine in a steel factory, this was extremely dangerous. I changed the controller and everything went back to normal. It was running fine until december/06, when the same behavior appeared again. This time changing the controller did not help. We increased the system memory, from 256 MB to 512 MB and everything worked fine. But one month later (january/07) the fault reappeared. This time we changed the chassis and from that moment to this time, we are running smoothly.
    Application problems were suspect from the very first time this problem appeared, but I was unable to identify the source, if any. I used PROFILE VI's and apparently the write/read tags were taking all the processor resources. However, changing the routines and disabling communications, and optimizing CPU intensive programs never solved the CPU overload.
    Until now, I was aware of only one system showing this erratic behavior. But today I went to check another system, with a totally different application. This one is used to measure the thickness of the steel sheet on a rolling mill. Is not so resource-intensive, but the maintenance folks told me that every time they turned off this particular system, they always had problems trying to turn it on.
    I was suspecting of a PLC-communication related issue, but what I found turned my alarms on. I turned off the system, which was fully functional, and turned it back on, and there it was, CPU load at 100%!. Is exactly the same problem that I have on the welder. This system has a PXI-8184, a PXI-1042 chassis, Windows XP, one PXI-6030E, one PXI-6713 and one PXI-6533. I battled for 20 minutes to put the system back in normal conditions.
    I specified every single board, installed everything and programmed all the applications. The BridgeView applications have never showed anything like this. I am using the DSC (Datalogging and Supervisory Control Module) on both applications, and the Lookout Protocol Drivers are communicating to Modicon PLC's.
    Please, I need help to solve this issue. I believe none of your actual Knowledge Base "100% CPU" articles apply to my case...
    Thanks in advance...
    Antonio Jimenez
    [email protected]

    Thanks for your reply...
    Yes, sometimes I have the feeling that the systems works again because some file or database gets initialized after so many reboots.
    Intentionally I turned off all the events and alarm logging to disk. Also the historical data logging is disabled. This is done by code, every time the main VI is started. This was included precisely to save CPU processing power. However, I am communicating to PLC's, and of course I have to declare variables inside the citadel database to make the communication possible.
    Right now I can't have access to the application, because the mill is rolling, but during the next maintenance stop I will check the database location and size, and I could change the directory location the next time the fault comes up.

  • What are the limitations of using labview 8.5.1 developers suite verses a real-time module in field point applications?

    What are the limitations of using labview 8.5.1 developers suite verses a real-time module in field point applications? Can an exe. be loaded onto a field point controller or does the controlling program have to reside on a PC for example?

    centerbolt is correct, you can't load a .exe or even run a program on the fieldPoint controller unless you have the Real Time module.  However, that does not mean you can't use your FieldPoint bank without the Real Time module. 
    From LabVIEW for windows you can make calls to the fieldpoint IO using the fieldpoint read/write functions. 
    This program runs on the PC not the FieldPoint controller.  If you loose network connection to the fieldpoint, your program will loose connection to the IO.  For many data logging applications this type of arrangement can work just fine.  However, if this is the only type of application you are ever going to run, then you may as well not buy the Real Time controller for your fieldpoint but the network controller only. 
    If your application requires more reliability, and/or greater determinism than can be achieved by running a program on windows, then you should use the LabVIEW Real Time module and develop a program that can run down on the FieldPoint controller independent of windows.
    Message Edited by StevenA on 07-22-2008 04:14 PM
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC
    Attachments:
    fp pallet.PNG ‏6 KB

  • Is it possible to connect labview with opc server without using NI dsc Module ?

    Hellow sir,
    I want to get data over labview using OPC server and i am not using any dsc module vi (Alams, print, GUI, security).I am using share variable to get data from OPC server to labview. Now i want to deploy that application to third party computer. (where there is no NI software is installed)
    i am using labview 8.6 and 2009.
    Many ? like....
    1) what is the procedure to install that application in third party computer.
    2) Do i need to use my dsc run time licence..?
    waiting for your valuable feed back.
    Thank you.
    CLAD
    Labiew programmer

    Hi, When you connect to NI OPC Server by creating New I/O Server > OPC Client. You will see all registered OPC Servers running on local machine or remote machine. I used KepServerEx from Kepware and LSIS OPC Server from LG with no problems. Just make sure that the OPC server is running.
    Hope it helps
    Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
    Assistant Lecturer
    Mechatronics Department
    Faculty of Engineering
    Misr University for Science & Technology
    Attachments:
    LG.png ‏57 KB

  • How can I use the CAN MODULE in LABVIEW 6i?

    How can I use the CAN MODULE in LABVIEW 6i?
    HELP ME! PLEASE

    Not sure what your real question here is, but I'll take a stab at it.
    The NI-CAN drivers (module) only work with the NI CAN cards. If you have a different vendors card, you'll have to contact them to see if they have LabVIEW drivers.
    If you do have a NI CAN card, then you just need to install the NI-CAN drivers and you're ready to go. Have a look at the examples for help in getting going.
    If you're having a specific problem, please give us some more details and we may be able to help out a bit more.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How to create and read text file using LabVIEW 7.1 PDA module?

    How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
    I attach my code here.
    Attachments:
    File_IO.vi ‏82 KB

    Well my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.

  • Interfacing Sensoray modules via ethernet using Labview

    I am using sensoray 2601 module via Ethernet communication protocol,i want to interface with LabVIEW,is there any sample program/tips to interface?
    Please Mark the solution as accepted if your problem is solved and donate kudoes

    There is a lot of examples for the TCP/IP protocol if that's the protocol that is supported by the device. Open Example Finder and do a search.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Using Keyboard or Mouse in LabView RealTime

    Hi,
    I would like to know whether keyboard or mouse can be used as input in LabView RealTime. If yes, can anyone explain me how to get the input coming from the keyboard or mouse?
    Thanks

    Hi e_Rik,
    Could you explain what you are trying to do a little further?  Currently the only real-time targets that can have a keyboard or mouse plugged into them is a PXI chassis or a desktop ETS system. 
    The following links also touch on the subject as well.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=147602&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=170&message.id=149424&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=180&message.id=27461&requireLogin=False
    I double checked and currently there are no keyboard or mouse VIs that work on real-time targets.  You may be able to get around this by finding a serial keyboard and mouse and using VISA calls.  Hope that helps clarify, and have a good day.
    Brian K.

  • Please, Help me. I need to do Pluse Width Modulation using LabVIEW 7.1

    I need to do Pluse Width Modulation (PWM) using LabVIEW 7.1. I have some analog signal e.g. sine-wave, then I want to transform this signal to be PWM signal.
    See in Figure,
    Now I already make by myself, but it 's not good. Because the frequency of sawtooth is very low, so the PWM signal is not smooth. Please , help me or give me for example.
    I will try its.
    Attachments:
    fig4.gif ‏5 KB

    Hello,
    I think the problem you're having comes down to how you're using the function.  Basically, the frequency input to the sawtooth function is defined poorly in units of cycles/sample.  Of course, we're used to seeing frequency defined in terms of samples/second.  But remember, all we have in any programming language is data - in this case we have an array of data.  The timing information is to be interpreted, and has nothing to do with the data that defines the waveform.  What I mean here is, the time per sample in the sawtooth waveform is completely arbitrary and has nothing to do with the sawtooth itself.  It will be defined if you physically output that waveform, because you will be writing some number or samples per second - that will define the frequency of the waveform.  Thus, when you are working entirely in software, what you fundamentally care about are the number of samples, or perhaps a bit more specifically, the number of samples/cycle (for periodic functions) and also the number of cycles you'd like to define (together these two tell you the total number of samples).  Of course, if you know the rate at which your samples will be output, and you know the samples/cycle that you've defined, those to pieces of information tell you the actual frequency that the signal you output will have.
    The moral of the story is, when you wired 100 to the f input of the sawtooth function, it was interpreted as 100 cycles/sample, which clearly doesn't make sense because a single sample cannot represent 100 cycles, let alone even a single cycle.  Take a look at the attached VI, where all I have done is used the reciprical function to make the front panel input be in units of samples/cycle instead of cycles/sample.  This way you can specify the total number of samples and the samples/cycle, and you should have a pretty good feel for how to use the function in the slightly modified form.
    I think that clears things up!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear
    Attachments:
    Sawtooth.vi ‏24 KB

  • Using Scope for LabVIEW DSP Module

    I have a DSK6416 board and it is supported in my LabVIEW DSP Module on my LabVIEW 8.6 Professional. I want to use two scopes, one for the input audio signal and one for the output audio signal of my board. Which one should I use? NI-SCOPE or Two Channel Oscilloscope? Does NI-SCOPE support any dsk? Does two Channel Oscilloscope work with my real-time project?

    Duplicate Post.

  • Can i use Handle C with the LABVIEW FPGA module?

    Hi,
    Can i use Handle C with the LABVIEW FPGA module?  I am working with CompactRIO right now so, i want to know weather i can use Handle C with CompactRIO.Can i access FPGA in compactRIO independant of LABVIEW  means can i program it without using LABVIEW?
    regards,
    Vishnu.

    Hi Vishnu,
    Although we don't support Handel-C directly, it is possible to design your algorithms using 3rd party tools or system integrators and consume them from a top-level LabVIEW VI. The webcast at http://zone.ni.com/wv/app/doc/p/id/wv-268 shows an example of how you can use IP from C-based tools provided by Celoxica in the LabVIEW FPGA environment.

Maybe you are looking for

  • Unable to get parameter by using a controller in OAF

    Hi! I'm new using OAF and will appreciate your help a lot!! FYI: Basically I have to add 2 descriptive flexfields in a page (by creating a VO) and I have to update the table with the information registered on those dff (I've done all the logic alread

  • Ipod doesn't work after updating software!!!!!!!

    I've just updated my ipod nano's software and it stopped working. The itunes works alright, it updates the songs and everything but the ipod itself has no image whatsoever! How can I solve this?

  • Issue with makeing a gensplash package

    Hey. I've been trying to make a package following the gensplash guide from the wiki: http://wiki.archlinux.org/index.php/Gensplash I cannot make it work however. This is the error: ==> Starting build()... /usr/bin/makepkg: line 599: build: command no

  • Connecting a 30" DVI-D Display to TBD?

    Good evening! I´d like to ask if anybody had already tried to connect a Thunderbolt-to-DVI-D Adapter to the Thunderbolt-port of a Apple 27" Thunderbolt Display? I have an old 30" Samsung LCD (2560x1600) with a DVI-D input and would like to connect it

  • Deleting accounting document

    Hi, I am having a billing document where an accounting document was generated for that but not cleared. Now I want to cancel the billing document through VF11. Shall I cancel the accounting document also before cancelling the Billing document or it w