Behavior in time real LabVIEW incompatible with nodes in control property

LabVIEW 2014 no service don't pack

cRIO 9068 (Linux) with dual CPU

I've written a vi which interacts with the CVT to pass values between the CVT and a bunch of controls on the Panel before which are accessed by reference. My project supports a front panel, if it is connected, then you can use this Panel to interact with the system. All the controls are located in a tabbed pane on the main vi running on the RT module, all the features are contained in a subvi, which accepts an array of references to the command input.

It works perfectly in developer mode. Then when I deployed the controls were completely isolated: nothing has been loaded and initialized from the CVT, changing values of control had no impact on the system.

For debugging, I provided a string array of all labels of control so I could see what controls is taken up by the Group of experts. So, I thought that the first troubleshooting step would be to see if the autonomous execution of RT filled one of them. After the creation and execution of this, everything lights up and works perfectly.

It seems that to allow some control connected to that communication of the façade with a sub - vi RT VI must appear on the front panel. If this is not the case, the sub - vi will not interact with controls at all.

In my opinion, it's a bug. Comments or details, anyone?

Thanks for all your replies. For the record, while the 9068 has no Panel incorporated, it supports remote facades. I use this function successfully. The core of the code runs without a head, I didn't want the hassle of establishing a completely independent group on an external PC.

My initial analysis and statement of the problem was wrong. I thought I was running in RT with group work, but actually worked by the developer. Even with controls and indicators highlighted the sub - vi the Panel was still Catatonic.

Then I re-read the documentation OR on the facades. They clearly affirm that if application of the RT IS CONNECTED to a front panel nodes of property etc. will work. If this isn't the case, the program will still run but indicate errors for operations of property node. General error handling is not made for information only Panel stuff, so I have not seen the error.

It turns out that I've been collecting all the controls at the beginning. Developing mode of the front panel is still there, so it worked. However, when the RT target boots and starts, it is impossible to have a remote façade connected, so my set of controls was empty.

Movement of the control the value code initialization (just to get an array of references to all the controls in the component of interest) in the area of code that is run after the mouse click that activates the Panel did the trick. If there is no remote Panel then person can click on it, but if there is a front panel then all the controls are there.

Thanks again for ruminating with me.

Bill

Tags: NI Software

