Real time

Hello world

I write here because I have a problem using a controller real-time (OR 3100 RT) in my application.

The controller is used to send a TCP/IP packet to a Robot SCARA controller that needs to receive an update every 8ms (this is the reason why I used the RT controller) and read the package of the robot. A PC is connected by a cable ethernet on the RT controller, so that the user can select the final position, speed, etc. and view the position of the controller and the values some of load cells.

If the PC and the RT controller share a few global variables (final-effector position, the value of the normal force,...).

The application works very well. The problem is that, after a few minutes, the RT controller loses connection with the robot and the robot, I get the error message related to a package delayed; so I guess that the VI had some problem to send the update of position to 8 ms.

If I run just the VI on the RT controller, without launching the VI on the host PC, everything works fine. When the RT communicates with the PC, I get the error of timing.

What can I do to fix this? In the RT vi controller I made two loops, a high priority one, to send packets to the robot and a low priority for communication with the PC, but the problem is still there. I also tried to change the settings associated to the timed loop (timeout, take time, missed periods, maintain the phases initial), but no good result (but if I uncheck the 'Discard without rules', the problem occurs less frequently).

I have attached a few screenshots related to the target.vi, in particular the options related to the synchronization of the two loops, and how I implemented the loop of low priority.

Another question: are there options in the global variables section that can help me solve the problem?

Any suggestions would be great,

Thank you very much to all the world.

Carmine


Tags: NI Software

