End of memory. Labview + Real time module + Compact Field Point 2120

My name is Michele Ciampichetti, I'm writing from Italy.
Frist of all, excuse for my english.
This is my first experience with Labview, and the application is not so easy. We use Labview 8.2.1
Our system is costituited by two different parts: there is a Compact Field Point 2120 as remote target whit some I/O card, and a PC used to releave data and memorize them (host).
The comunication between the two targets is performed by ethernet lan with Shared Variables not bufferized and not real-time fifo.
The problem is this: the sistem requires a big number of Vis and Variables (about 20 Vis per target and 50 variables localizated in 5 different librarys all in the remote target), and it should store data, acquisited by the FieldPoint, on a database (SQL Server 2005), one time per minute. This storage is made by Labview Database Connectivity Toolkit, and it work correctly. The problem is an excessive consumption of RAM on the PC.
The question is this: The use of many shared variables or vis, bring the memory to always grow? I try to explain myself. When we start our application, after the first minute and registration on the database, the memory grow of approximately 1,3 Megabytes. This is repeated every minute, and after approximately two ours, Labview break down and display "Not enought memory".
We look the on-line help for one solution, and we have found that the variables (local and shared), the concatenate funcion, the array and Vi indicators copy in memory their older value when updated. Is possible that this is the cause of our problem? There is a method to avoid it? How labview uses memory? It is possible set it up for not maintain older value in memory?
We need to run the application up to 4 days for complete its work, is a long test for a climatic room.
We're looking forward to hearing from you.
Best regards
Michele

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

