Is there a tutorial for creating executables in real-time?

I have the code in real-time which works OK in LabView (not the final version no doubt but I need to learn two or three other things as well).

Now, I would like to create an executable file that I would run on some PCs with some inside monitors and control.

I found little exercise on the development of Application (shortly): 1) create shared variables) 2 create a copy of the Vi that works and to replace the controls and monitors in it with static variable) 3 Windows creating welcome 4 VI) probably create an executable after that (step not described in the exercise).

I'm currently stuck at step 3 with the 1950679035 error.

Looks like a well known error, but I found no solution yet.

My question is: which is the right way, I'm moving to? Or there is another way to create applications with control and monitoring of the device in time real NIcRIO 9072?

Sergey.

Hi Sergey,

Glad to hear that you are making progress.

And all you need to do now is create the façade in the same way that you would create a normal .exe file.

Here is a link with tips on how to create front panels: (web-based)

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

http://digital.NI.com/public.nsf/allkb/7FEE6BCFD264175C8625723E000D928E

There are other links on the bottom of these pages.

Kind regards

Tags: NI Hardware

Similar Questions

  • Is the module vision development in labview 8.6. sufficient for acquiring images in real time and analysis using a webcam

    Hello

    I'm new to labview and trying to develop a system of eye tracking using labview 8.6. He has the vision development module, and I was wondering if this was not enough for the treatment and real-time image acquisition or could I need other software tools.

    Yes, to acquire images from a webcam, you need drivers imaq-dx.

    Take a look at this link:

    http://digital.NI.com/public.nsf/allkb/0564022DAFF513D2862579490057D42E

    Best regards

    K

  • For a sequence in real-time output variable

    VS 2011, I have a sequence of real-time voltage step that sets an AO for a voltage given for awhile, and then resets the output to 0.

    Just before setting the output to 0, I want to read the response of my this stimulus of an AI System I call StepResponse. To do this, I place this in FinalValue I set as a Variable in my script. In other words, it is a parameter or a local Variable.

    Now, how can I get this out FinalValue? I don't see anything on how to "test" this variable to one of my user variable... I was able to do with the stimulus inherited in VS2010 Editor. Now, I'm stumped.

    Here is the sequence:

    and this is the profile of stimulus and settings below. I can set the fine settings via the API of LV, or run the Publisher of the Stimulus. But I can't seem to get out this FinalValue...

    THX.

    L.

    The return for a sequence (in your case FinalValue) variable is returned to the caller once the sequence has been completed as a result of this sequence. In your example, the appellant is stimulus profile that you configured. In a profile of stimulus, two relevant things will come based on the return value of variable a sequence called:

    1. The return variable value will be get recorded in the file of test result ATML for stimulus profile

    2. You can configure an assessment of output for the call to test sequence make a basic on the return variable test to determine a pass/fail result. For a numeric variable to return such as FinalValue, you can do a check of numerical limits to test whether the value is in or out of the specified limits. For a Boolean return value, you can translate either directly in a pass/fail result, or you can reverse the logic as well as False implies Pass.

    In addition, the LabVIEW API has a function, you can call once the sequence finished to programmatically retrieve the return value.

    However, in your sequence after that you store the value StepResponse in the return variable, you reset to zero before the end of the sequence. If your sequence always returns zero. I think that you do not remove this line and let FinalValue what so that you will get the StepResponse back closure instead of zero value.

  • Create logs in real-time after poweroff vms

    I create script poweroff mV. I would record in real time in an excel or html file which were poweroff vms to follow. Is possible?

    I think you'd better examine the events to get the start and stop times, i.e. the events of ignition and extinction.

    The following will give you a list of these events in the last 10 days

    $events = get-VIEvent-start (Get-Date).adddays(-10) |

    where {$_-is [VMware.Vim.VmPoweredOnEvent] - or $_-is [VMware.Vim.VmPoweredOnEvent]} |

    Group-object - property {$_.} Vm.Name} | %{

    $_. Group | Select @{N = "VMname"; E={$_. Vm.Name}},

    @{N = "Createduserid"; E={$_. Createduserid}},

    @{N = 'Action'; {E = {if ($_-is [VMware.Vim.VmPoweredOnEvent]) {'Poweron'} else {'Poweroff'}}},

    @{N = 'User'; E={$_. User name}}

    }

    $events | Export-Csv "C:\VM-power.csv" - NoTypeInformation - UseCulture

  • Shared variable of subjects with the executable in real-time

    We have a PXi target running Labview time real 8.5 and we use a series of shared variables for communication between the target and the client software. The code was developed (and used) in the last 2 years, and presented no problems with the shared variables when they are deployed since the Project Explorer (for the target and the laptop based client software). However, when you try to run an executable version on the system time PXI real target of exactly the same engine code variable shared seems to fail during the initial loading. Since it is an executable, it is difficult to display errors, but it seems that the accident occurred at the beginning of the program when we try to initialize a number of shared variables. Sometimes it loads but probably only 10% of the time. When you plug the tool to debug for code and restarting the executable, runs without any problem. However, once we managed to capture and error (error-1950678982 the shared variable client side read buffer is full).

    I checked a number of messages in the Knowledge Base (e.g. how to deploy Variables of a compiled executable shared network?), but it still has not solved the problem. Thoughts and suggestions?

    Adrian

    I tested it for a few hours now and I can't make it fail again. The big difference in my implementation was to use your suggestion, and no wire the error cluster through the method since the error it generates caused a number of questions later. So let me summarize the final configuration that seems to work then:

    -during the execution and executable on a target time real 8.5, startup not connected to a client. Library of shared variable hosted on the target and should load by itself.

    -J' added a flat structure sequence on the vi 'main' (top of page vi executable) with a node (as shown above) Invoke method in the first structure with a timer to 10 seconds and the rest of the code in the second part of the structure. The shared variable library has been copied to the target in a data directory and the path provided to the method (the same way as above) and the IP address is that of the target.

    I discovered that it takes about 8-9 seconds for the shared variable engine and library to start (I don't remember is that past exactly that) and it is important to wait this time to initialize shared variables or the behavior is unpredictable. The method always generates the error 1043 (function not supported) but I simply ignore it now, and it seems to work.

    Thanks for your help! I will let you know if there is some instability in the future, but everything looks good from here.

  • Create a shared library for NI Linux real-time

    I need to build a shared library for NI Linux time real (.so) which corresponds to a shared library, which I create on Windows (.dll).

    I have the C code that needs to call a function of VI. On Windows, I have a project that allows me to create and build a "Shared Library (DLL)", but I don't see the same option available in a real-time project targeting the cRIO-9068. Am I missing something, or is it not still possible?

    Hi Wayne,

    Using LabVIEW VIs in other programming only possible through dll environments. In LabVIEW there are options for creating libraries and source, but these distributions will be accessible in LabVIEW and not in other programming environments.

    Concerning

  • API for creating value

    Hello

    Is there an API for creating value and the value of values in R12?


    Thank you
    Praveen

    Published by: praveen Elvis on April 9, 2009 12:18 AM

    Hello

    Try FND_FLEX_VALUES_PKG API.

    Oracle integration repository
    http://IREP.Oracle.com

    R12, repository integration Oracle is shipped as part of the E-Business Suite (as a responsibility).

    Kind regards
    Hussein

  • 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.

  • Is there a good video tutorial for how to work with templates?

    I have created a template for the page that I made using the tutorial called"how to make and style of a sensitive web page. "I found the instructions to open Active and click on modify.  When I do this I get the message: "cannot find the Publisher valid for this file extension."  I went to the help titled creating a Dreamweaver template page https://helpx.adobe.com/dreamweaver/using/creating-dreamweaver-template.html.  It provides two links to video tutorials, but they don't take me to the tutorials.  They're media main page of Adobe, and when I search, no tutorials arrive.  As the instructions on the help pages do not work, I'm stuck.  Is there a good video tutorial for how to work with templates?

    Menus grayed implies that you're working in Live View mode.  You cannot change the models in Live View mode.

    Switch to Design view.  See screenshot.

    Nancy O.

  • There was a problem creating the destination folder. If please check the permission of folder or choose a different folder.   What that means, tried to name several different folders, but still the same error message. Would be grateful for the help!

    There was a problem creating the destination folder. If please check the permission of folder or choose a different folder.   What that means, tried to name several different folders, but still the same error message. Would be grateful for the help!

    This means that the folder you want to create is blocked because of file permissions. The drive or folder you are trying to create the destination folder is set to read-only, and your username does not have write permissions.

  • I am new to Muse, so I am following the tutorial for coffee of Katie.  I downloaded the sample files.  The problem is not that all the files in the folder as in the tutorial.  The color swatch for example is not there.  The updated CC on the road Katies.m

    I am new to Muse, so I am following the tutorial for coffee of Katie.  I downloaded the sample files.  The problem is not that all the files in the folder as in the tutorial.  The color swatch for example is not there.  The CC file to get started Katies.mulib is also not if you can't automatically download all the necessary files.  Can anyone help?

    found in another area

    Where can I find updated cc enroute Katies.mulib file?

  • Download tutorial ADOBE DPS - there - there's place for indesign CS6?

    Download tutorial ADOBE DPS - there - there's place for indesign CS6?

    I need downloads for indesign tutorial to learn more about Adobe DPS. I see a lot of videos online - but would like to download files and build the files I see. Can someone help and advice please.

    Thanks: Daryl

    If you want a good quality of the exercise files get a subscription to Lynda.com.

    This link you will get a one week trial to see if it's right for you. You will have

    having to pay for the subscription get the files: http://bit.ly/RS0GXs

  • Creating shadows of text - is there a function for this?

    I would like to create a shadow effect for my text in my headers.  Is there a function for this?

    In the current version of Muse you can only apply effects to pixelated fonts (fonts). If you need a shadow to the other fonts effect, you can do the following:

    1. create a paragraph style, name it as you need (for example shadow_paragraph) and assign to the text element you need to be affixed.

    2. go in the Page Properties > metadata > HTML customized to(Or insert HTML to a master page)

    3 insert a

  • Is there a way to create a preset for shadows?

    I'll put up a model for a new brochure that will require shadows on every product which is put. Is it possible to save a preset for a shadow so I need not re-create the shadow every time? Also this is distributed to many people to work on and effect presets would be extremely beneficial, just not sure if it is possible? Even if it is Indesign, and they are generally on the rise, and for this kind of thing.

    Thank you!

    FF

    The eyedropper tool is a quick way to apply the same shadow to multiple objects

    But as peter says styles object is a much simpler way.

  • Tutorial for file i/o (read and write)

    Hello

    Just moved air of c#. My co. has decided to buy 500 Playbooks and now came and asked me to 'do' integration to our CRM (and preferably be prepared after lunch), so here I am.

    In any case starting out in the small and already seem to have a few problems of language.

    Had a look at the API reference and thought flash.filesystem.file would be the way to access directories and create and edit local files on the Playbook. But all my attempts have failed. So I wonder if anyone here have seen certain types of file tutorial for Dummies?

    I'm now looking to create and modify a file in the documents folder, but it is still the programmingly Documents folder have been a challenge for me (Yes call me noob at the moment).

    Oh yes, make Flash Builder / QNX have something akin to a datagridview?

    Thanks in advance.

    Maybe this example file will help you:

    var file:File = File.documentsDirectory.resolvePath("text.txt");
    var stream:FileStream = new FileStream();
    stream.open(file, FileMode.WRITE);
    stream.writeUTFBytes("line 1");
    stream.close();
    

    It opens (or create) a file text.txt in the documents directory and writes the string line 1.

    There is nothing that resembles the DataGridView I'm afraid, but you're not the first to this problem. You can find similar topics in this forum like this.

Maybe you are looking for

  • played via car ipod plug iPod plays audio books too fast

    I have a new Skoda Yeti with an ipod integrated in decision-making. When I connect my ipod nano he rereads the speech at a very fast pace which is uinintelligible. The music is played at a normal speed.

  • can address bar and search bar be adjusted

    I find the too narrow address bar. If it is adjustable, I hope someone can tell me how. Ditto for the search bar.

  • PSU

    Can I replace my existing power supply in my presario SG3200uk: with a 55OW CIT 12 CM SILENT ATX PSU gold or a GOLD 500W 12CM colors

  • VMW Virtual Machine CPU Utilization - script

    Hello team, As you know the virtual machine CPU usage will check for crampons, drops drama or sustained high levels in the use of the CPU on a virtual machine. But I'm looking Foglight to trigger alert when it reaches more than 95%, I want that all a

  • switch the product selection, selection based on feature requirements

    Ladies and gentlemen, I'm looking for switches from linksys for awhile. and I used to work type cisco 3750 and 6500 Series. but now I want to achieve these features in a type of smb linksys/cisco switch -a switch with two battery units -lacp/lag a po