Similar Questions

  • iPhone download videos in real time with the company data?

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    Alexander.Carpenter wrote:

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    iCloud photo library - Apple Support only works when the two is connected to wifi, no cellular data.

    Read here's how it works.

  • Get strange errors 'real time' in the browser console, what do mean?

    I noticed recently that since yesterday is the day prior to that, I get a strange 'real-time' error messages in my browser console log. I get them for more or less the same sites, and I have attached a screenshot of some of the most common mistakes for example. I see these errors very frequently in the browser console log.

    So I'm a little worried about what mean these errors, why I want to come and if anything, what to do about them.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • Real-time backup question

    Real-time running Apple Time Machine backup airport Time Capsule?

    Ilmftah,

    Time Machine backup is based on the following default calendar:

  • Dysfunction of real time on Satellite Pro C650

    Hello everyone.

    This is my first time on the site.
    I have a Satellite Pro C650. I have had it for 3 years now & everything is going well except the real time.
    Real time shows dozens of yellow folders that contain content zero. As I remove them one by one, they disappear, but the program stops during the removal. Then they reappear next startup.
    I am running version 1.6.06.32.

    Any help would be great.
    Cheers, Glen.

    To be honest I don t use real-time, but have you tried to reinstall?
    Download of real time .

  • Satellite Pro M30 - real time clock shows wrong time

    Hello!

    most of the time I am using my Toshiba satellite pro m30 without the battery with the energy of the power system. the battery is stored somewhere outside of the computer for a month the real time clock shows a bad time if the computer is started after a period of time.

    I think my cmos battery is going to die soon.

    someone has an idea, how this cmos battery can be changed by myself?

    Thank you
    Reinhard

    Hello Reinhard

    I agree with you. It is time to replace the CMOS battery. It is not easy and the machine must be dismantled. If you are not familiar with the procedure for disassembly, it can be dangerous. A small mistake can result with damaging material.

    If you want to do it alone, you do so at your own risk. Be sure to use the right battery. Maybe you won't believe, but if you use a battery hurt it could cause battery explosion, or other damage.

    I'm not 100% sure, but the RTC battery must be placed on the left side near the touch pad. If you want to only please be very gently. The laptop parts are very sensitive.

  • MacAfee says real-time internet security disabled during access via Firefox.

    Although the Green OK of MacAfee sign illuminates when accessing e-mail in xplornet.ca via Firefox (my default), a message tells me that MacAfee real-time protection is disabled. By clicking on the button 'Activate' returns me seconds to red alert "off."

    This has happened

    Each time Firefox opened

    Hello Mark.

    Well maybe not related to your problem, I have to remind you that the version of Firefox you are using right now has been deleted and is no longer supported. In addition, he has known unpatched bugs and security problems. I invite you to upgrade to the latest version of Firefox, for maximum security, stability, performance and ease of use. You can get it for free, as always, to getfirefox.com.

    What about your problems, you must contact McAfee support.

  • My daughter has an air of ipad and iphone 6 mounted on a tripod. She would like to use his phone to photograph/video while you watch on his ipad (in real time)... is it possible? If so, what adapter or cable is needed?

    My daughter has an air of ipad and iphone 6 mounted on a tripod. She would like to use his phone to photograph/video while you watch on his ipad (in real time)... is it possible? If so, what adapters or cables are needed?

    Hello!

    Unfortunately, this feature is only available with the GoPro cameras.

    And Yes, if all cables already existing for these purposes, it would be kind of a pain to take pictures and do not shake the camera accidentally. Maybe, VSCO camera makers will make such feature in some time in the future. This idea is excellent and innovative. Maybe even Apple will listen to users and make their new iOS 10.

  • Debugging on a real-time target - deployment issues

    Dear community,

    After RT my 9651 sbRIO module wiring code, I do tests to check the intended functionality. For this I start my main VI who deploys the code on my SoM and I can happily move forward with my debugging session.

    Sometimes, however, while in the process of deployment, I get an error saying:

    [VI - name] .vi loaded with errors on the target and was closed

    When I open the VI it has no errors and the VI should work a fine might think.

    My solution was so far of the VI, just open move the wires and terminals round, re - save the VI and this is the deployment works.

    This trick worked for a while, because deployment error ca occur arbitrarily on different VI making debugging quite cumbersome.

    I then went ahead and just run the wrong VI in RT mode by moving terminals and structures around to get the VI runs in mode debugging, but it is very time consuming.

    Given that 3 people working on this project and we use git-subversioning I also do not want to "touch" each time just screws for the debugging session will without actually modifying the feature.

    Has anyone encountered a similar experience or perhaps found a magical setting to avoid this subject a lot of time?

    Hello

    If solutions already present Spex does not do the trick for you, clearing the cache of the compiled object can help.

    For more information, take a look at the following link:

    Why my screws are loaded with errors when it is deployed at my target in real time? -National Instruments
    http://digital.NI.com/public.nsf/allkb/7F6502FF0560FA9086257EB3005B13BA

    Concerning

    Alex

  • Real-time execution trace toolkit to optimize the Labwindows/CVI code

    Hello

    I am trying to optimize a code in real-time in LabWindows/CVI by minimizing the time of each section of the code is taking and find bottlenecks in the code. I check this time using the real-time execution trace toolkit.

    However, I just found it seems to be a constant error when you use the tool of real-time execution trace.

    When I put the traceviewer 'start' and 'stop' right after the other, I get around shift schedule 9us. It seems that the CPU will in some "idle" after the start of the trace mode, or maybe it's the time of communication or something.

    I'd appreciate it if someone could give me an idea of why this is happening. The time of real-time application window is very limited and I'm trying to minimize the time as much as possible. Even the United States 9 error is difficult to resell.

    I used the following code:

    TraceConfigure (1, 1, 0, 25000, NULL);
    TraceStart ();
    TraceStopAndSend (HOST_ADDRESS);

    and there is a photo in the toolkit of real-time execution trace.

    Thank you.

    Generally, you might be better off picking off the clock at the beginning and end of what you want to track. RTETT my introduce overhead that becomes difficult to quantify... Which is what you probably already see. The debug mode will also implement a ton of overhead. Then... Destemming of the clock in release mode will probably give you you the best estimate.

  • OR PCI-5640R serving of real-time Spectrum Analyzer

    Hello

    The code for the demo of the real-time Spectrum Analyzer real NI SMU-5641R is shown HERE for LV 2009. I want to use the same code for NI PCI-5640R NI SMU-5641R instead. Since I'm on a 5640R, I changed the device in the project.

    Can someone guide me what else I need to do in this demo code so that I can use the same code for the NI PCI-5640R
    instead of the SMU-5641R NI?

    Thank you and best regards,

    Rashid

    Hello r,.

    Since you have not mentioned I guess that you do not have NI 5600. Therefore, to make this example work, you will need NEITHER 5600 buck frequency converter and driver of DAMA. NEITHER 5640R serves only as a digitizer in this case.  Also note that the 5600 is the resource name hardcoded in the program, so if you have OR 5600, you can either rename in 5600 Max or change the name of the resource in code for matching a max. You also need re 5600 NOR as a DAA, so so right click on 5600 OR in select Properties MAX and select external under scanner. All should be good as long as you recomplie the project to create a new file of ILO.

    Thank you

    NOR-khil

  • delete the host controller real time program

    using NI9642 sbrio host in the sbrio real-time like a startup program now when I use the fttp: to remove the previous host program I can't remove it especially when I remove the version of the host of the project, I'm looking for a way to delete the file and work with the new real-time application program that I use it now.

    Hi AlaaShaw,

    Have you tried to cancel the deployment of the executable to the target and then deploy the new application?

  • How do you download a newer version of time Labview real-time in PSC-2200 when is not not in MAX?

    I can't figure out what I need. My PSC 2200 has a version of Labview RT 8.5.1 and fieldpoint 6.0.1.

    I need to be at least RT 10.0 Labview and fieldpoint 6.0.7 because I do Ethernet IP. I don't know that anything more recent that it will work as well.

    As far as I know, I downloaded fieldpoint 6.0.12 and I have the Labview RT 10 module. What Miss me to update software on the cFP-2200 by MAX?

    I don't know another software in the software other than what is currently installed real time Wizard.

    Software shown MAX:

    Any help is appreciated!

    Thank you.

    Wow, Fieldpoint 6.0.1 was released in 2008 - which has been in the LabVIEW 8.5.1 / 8.6 times.  If you want to use LabVIEW 2010RT, you really need to upgrade.

    Try to download and use Fieldpoint 6.0.11: http://joule.ni.com/nidu/cds/view/p/id/3073/lang/en

    LabVIEW Real-time is not "natively" delivered with Fieldpoint or cRIO supported, these happened as part of the RIO or Fieldpoint support modules (so that the most recent versions of RIO or Fieldpoint update your support).

    Who give a shot!

    -Danny

  • The PSC-2000 is programmable with LabVIEW 2010 SP1 / Real Time 10.0.1?

    I have a PSC-2000 camera I want to use for a small project.  I see on the site OR that it is said»

  • "Support for LabVIEW Real-time 8.5.1 and earlier" and "Support for Windows Vista and earlier versions.  It means that I can not use the latest version of LabVIEW (2010 SP1) with time real (version 10.0.1) running on a Windows 7 computer?  If not, what version of LabVIEW, real-time and operating system do I need?
  • When I tried to add a new target under LabVIEW 2010 SP1, the PSC-2000 was not among the choices.

    As the support NOR documents indicate, you need LV version 8.5.1 or earlier to program the cFP-20xx devices family.  Version 8.5.1 of LabVIEW does not work under Win7.  You will need Windows Vista or something earlier like XP.

  • Measurement and automation Reconoce mi PSC pero no lo reconoce mi of the project. If I have Real - Time Module

    The problem that I have are Measurement & Automation Reconoce mi cFP-2200 pero no lo reconoce mi project osea that al tratar add a new target and the device don't lo encuentra en red y me da el error Bank does not

    That tal Estel3an;

    You can have several reasons para you no one el proyecto the CFP in red, the first seria as the IP address of you PSC not accessible from the sea, are sea porque esta in una diferente subred o porque haya complicaciones in red you see Québec no you allow verlo. En that mencionas como MAX if lo puedes music y detectar none are not likely tan, ordered checar the direccion pero of you PSC y determining what is in the same segment that you PC o see if no is "cae" you red momentaneamente y esto no you eprmita see the CFP.

    Otra razon could ser as the instalacion del software to haya hecho en UN orden distinto al recomendado, for example if instalaste primero LabVIEW Real-time y despues LabVIEW o If instalaste los drivers (NOR-Fieldpoint) LabVIEW time before real tambien you could estar afectando. Instalacion practice are LabVIEW, despues Modulos (in this case LabVIEW Real-time) y por ultimo controllers (in this case NOR-Fieldpoint) of all manera las ligas queden creadas.

    Por ultimo could deberse problem of material of the United Nations, el as ¿podrias asegurarte status LED parpadeando en este no you driver of PCP? para descartar than sea por a problema en el PCP is not in you PC.

    I hope the information you sea ayuda.

    Suerte

  • Controller time real-time FieldPoint or Ethernet interface

    Good afternoon

    The first feature listed on the PS-2000 product page is:

  • Stand-alone embedded real-time controller or on PC distributed i/o Ethernet interface.
  • Everyone was able incorporate a PS-2000 as an Ethernet on PC distributed i/o interface?  In other words, have the PS-2000 as a FP-1600 Act?

    There are some discussions forum discussions that dance around the subject, but I found no really one who responds to her.

    Thank you

    Ed

    Hi edlad,

    After playing with a FP-2010 for a while, I think you need to install LabVIEW Real-time on the controller to make it work, even though you are technically not to use it because you are not running a VI/executable on the controller. Regarding your problem with the installation of LabVIEW 8.5.1 on a PS-2000, it is disturbing because it should not be a problem that at all. In fact, I have personally been able to install LabVIEW 8.5.1 on many FP of the 2000s. For that matter, I suggest reformatting of the PS-2000 of MAX and try again.

    ThinkG: Regarding your question on the use of a PSC-2220 to connect with belvedere, I don't know because the support of Lookout is managed by our subsidiary in Shanghai by e-mail only. However, I don't know that you can use this second ethernet port to connect with another network (cFP-180 x) FieldPoint module using the FieldPoint drivers. Here are some good articles about this configuration knowledge base. I hope they are useful.

    http://digital.NI.com/public.nsf/allkb/F602F6F1B243282686257495007695BB?OpenDocument

    http://digital.NI.com/public.nsf/allkb/67F94BB93BCE32CF86257367006B3659?OpenDocument

    Thanks for choosing National instruments.

    Aaron Peña

    National Instruments

    Technical sales engineer

    http://www.NI.com/support

Maybe you are looking for