Control software for real-time Applications

Hi all

We develop products based on the platform or sbRIO and deploy applications to the target in real time. We need to get these what UL listed products and part of the procedure test requires that the software be locked and not changed while the test is in progress. For this I need a way to get and display the checksum (or some other signature) of the currently deployed on the target real-time application.

Is there a way to do this? Please let me know if you need more information.

Thank you

Hi LabVIEWingToday

On the first link in the previous post, there is a section that explains what is the checksum and they recommend a community tool or a LabVIEW VI, you could use programmatically.

To calculate a checksum on the key files, consider using the File.VI MD5Checksum, which is built...

Concerning

R. Esteban

Tags: NI Hardware

Similar Questions

  • How 9201is used for real-time applications?

    Hi all

    IAM currently using labview 2009

    and iam using equipment OR to work with my application

    I designed an Adaptive controller for adaptive noise cancellation in labview

    now, I want to use follwing material to implement my task

    1 OR cRIO-9012(real time embeded controller)

    2 analog input for NI 9201 module (to take the audio signal)

    3 NI 9263 Analog output module (to hear the audio signal output)

    How to set up these materials on real time module

    can someone help me start my application

    Thanks in advance

    all TC


  • cRIO and 9234 modules do not work or communicate via fpga with accelerometers, fpga, connected to the real-time application is also related to shared variables related to modbus slave

    Hello

    I have a compact rio, which has a 4 way frame this chassis is the three modules of ni9234, they are related using FPGAs for application in real time, then using shared variables in the low-speed loop associated with a slave modbus to communicate with the domain controllers, the nor 9234 accelerometers linked to them with option ac coupled iepe on c modules , my problem is the real-time application seems to work well even when power loss occurs it restarts without problem and the fpga written hard disk portable bin files very well, but without an accelerometer connected I get readings of low noise as soon as I connect an accelerometer to one of the outputs 10 it just goes to a fixed number (0.03125) as soon as you unplug it again He returned to readout noise, I ran a scan on the modules and get only a spike when I connect or disconnect the accelerometer, I tested voltage at the pins on the module and I get 22 volts CC which makes it more likely that the material is not the problem, but software is perhaps the cause to hang up, I join the project and files for your perusal. I also realized a new project which, in mode directly linked scan has the module entry in the shared variable and the scenerio even once again. Help would be appretiated.

    Thank you very much

    Jason

    Whren using waveform with the 9234 acquisition, we recommend the following FPGA and RT model.

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/209114

    It can be extended as a datalogger with:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/6388

    or using shared variables combined with the analytical engine

    http://zone.NI.com/DevZone/CDA/tut/p/ID/9851

    The FPGA in all this, as well as the framework of RT have used successfully by 1000s of users.  I recommend giving these a try.

  • On a Linux operating system, what tools need to developed a real-time application that communicates with FPGA?

    On a Linux operating system, what tools need to developed a real-time application communicating with FPGA?

    It is not unclear to me by reading the documentation on the website OR tools or drivers should I install on a Linux operating system in order to develop a C++ real-time application (that interact with FPGA) which will take place on a sbRIO-9651.

    Is this possible at all?

    Thank you

    Michel

    Everything works very well with an FPGA VI, compiled with LabVIEW FPGA 2015.

    1. I have installed Eclipse on CentOS 7 with cross-compiler found at this link:

    Compilers C & C++ GNU for Linux ARMv7 (Linux host) 2014

    2. I also install a debugger crossed to debug application c / c++ remotly. Once on the page go in the section "Linaro Toolchain for Cortex-A" and download the second link linux "linaro-toolchain-binary (big-endian).  The binary gdb is in there, so you must point towards him in the Eclipse debug configuration:

    Linaro Toolchain for Cortex-A

    3. I installed the linux drivers from NOR-RIO 15:

    Driver OR RIO 15.0 for Linux

    4. I was able to program an application to c / c++ opening and running a LabVIEW FPGA Bitstream in a few steps:

    Example of API Interface FPGA C OR real time Linux and Eclipse

    Michel

  • A pump for connections rs232 for real-time control

    I have a genius pump more syringe (manual attached) and I need to be able to control the flow of the pump in real time of the computer, using a dial to to the top or the bottom rate as I see climb. I used the basic series vi in read/write of the examples just mentioned another detachment and he contacted the unit very well using the commands contained in the manual. My question is how I change this option or what do I have to do the program I need? I'm barely a beginner still labview but tells me it can be a very useful program for this and other future applications that I will meet you. all the advice, it's that very much appreciated, thank you!


  • Real-time application does not work; source code works very well

    The short version is I'm programming a cRIO and apparently the RT code isn't running after you deploy, and I can't understand why. It is further complicated as I do all this remote and I don't have direct access to the unit since I am 500 miles away. I work through a couple of other guys who know some LabVIEW, but neither is working on the site so that they explicitly trip there whenever I have a bright idea.

    I was there a few weeks ago. During this time, I created a code simple cRIO, since I'm new to the cRIO, allowing the user to move a control and change a chart. It worked fine, but I must stress that it did not have a FPGA component. After that, I worked on the actual code, which reads some sensors, displays the results on a user interface and stores the results. Did FPGA. I used it in the LabVIEW environment and it worked fine, but I ran out of time before I could finish a release build and deploy the RT as a compiled application. I sent them the version later, my contact deployed but had the network stream errors during execution of the user interface.

    After hours to address network problems and sending over debug versions, I tried to create a log on RT level so I could see what was going on. The journal is not yet open, even if it is the first command in the code. I have pores through the forums and found http://forums.ni.com/t5/LabVIEW/cRIO-Troubleshooting-creation-and-deployment-of-startup/td-p/1956475... which took a new direction.

    I had my contact use the RT debug console and when it pulls up to the front of the RT, it shows an arrow broken at delivery. He clicked and nothing happens - no work, no list of bugs. If he shoots to the top of the list of bugs manually, it is empty. Again, the RT works very well if you run it through LabVIEW and not as an application compiled in real-time. He also noticed that the open FPGA VI was grey on the block diagram. Are no other icons.

    If the problem seems to be that the compiled application of RT becomes some kind of error, but do not tell me what it is, and it seems to be related to the opening of the FPGA. I recompiled the FPGA and RT. I recompile the RT himself, but not the FPGA, because this would take hours. It is download everything properly for the cRIO. The RT is set to run automatically. It is restarted the cRIO whenever he deploys the RT. They have LabVIEW on a computer, but it doesn't have the correct drivers to run the code of the environment of LV. I am to resist have them install the dirvers because downloading big files is complicated due to the restrictions of security as well as a lousy connection at a remote site. In addition, it does not solve the problem of RT executable doesn't work is not the same as the source code, which, according to the thread above, seems to be a thing.

    The last thing I'm getting is that I sent her instructions for how to build a source distribution of the project that I sent and try to deploy on the cRIO. Even if it works, I'm not sure that this is an acceptable solution, because I assume running VI, rather than the EXE is slower, and they need to speed on this project.

    Simply, I don't know where to go from here. I probably need to get direct access to the cRIO and I might be able to convince them to ship to me so I can understand this point, but I don't know where I got same departure other than the Voodoo debugging standard of "trying stuff randomly until something works". I am open to suggestions, if someone managed to solve this before.

    Code snippet of the first part of the project is fixed, although I don't know how much what good it will do. I am really confused, and the customer is frustrated with how much budget is going to solve this problem.


  • build a real-time application failed

    When I Isaiah to compile my application in real-time in order to deploy it in a device crio, it fails. I can run very well by opening it and clicking run. It can deploy and run all day in this way, but he needs the computer that much too. So I need to be able to build and deploy. When I do a preview of the generation, it complements very well with no error. I put the program I want to launch the start and my folder virtual subVIs always include. It is a typical procedure for deploying projects on the crio.

    When it crashes, I get an error:

    The build failed.

    Possible reasons

    An error occurred during the recording of the following file:

    C:\Program NIUninstaller Instruments\LabVIEW 2009\vi.lib\rvi\ClientSDK\Core\ModuleGeneration\CommunicationInterfaceUtility\niFpgaDmaChannelImplementation.ctl

    Invoke the 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

    Method name: Save target: Instrument

    I put in a request for service (reference #7259553), but I'm just not getting help fast enough. I'm on a real deadline here and I expected just kind of request of manufacturer to work as she has always done. I have done this a million times with other applications and never had a problem like this.

    Thanks in advance for your help guys.

    With the great help of sales engineer Will Schoettler, we were able to solve the problem.

    1. first of all we tried to create a new project from scratch file, add all the files and the fpga of the compilation. Same mistake.

    2. then we made individual buildings deploy each Subvi individually to see if one of them was the cause of error. Each built without problem.

    3. I tried to create a new generation of program main crio and tweek the settings. Rather than manually adding the Subvi and variable to the section "always include" the compilation option library folder, I simply added the main VI to the list of startup programs and would make LabVIEW to understand what screws to add. For some reason, this gave me a more verbose error explanation and gave the following reason as the last sentence of the explanation of the error

    "Due to limitations of the operating system, LabVIEW cannot create the file because its pathname contains too many characters."

    I moved the project to the c: folder /, fixed broken in the project references, and he built the VI and deployed it is fine.

    The constructor creates a directory with a very long path name in your project file, so if you have your project folder deep in your directory tree, it will attempt to create files with paths for windows too big to manage.

    Mad Kudos to Will Schoettler engineering app for such a powerful and complete troubleshooting task list to try things which lead me straight to the solution. I'm glad it was something so simple and not a form of file corruption or something wrong with my code.

    Thanks for trying to help the guy.

  • Real-time Application Installer

    I built two requests in real time; one for a PXI Chassi and the other for a compact field point. I wish I could send the customer updated versions of applications in real time and ask them to install them to the respective chassi/fieldpoint in the field. The customer is not the development environment. I looked around MAX, but could not find a way to do this.

    Any ideas?

    Thank you

    Kevan-

    HI Kevan.  Take a look at replication system tools.  According to me, it appeared in 8.0 or more.

    We used the tools NOR as basis of our own tools of level end-user to exactly what you are

    describe (in addition to the upgrade of the OS, if necessary).

    Matt

  • 1042 for real-time PXI configuration

    I bought

    PXI-1042

    8187 controller

    a module for capturing data.

    I want to configure the purposes such real-time pxi,

    so should what steps I follow?

    Thank you

    Abbas

    With success, I put the ip address of the PXI-8187 controller in chassis 1042.

    now does not restore the IP 0.0.0.0

    What I did:

    Once the network is built, go to

    1 MAX > remote to the pc host, right click on and select format.

    2. change the IP as you want

    3 reboot, now your ip address will stick to our ip is entered.

    another sequence of installtion

    1 - first of all, I installed Labview 7

    2. then Labview real-time module 7

    3. then DAQmx 7

    now, when I try to install the software from remote > remove from , I do not see the LVRT7 in the list to download to the target.

  • Error trying to create the exe for real-time target

    I have a target program that works well on target in real time, but hangs when I try to create an executable fron, error is:

    An error occurred during the recording of the following file:

    C:\Program NIUninstaller Instruments\LabVIEW 2009\vi.lib\Motion\FunctionBlocks\straightLineMove\nimc.fb.straightLineMove.startStraightLineMove.axis.modeVelocity.0.vi

    Invoke the 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

    Method name: Save target: Instrument

    Visit ni.com/ask support request page to learn more about the resolution of this problem. Use the following as a reference:

    Error 6a held at 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

    Possible reasons:

    LabVIEW: File generic i/o error.
    =========================
    NOR-488: IO abandoned operation.

    The second was the issue, I found myself actually apply to open with an engineer and he helped me. Thank you very much!

  • Basic mx data acquisition and real-time application

    Hello

    I am generating an output through OR pxi 6733 using the basis of programming in labview 8.6 mx DAQ.

    The problem is when I create a digital output channel indicating an error and say not supported for this target.

    I'm not able to use the base that I have all of the same software version installed in the HOST and TARGET of mx daq.

    I use in time real 8.6 and daq mx 8.9.5.

    Thanks in advance.

    You use DAQmx or DAQmx Base?

    I guess his DAQmx because DAQmx Base does not run on the objectives of the RT.

    Can you provide us with an error code?

    Christian

  • Robotics/control system with LabView real-time + OR DAQ

    Hello

    I am building this real time application in which you can try control methods for a particular system (construction of the algorithm of control in LabView on Windows) and then with a DAQ board (I have the E-Series SCB-68) communicate with the hardware (actuators).

    Is this DAQ card enough or should I try with any other advice? For the application considered, it is important that the price of the freq is at least 1 kHz.

    Thanks in advance

    The 6220's card perfectly fine for your current application.  It is true that windows is not deterministic and cannot compete with the hardware/software in real time, but your DAQ will be responsible for the management of timing and synchronization you will be fine.  If the advance until you need a very quick response in real time of your application, you can always buy a RT LV system.

  • cRIO - creation and deployment of real-time independent startup application troubleshooting

    I use cRIO-9024 with a chassis 9112 for a control system. I use LV2011 SP1. When you run the system in development mode (by pressing the run button), everything seems to work properly. When the autonomous real-time construction and running in startup application, something stops working.

    In order to know if the application is running or not, I toggle the user LED on the cRIO using this code:

    When I turn off all the code in the main VI except this loop, the application deploys and runs at startup without problem (the LED flashes). I then add progressively more loops that I want to run (by disabling the code less and less), and the problem seems to be in the open FPGA VI reference block. If I disable this block, the slopes of autonomous real-time application (I guess the error 63195, handful of peripheral communication not valid, will spread along the line, but I know that the app works because the LED flashes).

    I tried several configurations for this block open FPGA VI and mixed results. For example, if I set it up this way:

    The application in real-time to start runs with the reference block opened VI FPGA active but work stoppages as soon as I turn on a code that makes use of this reference in the subVIs .

    Someone at - it an idea of what could go wrong? I have explored the messages thrown by cRIO at startup but can not see the error messages (in fact, the console output is the same when I managed to deploy an application that is running (by disabling the code). I also tried to explore the error logs (via right click on target Utilities > view error log) but cannot decrypt any useful info on their part.

    Any ideas will be greatly appreciated.

    Hi kkguner,

    My problem is that the code runs (apparently) ok in development mode, but it seems that, when it is deployed as a stand-alone application in real time, it does not at all. As I was not able to get messages through to watch the console output when restarting my cRIO or explore the Project Explorer error logs or error, I can only imagine what is happening.

    I feel that QFang suggestions go in the right direction, but I've yet to be able to determine the exact cause and the solution of the problem.

    The solution I set it with has been to deploy my application as a source with a start VI distribution instead of as a stand-alone application in real time. You can try this option.

    What I could try when I have some time is to clean my system from LV (whether in mass compilation or by reinstalling completely). I tried a massive compilation of vi.lib and I got a good amount of (UN) insanities, the wrong screws and several other unfortunate messages.

    kkguner, let us know what you discover in your inquiry, or if none of the suggestions solves your problem.

    Thank you QFang and xseadog for your help. Best regards!

    --

    Raúl

  • "Waiting for in time (RT PXI target) real answer" error when the program is waiting interruptions

    Hello

    I developed an application to detect interruptions generated by an electronic card and act accordingly. The program was developed in labview, but she calls a dll; created with labwindows. The dll is scheduled to open the visa communication, select the events and install the interrupt handler and when an interruption is detected, it reads the value of the different registers of the map and returns to labview to view.

    The problem is that when the program expects an interruption, a prompt appears with the message "Waiting for real-time (RT PXI target) real answer" and the only option I have is to click on the button to disconnect the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application view data as it was planned.

    To wait for the following code the interruption has been programmed into the function:

    While (flag == 0)

    {

    Sleep (1000);

    }

    When an interruption occurs, the value of flag set to 1 and function continues without any problem. I am not really sure, but here is probably the problem and it probably isn't the best way to wait for a break because the sleep function suspends the thread to the configured time, but at least the load calculation in the PXI is between 0 and 1%. I was wondering if anyone knows how to wait for a break without 'lost' communication with PXI and if there is a better way to do it.

    Any response will be welcome and thank you for them,

    Jaime

    Hey there.

    You see problems with connectivity it's because the thread by DEFAULT CallLibrary nodes running in is the UI (UI) thread - UI thread manages also the important things like, say, communications (especially all the connections for the VI server) and other things that you could run all the time.  A CallLibraryNode is not, by default, intended to be used to execute code that runs for a long period of time.  If you want to do this, you assign the execution of the CallLibrary node to run in the context of a LabVIEW run-time engine thread (by selecting to make it work "in any thread") and not the UI thread.  This can be done through the properties of the CallLibraryNode.  By selecting "run in any thread" the call DLL will be generally in the context of the thread running in the run LabVIEW, which is usually what is meant when even.  The VI CallLibraryNode color change of Orange (UI) to blue (LabVIEW thread) so that you can quickly tell what context the appeal will be in.

    The reason the interface thread user is the default thread is because most often DLLS calls need to be serialized (because of functions is not not thread-safe) and so it serves to protect the integrity of the system.  However, if you know your threads are thread-safe, or you will use these threads for a while, it is best to program the CallLibraryNode to use a Thread of LabVIEW execution rather than the UI thread.

    For more information on this review on these pages:

    https://decibel.NI.com/content/docs/doc-9069

    http://zone.NI.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/configuring_the_clf_node/

    DLL' happy ing.

    -Danny

  • Control of data using multiple thermocouples via indicators and the waveform in real-time

    I apologize in advance for this question is probably a bit simple but I'm all new to labview and the forum and could use some advice. I have a CompaqDAQ with two 9213 16 modules of track and I'm trying to read in 30 thermocouples in a waveform, but also display 30 indicators so I can mark each indicator with the thermocouple for real-time tracking. Each thermocouple corresponds to a specific location and it is essential that the interface has an accurate indication or a label for each of them. I wonder if there is an easy way to do this in addition to split the signal and have 30 thermometers on my diagram? Perhaps a table any? If I use a table to create 30 thermometers, the DAQ assistant automatically sorts the thermocouples according to ascending numerical order. For example, would be the indicators of first and second on my interface automatically assigned to channels a0 and a1 of the first module, or should I do it manually? Even for the waveform?  Thank you very much!

    PS - Do not know if this message had need of more details, but let me know if more information is needed, and I'll give you!

    I see that you use the DAQ Assistant to create your task.  Now I understand why you may have about labelling.  It is easy of the seller NOR spiel booting...  But in any case, you already have a task to the MAX instead of use the DAQ Assistant?  The interface is similar and there may be a step or two, but your end application will be more effective and you will have more options with your data and properties.  For example, I tried to update the names of physical channel in the DAQ Assistant installation program, that it let you do, but it propagates that change forward to waveform chart legend.  Also, I don't know any property for this dynamic data type node, although I never use it either.  I suggest the setting up of your task and channels, Max if you'd give it a go.

    Since I thought I didn't really takes you all the way with you help, I wrote another one.  It uses a cluster, even if it's a bit barbaric.  I thought that there was a more eloquent way to do by changing labels, but I could not it works as I had expected.

Maybe you are looking for

  • Satellite U400 PSU44E - upgrade to 8 GB of RAM

    Hello I want to improve my knees to 8 GB mem.There are two locations for modules of memory on the MB.On the Toshiba site its written that a module can be improved. Memory modules are 1,2,4,8,16...How you can reach up to 8 GB of Ram when only a single

  • Is it safe to replace macbook pro battery?

    Hello I have a MacBook Pro 15 inch (end of 2008), the State of the battery is showing that "replace now". Therefore, I am interested in resolving this issue. Is it safe to replace the battery with a new one, or could they cause no problem (I have a l

  • Bravo for the leather case!

    What about the belt leather Holster?  This tab is the best thing since sliced bread and the touchstone in my opinion.  I can say that Palm got at least one thing right...

  • Windows Live Mail - Cannot open tabs "New Message" or "Reply" etc.

    When I try to reply or open a new message, the window does not open. The only way I can open it is to go on internet explore, and then open a page or refresh a page; That the answer or a new message appears. I don't know what to do, he started a few

  • WIN8 cannot select the user when connecting more

    I used to have the option to select the user to connect as but now I have a screen that says: Press Ctrl + Alt + Delete or use the Windows Security button to unlock When I hit Ctrl + Alt + Delete I get only the most recent user login.  If I hit the l