Similar Questions

  • using the module time real Labview in RTAI

    Hi all

    I want to use the module time Labview in RTAI real for real time due to its open source applications and very good performance. is it possible to make this work?

    If this is the case, can anyone introduce a single study of case or something similar to this?

    Cecile says:

    Hi all

    I want to use the module time Labview in RTAI real for real time due to its open source applications and very good performance. is it possible to make this work?

    If this is the case, can anyone introduce a single study of case or something similar to this?

    I don't think it's possible for anyone outside of OR. LabVIEW Real-time supports this time only Windows as host and as a target only material of National Instruments with specifically targeted OSes or the Pharlap ETS system on x 86 systems with hardware specific enough. Using RTAI as target OS for LabVIEW Real-time applications requires first a few changes on the time plugin real LabVIEW to support this new platform.

    None of the files in time real LabVIEW also created for either platforms OR running VxWorks or OS Pharlap, Pharlap ETS system woud be able to be deployed to a system RTAI, because they are not compatible. In the first place, you'd have to port the bunch of shared libraries that make up the time target real system running LabVIEW on one of these goals to your RTAI system which is in fact a whole new platform of LabVIEW you can create with a little effort from the LabVIEW source code. It's not really impossible for OR as most of the code LabVIEW is written platform completely independently, but it would be a combination of the parameters compilation for course LabVIEW Real-time, with the settings to produce time targets real LabVIEW VxWorks with some additional settings of Linux. Yet, it would be by far not trivial and some parts are actually hardware specific drivers that must be worn too and limit the possibilities of what RTAI material could serve even further. In short not something that would make any commercial sense NC because they invest a lot of resources with no opportunity to sell additional hardware.

    And hell freezes over up front release of NI LabVIEW source code in any form which gives access not - OR used to it!

  • How to create a graph in time real LabVIEW 6.1?

    I am new to programming in LabVIEW (6.1). I wonder to create a LabVIEW interface that can operate the multimeter Keithley 6487, allowing us to apply a voltage and nth measures. With the measures that we have create a chart (V curve i) I find the XY graph, but it only allows to send all the measures at the same time (indexing) to generate the graph and not whenever we take the action so the graph build inn in real-time. I need to know how to create a chart or change the XY graph, so I can generate the i - V curve with each step we take in real time. Whenever we take the action and not once the program ends. Thanks in advance.

    You must place the graphic inside the loop and the use of shift registers to accumulate the X and Y in the form of tables. I do not have 6.1 right now in the process of execution, but it would basically look like this:

    Note that the above is for demonstration (the code is in fact a greedy loop). You can consider putting Scripture on file inside the loop. In this way, if the program crashes, you will not lose your data.

    WARNING: Using table build as indicated above will result in continued growth of memory. If your program is running for a long time, this can become a problem. One thing you may need to watch must have a limit on the size of the array. I know there is an example of "Table of XY" comes with LabVIEW, and I'm sure that this is with 6.1. You should take a look at this example, which implements a fixed buffer for the data in the chart size. You should be able to use the VI "graphic buffer XY"directly in your code. "

  • Problem installing module time real LabVIEW 2011 SP1

    Hi, I'm new here. I have a problem when I tried to install LabVIEW Real - Time 2011 SP1. Whenever the part of initialization, this message appears: "NEITHER Labview 2011 SP1 32-nit must be installed before installing the OR labview 2011 SP1 real-time Module.» I'm sure that I've already installed Labview 2011 32-bit SP1 and it works well. I use a Windows7 OS and also have Labview 2010 and an older version of Labview 2010 RT module installed. I didn't remove the old version of the software, and I don't know if it is related to this problem.

    Can anyone help? Thank you in advance!

    MrSun87 wrote:

    ... I'm sure that I've already installed Labview 2011 32-bit SP1 and it works well...

    Can post you a screenshot of MAX where are installed Versions of LabVIEW?

    Christian

  • Acquisition of data in time real LabView

    I'm trying to get a better idea of what is happening when I'm DAQ using LabView RT compared to using the DAQ assistant (which cannot be used in LVRT).  In the DAQ assistant I could just say to acquire 300 samples at a rate of 3000 s/s.  The buffer waiting for 300 samples to fill, I could then take these samples and average in statistics to get a nice clean data every 100 ms.  I can't find out how to do something similar in LVRT.

    I am currently using a loop of data collection separate from my time critical loop operating at 100 ms.  I didn't tell him how many samples to catch so I guess he catches just real-time data point every 100 ms.  A number of data (pressure, temperature, flow, etc.) is written in a cluster that is sent to a network shared variable (which is sent to the loop of the host).  If I run the loop of the host to 1000 ms (where I save the data in a spreadsheet) just grabbing the 10th point data that the shared variable of the network trying to send to the host?  Is - this there anyway use LVRT in a similar way to the DAQ assistant, so that I can get the data more smooth.

    Oops - do not know what has happened to the code snippet (perhaps it was too big?) that I posted.  I will attach the VI himself here...

    BS

  • Crash of LabVIEW with nodes of Boolean property

    I work with a set of Boolean buttons and when I call a node property for the button and try to set the class for the reference entry in a script of NI845X I2C or configuring LabVIEW 8.0 give me a tile of error indicating that:

    LabVIEW .exe has incountered a problem and needs to close.  We are sorry for the inconvenience.  I joined the main array with Boolean properties that I'm changing the class on.

    The main Boolean buttons are in a cluster and loop until one of the buttons is true.  While the index rose so I can retrieve the text of the button to bring the state machine.

    Gary Tyrna

    Tahoe RF Semiconductor, Inc.

    ggaryt wrote:

    Jeff,

    If you can open the VI and go to the block diagram and one property buttons and right click on it.  Go down to "select class", NI845X, and then choose between the two choices of NI845x I2C.  Then once you have selected one of the two classes down the cursor down to the property select box below the error in and out and out property and config in.  Once my LabVIEW aura error within 5 seconds and then close after I click on the 'OK' button in the slab of the error.

    Try this and see if you get the same results.

    Gary

    What you do makes no sense at all!

    Why you try to change the property node of a Boolean control to a class of N845x?  We do not have this installed class, so we will not be able to reproduce your problem.

    You don't have any kind of reference wire connected in these property nodes.  If you did not have a wire of the correct class reference, then perhaps LabVIEW would know what you tried to do and would not crash on you.

    If you dropped an empty property node in the palette of control of the selected Application class, it always crashed on you?

    What happens if you have disconnected the chain wire coming out the property text node, then tried to change the class, it would break.

  • How to understand the context of the sequence of time real labview

    Does anyone know how Labview RT to understand the context of teststand sequence? My sequence context is defined as "TS. SequenceContext' like the screenshot in attachment.

    If we point a VI for that sequence context then who use VI of teststand? and must add this VI to the Explorer of Projectr of Labview RT system to build the project?

    I use 2009 Labview and teststand 4.2.1.

    Thank you very much

    LabVIEW RT does not support the ActiveX required for TestStand.

  • Configuration required to use deskot as a target time real labview



  • Time real 8.6 and PDM

    Hi all

    Using a CRIO-9012 with time real Labview 8.6 and labview 8.6 and now that TDMS is supported and I am wanting to use it on my cRIO. Be a problem if... in addition to open or close tdms files still do not work on my CRIO even if time real 8.6 is installed. Attached is a simple vi which works on my PC but not on my cRIO, tried still more simple screw with on the CRIO tdms and it does not work. When I try to run the program on the cRIO I just lose the connection to the controller and have it reboot. It is likely to what I may have missed?

    Thank you

    Jevon

    I came across a question like this and found that the path of the file to open it TDMS must have a tiny 'c' as in "c:\". "instead of"C:\ ". »

    You will always get an error on the end, but the IO files works.

    Kurt

  • Simulate the sine wave using LabVIEW FPGA with NOR-myRIO and display in real time

    Hello

    I'm relatively new to LabVIEW FPGA. I am trying to test (and later apply) controllers high speed on myRIO.

    At this point, I'm trying to simulate the sine wave from 1 to 10 kHz using Sinewave generator VI express. I also intend to display the sine wave on the time real (RT) using FIFO. However, I had a bit of trouble to understaing various synchronization parameters.

    1. how to encode information about the sampling frequency generating sine wave? (The side FPGA vi requires only the frequency of the signal and possibly phase and does not rate update lines)

    2. how to estimate the number of items in a FIFO? (that is, the relationship between the rate of updates to loop (RT), the signal frequency, sampling frequency and the number of items in the FIFO)

    It would be great if we could share a very simple program (side host and target) that did something similar.

    Thank you

    MILIN

    Milot,

    I think the problem is the type of data in your FIFO. Your FIFO is configured to use a data type of I16. The problem is the number, it displays only ever will be-1, 0 or 1. To resolve this problem, you must send the sine wave as a fixed point data and convert it to a double on the side of the RT. This should significantly improve your resolution.

  • Time real ADC/DAC for SMPS by using Labview and USB

    Hi all

    I asked the Sales Department of this same question, so here's a two-pronged approach:

    I am reserching a control algorithm for power switching, and so far, its performance simulations seem to be good.  Now, the goal is to implement the circuit from the experimental data.

    I've seen several NI USB DAQ boxes that seem to have the performance, I'm looking for (for example, the box USB-6211 a sampling rate and resolution I need).

    The control algorithm uses the following mathematical functions: add/sub/mult/div/exhibitor and derivative/integral.

    My question is this: is "strong enough" Labview take four-channel data 250Ksps, crunches the numbers in an equation and spits out the answer to an analogue on the channel, while time REAL?  I'm looking for a rate of analog output of ~ 100 kHz.

    Thank you for any suggestions you have!

    -Rick

    Hey,.

    So if you were trying just to perform an input or output, then the box USB-6211 would certainly be able to treat it as the machine clock could manage the inputs/outputs, no software. However, what you are wanting to do, basically a feedback system, he will have to avoid (at least to a USB device) because you need to be able to specify Active which is the output. So, for this reason alone and the fact that you want out of 100 kHz, this device and the USB devices in general will be not an option any what software you use, LabVIEW or otherwise. On another note, you want to make sounds more like live update, not in real time, which is more on the jitter. Bottom line, for these kinds of requirements, you might need to move to an FPGA card, something like the NI PCIe-7841R would work. It's more expensive, but for your needs, FPGA will be the only option and it comes down to the latency of the bus, but also the response time of software. With FPGA, as shown in the first scheme of the following document, you basically close your software through hardware loop.

    Basics of FPGA

    http://www.NI.com/white-paper/6983/en

    -Ryan S.

  • Abnormal behavior observed in real-time executable.

    Hello

    I have an interesting problem. I have developed an embedded application of Real-time/FPGA for cRIO 9024 and come across a problem that I don't understand. I work FPGA and RT of top-level and subVIs, proven individually and together when it is run interactively. When I create and deploy an executable in real-time like start, however, the behavior changes. I posted the code below, which I'll explain briefly:

    I have a state machine with 5 States architecture. "Initialize" and "Shut Down" are exactly meet once whenever the device is reset, and the cycle between them is wait > pre-test > wait > run the Test and repeat as many times as desired. Measures are taken by FPGA and past in real-time by DMA FIFO and are then recorded to the TDMS file by the real time. Everything else is just interface.

    The problem comes from the first time, the program enters the Test case to run. The FPGA send measurements as usual, and they are stored in a growing table updated buffering in the fixed-point shift register shown below.

    Run interactively, this method successfully bed, buffers, sorts and writes all data in the file. However, in time real executable, only the data collected in the first round (147 items total, as it is initialized by the whole shift register) are saved, the rest seems remainsin a buffer? before calling the following function TDMS write, is that in the case before the next test.

    I'm unable to debug the executable file in real time, probably because of the FPGA reference or some other schema components. I tried to replace the pad with a FIFO in real-time, a variable shared with RT FIFO active and tried to write inside the loop. The FIFO are not improving the situation, and when writing inside the loop, the loop does not run quite fast to stand.

    The problem does not exist when I run the VI interactively from my computer, only when I try to deploy all of the embedded, any application that works (as far as I know) except this one place.

    Any ideas to solve, or workarounds?

    Ryan

    Technical support helped me to resolve the problem, the early termination of loop caused loop condition, although I still don't understand why the behavior was different as an executable file, because the condition of the loop has worked in interactive mode, so if someone has any ideas as to the why, I would still like to know.

  • 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

  • Real-time validation while creating a node

    Hi all

    I have the following problem when it comes to check if the required fields have been filled.

    I created a real-time validation that checks if a field is empty or not. It works pretty well for nodes that are already being implemented.

    But when I want to create a new node DRM gives me an error until I can create the node: "Please fill property X".

    Is it possible (except batch validation) to solve this problem?

    Thank you very much!

    Kind regards

    Pascal

    This is the common problem with validations in real time on the required fields, like the GET validation as and when the node is created,

    Try to evaluate the node creation date, if is that a new deal validation allows to fill the properties in the other case, look for the values of fields are mandatory.

  • After downloading patch time I get "files from the package are incompatible with files on your system.

    I am a representative of Microsoft online. I write on behalf of the client.

    When I try to download the patch of day light savings time I get message saying to mistake my "files from the package are incompatible with files on your system. It is a valid installation of Windows XP Home Edition and the disc. Laptop has code and valid sticker. I need the advance of patch.

    Pat

    Hello

    What region are you located?

    I suggest you follow the steps described in the following link:

    http://support.Microsoft.com/GP/dst_webcasts

    Check also on the following link:

    http://support.Microsoft.com/gp/cp_dst#TAB0