Similar Messages

  • 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 Ardence RTX required when I use PCI-7831R with labview real-time module for RTX target

    I am new in the labview real-time field. I want to use labview real-time module for RTX target on only one desktop. My card is PCI-78331R.  Is Ardence RTX necessary? Why I cannot find my card in the MAX after I configured the RTX?
    Thank you very much.

    Hi Ziaozhongda,
    You must have the RTX runtime engine installed before the LabVIEW Real-Time RTX module will install.  Additionally, you should follow the instructions in the "Using the NI PCI-7831R with the LabVIEW Real-Time Module for RTX" section of Getting Started with the NI 7831R (page 8).
    Please see Configuring Hardware for Use with RTX.
    Also useful is "How Can I Validate That My PC Will Run RTX?

  • Could I use two regular computer to achieve realtime communicat​ion using the Ethercat and Labview Real Time Module?

    Could I use two regular computers (one acts master , another one acts as slave using the Ethercat Internet Card) to achieve realtime communication using the Ethercat and Labview Real Time Module? if it could, what hardware should I purchase from the NI ?
    Thank you!

    Hi Xiaolin,
    NI doesn't offer Windows based Ethercat master or slave software. Only LabVIEW RT can run the Ethercat driver. 
    However, you could use a LabVIEW RT target as an Ethercat master and use the Ethercat Internet Card with a slave PC (note: I think this will work from the Beckhoff description of the card you are describing. The card should integrate like any other non-NI slave. However I haven't tested the setup and don't advise saying it will work until you have tried). 
    You can use any NI RT target with two ethernet ports as the Ethercat master. This could be a cRIO, PXI or RT Desktop. 
    Jesse Dennis
    Design Engineer
    Erdos Miller

  • The Problem about Monitoring Motion using PCI-7358 on LabVIEW Real Time Module

    Hello everyone,
    I have a problem about monitoring the position of an axis. First let me give some details about the motion controller system I’m using.
    I’m using PCI-7358 as controller and MID-7654 as servo driver, and I’m controlling a Maxon DC Brushed motor. I want to check the dynamic performance of the actuator system in a real time environment so I created a LabVIEW function and implemented it on LabVIEW Real Time module.
    My function loads a target position (Load Target Position.vi) and starts the motion. (Start.vi) then in a timed loop I read the instantaneous position using Read Position.vi. When I graphed the data taken from the Read Position.vi, I saw that same values are taken for 5 sequential loops. I checked the total time required by Read Position.vi to complete its task and it’s 0.1ms. I arranged the loop that acquires the data as to complete its one run in 1ms. But the data shows that 5 sequential loops read the same data?

    Read Position.flx can execute much faster than 5 ms but as it reads a register that is updated every 5 ms on the board, it reads the same value multiple times.
    To get around this problem there are two methods:
    Buffered High-Speed-Capturing (HSC)
    With buffered HSC the board stores a position value in it's onboard buffer each time a trigger occurrs on the axis' trigger input. HSC allows a trigger rate of about 2 kHz. That means, you can store a position value every 500 µs. Please refer to the HSC examples. You may have to look into the buffered breakpoint examples to learn how to use a buffer, as there doesn't seem to be a buffered HSC example available. Please note that you need an external trigger-signal (e. g. from a counter of a DAQ board). Please note that the amount of position data that you can acquire in a single shot is limited to about 16.000 values.
    Buffered position measurement with additional plugin-board
    If you don't have a device that allows you to generate a repetitive trigger signal as required in method 1.), you will have to use an additional board, e. g. a PCI-6601. This board provides four counter/timers. You could either use this board to generate the trigger signal or you could use it to do the position capturing itself. A PCI-6601 (or an M-Series board) provides can run a buffered position acquisition with a rate of several hundred kHz and with virtually no limitation to the amount of data to be stored. You could even route the encoder signals from your 7350 to the PCI-6601 by using an internal RTSI cable (no external wiring required).
    I hope this helps,
    Jochen Klier
    National Instruments

  • Link of labview real time 8.0

    I need to download LabVIEW Real Time module 8.0 (Evaluation version fisrt to test).
    so that i can run with LV8.0 to my PXI system.
    ayder

    Hi Haider,
    Duplicate Post  
    This is not available for download online. You will need to either contact your local NI rep or contact NI support.
    You can create a service request here, under Technical Support select "Request Support".
    Regards,
    Claire Reid
    National Instruments

  • Real Time Module needed for hi speed digitizer PCI 5911 ?

    Rookie question :
    I run LV 7.1 , LV Run Time  8 ( whatever this Run Time Engine may be ) , MAX  4.0.0 , NiDaq 8 ( for my two Multi Function PCI Daq's ).
    Question : does the PCI 5911 work under NI-Scope 3.3 ( supporting PCI 5911 ) without a Real Time Module ?
    i.e. is the Real Time Module a separate ( hardware ? ) device, not necessarily needed for PCI 5911 ?  
    Sorry for this utter basic question.
    I have not used a hi speed digitizer before, only multifunction NiDaq's.
    Thanks for any help or reference.

    You are probably referring to the LabVIEW Real-Time Module described here.
    This is an extension to LabVIEW that allows you to run VIs on a
    real-time, deterministic environment, usually on remote hardware.  One
    common configuration is to use a Windows system as your host, and
    communicate to a remote PXI controller running LabVIEW RT. 
    The PCI-5911 is fully supported for "standard" LabVIEW running on Windows.  You don't need LabVIEW RT to use it.
    In fact, the PCI-5911 is not supported under LabVIEW RT.
    Message Edited by psisterhen on 10-16-2007 09:50 AM

  • Is real time module necessary?

    Hi,
    I want to use cRIO-9073 for simple system control. Do I need Labview Real-time module if I don't need real-time support?
    Thanks in advance.
    Karpis

    Hi Karpis,
    This is the forums for IF-RIO, which is the PCI-5640R and PXIe-5641R devices. Please post your question to the cRIO forums found here:
    http://forums.ni.com/t5/Real-Time-Measurement-and/bd-p/280
    You can get faster response to your question there.
    Best Regards,
    Jignesh P
    Applications Engineer

  • Real-Time Module Labview 64 bit

    I have installed labview 2009 64 bit version to my laptop. And, i want to instal the real-time modul to this labview, but i can not do this since it needs labview 32 bit installed. Is it possible for me to install real-time module to 64 bit labview? Please help me with this problem.

    The LabVIEW RT application will most likely always have to remain 32 bit for now. Most of the RT targets are to resource constrained to gain anything from moving them to a 64bit RT OS, in fact in trying to move them to 64 bit they would loose quite a bit of performance. For the Desktop and PXI RT systems, the problem is that they are based on Pharlap ETS and that is a pure 32 bit solution with no plans of ever moving to 64 bit anytime soon, AFAIK. And NI is not likely going to port that to 64 bit themselves, aside from the question if they could technically do so (not sure they have access to all of the source code) and legally (their license most likely does prevent them from changing the ETS software to run under different target systems than the one it was originally purchased for).
    The only thing you can expect to come from NI in the near future is that the RT system also installs into 64 bit LabVIEW, and the actual cross compilation that happens already will simply target the 32 bit RT target. That however means that the RT application itself is still limited by the 32 bit constraints. Maybe there are some plans to add a 64 bit RT system to the mix for the high end PXI controller. What OS that would use is quite unclear. Pharlap ETS seems out of question for that, VxWorks is probably not a favorite solution at the moment and an Linux RT based system has its own legal and technical challenges.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • 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

  • Real Time Module, upgrading Labview 6.02 Base Development System?

    Hi,
    I have Labview 6.02 Base Development System but I need the Real Time module.
    Would it be possible to get it upgrading the Labview 6.02? Is the full development systemm needed?
    Which could be the cheapest way to get Real Time module?
    Thanks.

    You can upgrade to the latest version of LabVIEW Real-Time version 7.1 by upgrading both LabVIEW and LabVIEW Real-Time. You can all about the new features of LabVIEW Real-Time at the following link. For more information, please contact us at .
    Regards,
    Kristi H
    National Instruments
    >

  • Real-Time Module architecture

    Hi, (I use LV RT DSC 8.2.1)
    I want to learn how to use the Real-Time Module.
      I have process that is running at a Real Time compact Field Point Target.
    The process should be controlled and monitored by the Target but the triggering of the process should be available at the Host.
    I also want to view the Process progression at the Host screen.
      As far as I understand it I have several options :
    Create a RT FIFO buffer and send the process data to that buffer, and then, use 'TCP Write' to send the buffer data to the Ethernet Network, where it is available to any Host PC at the Ethernet Network to view (by using TCP Read)
    Create a Variable in the Project, and enable his RT FIFO at his properties.
    Control the process at the Target with Shared Variables and read them at the Host.
      Option 3 is the option I have been using so far, ignoring the RT property of the controllers, what are the advantages of using RT module ?
    and when should I consider using them ?
      What is the difference between 1 and 2 and what are their advantages ?
      What important things do I need to consider when I use RT Module  (just several tips if possible) ?
       Sincerely Yours,  Amitai Abramson.

    Hi Amitai,
    You could go through this link to know more about RT FIFO and its use. http://zone.ni.com/devzone/cda/tut/p/id/3934
    and this for communication wizard http://zone.ni.com/devzone/cda/tut/p/id/4676
    Message Edited by mallyaprs on 04-30-2009 03:53 AM
    -Mallya
    " Appreciate and motivate those who help"

  • Difference entre Deployment License for Standard PC's- ETS RTOS et LabVIEW Real-Time Debug Deployment License

    Premier question j'ai develloper suite 2009 SP1.Avec a été fourni le Deployment License for Standard PC's- ETS RTOS sauf que c'est la version Labview Real Time 8.2 Pourquoi ce n'est pas 2009 SP1 ?
    Et la deuxieme question est : qu'est ce que LabVIEW Real-Time Debug Deployment License ?
    Merci

    Bonjour Lunik,
    Merci d'avoir posté sur le forum National Instruments.
    Il n'est en effet pas normal que vous ayez la version 8.2 du module RT si vous possédez la version de Developper Suite 2010 (qui inclus LabVIEW 2009 SP1). Si vous parlez bien du module LabVIEW RT, vous ne pouvez avoir une version antérieure que celle fournie avec la suite.
    Si vous aviez une ancienne version installé, je vous conseille, si ce n'est pas le cas, d'installer tous les modules dont vous avez besoin depuis les disques d'installation de la Developper Suite.
    Pour votre deuxième question, je vous renvois à cette page : ici.
    Ce logiciel permet de déployer une licence pour faire d'un PC une cible RT.
    Cordialement,
    Romain P.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

  • Labview Real-Time and CompactRIO questions

    Hi
    everyone! We have new troubles about CompactRio and Real Time module:
    -We want to
    translate into real-time module a VI we have done with Labview 8 .2. In order
    to do that we have discovered an option placed in Project Explorer  (Tools->Real-Time
    module->Communication Wizard) that seems to translate automatically into Real-Time
    language. Is it true?
    - If it was
    true we would want to do a transmitter VI in CompactRio (RT target)  and a receiver VI in the Host. But the
    Communication Wizard creates a VI in the Host and a VI in the RT target (in
    Real Time language) for each VI we enter to translate ( so we obtain 4 VI’s in
    the same project , two of them as transmitter, and two of them as receiver)
    -We have
    tried to deploy some VI’s to the CompactRio and we get always an error.
    CompactRio’s configuration is allright and it is well recognized by MAX. Why
    does the error appear, and how can we work it out?
    We
    need to configure the Serial Port placed in CompactRio in order to adjust some
    features, such us bauds value. MAX recognized the CompactRio’s Serial Port, but
    all the opctions to configure them are disabled.
    I hope you
    can answer these questions. Thank you.
    Ander

    Hi again,
    Still didn't find the problem on my side. Here's a picture of my code. If I put the code surrended in red at place (1), I don't get the error, but if I put the code at place (2), I get the error. Why oh why....?
    I get the error when I close the browser or click Back button of the browser or Stop the application with the red dot or stop the application with the Quit button on my front panel.
    This morning I found a post on this forum about getting an error using Property node and Remote panel (http://forums.ni.com/ni/board/message?board.id=170&message.id=252705). I did what they suggest: wire the property output to an indicator and it works (disable "Enable automatic error handling dialod" didn't work... I don't know why)... until I put extra code in my VI. 
    I really need help please!
    Thank you
    Stephanie
    Attachments:
    MemoryManager line 437 error.JPG ‏228 KB

  • NI LabVIEW Real-Time for Desktop PCs compatibility!

    Hello,
    I'm pretending to acquire the NI LabVIEW Real-Time Deployment License for Desktop PCs. But before that, I need to be sure that this will work with other boards (not from NI).  
    Currently, I still don´t have all the project details. But there's a possibility of one board be from other supplier. 
    Can anyone tell me this, please. It's very urgent.
    Best regards,
    Paulo Carmo

    Hi Paulo,
    I guess that you will be disappointed but the response is clearly no.
    When you boot a Desktop PC as RT target, it loads with the basic real-time operating system (including drivers for ethernet, for harddrive, memory....). When you want to add drivers on this embedded system, it will be only possible to add National Instruments drivers such as DAQmx, DAQ, VISA ... The possibility to add others drivers (from others providers) is not supported.
    Hope it will help you,
    Regards
    David D. - Application Engineer - NI France

Maybe you are looking for

  • How do i get rid of ads on Firfox home page ( most current version is installed and all extendsions disabled)?

    ads on FireFox home page started a month or two ago... some are very offensive (a gun pointing at me) and all are highly distracting/flashing things and such.... I emptied /cleared my Cache today..kept in only a few I knew..did the clean out manually

  • Help with launchpad organization

    I want to use the Launchpad to organize my applications while leaving the Applications folder untouched (a large flat list of stuff since experience taught me that trying to organize programs there in subfolders might lead to problems with some appli

  • Standard Macro and Functional Module in HR -Programming.

    Hi friends, Could i know the difference between a standard macro and a function module in hr programming. how do we have to use that and what are the different std macro's and functional modules used in HR-Programming... Thanks in Advance.. Regards S

  • OEL file system questions - XFS and encrypted file system

    Does anyone know if Oracle Enterprise Linux 64 bit can support / install the XFS file type ? Different question. Does anyone know if Oracle Enterprise Linux 64 bit can encrypt the whole file system? Steve

  • Soundbooth CS5 has stopped working

    I have CS5 Master Collection and Windows 7. Most of the program are working but Soundbooth and Photoshop 32bit is giving me problem. Upon initialization of Adobe Soundbooth I see the splash screen as it loads it's components then all of a sudden I ge