Maybe you are looking for

  • Satellite A10: Battery-LED flashes with AC

    Not too long ago I bought a new battery for my laptop. About a year and a half he worked well. But one day I just couldn't start Notepad without AC. I thought, just dead battery. If I set up the adapter sector, but the next time, the laptop didn't st

  • Vista accident with the video of

    w/Vista H / Premium 32-bit Update to sp2 now install clean sp1 Athlon 64 x 2 d / c 6400 + 3.2 4 GB of ram NVIDIA geforce gtx 280 Board of Directors then 590i now 780 has   startup crash   http://S125.Photobucket.com/albums/P49/lordstomp/?action=view&

  • Email of duplicate of blackBerry Smartphones

    Hello Can someone tell me how I can send a copy of the email that I send from MS Outlook 2010 for my BlackBerry Bold 9700 without having to manually include myself in e-mail every time? I am able to do the opposite as I set up my phone to send the sa

  • 64-bit and 16-bit Windows 8 compatibility

    If Windows 8 64-bit is not 16-bit compatibility. Is there anyway that I can do so it has compatibility? I'm trying to run an old program plan that runs on windows XP and 16 - Bit editing

  • With the help of my music in video

    There is a serious problem with the addition of music customized to a project in the clip. When you try to replace the audio track, it tries to go in your music library and select a number of screens (several times the two same screens) and then puts