Common organisation of the project in real time Code

Hi people,

I'm working on a project of RT using several cRIO chassis.

I common code RT I want to use with the different cRIOs.

What is a good way to organize the common code within the project?

For example. I have the folder called "common RT.

It seems that I have to put the folder this folder under a cRIO special so that the screws to be recognized as RT

Are there other options?

Thank you

Steve

Laughing out loud

They will all point in the same VI and location but since each CRIO has its own compiler you must place the code under each cRIO.

But if you make a change to the VI under the cRIO it will update for the rest also.

Tags: NI Software

Similar Questions

  • Convert the project in real time

    I started to develop a routine that (finally) will be "split" between a host PC and a remote PXI, using LabVIEW Real-time.  I usually test these things on the side PC and create them using LabVIEW project.  I just started a new 'project' and build first the host code.  However, I simply said "New project" and got a "project without real-time targets.  Is it possible to add a 'target' to this project, or what I need to start over with a new project explicitly in real time?  Is the (only) way to do this by selecting new project from the main menu of LabVIEW Real-time (2010)?

    Bob Schor (who should know the answer to that now...)

    Bob,

    All you have to do is right click on the name of your project (in the Project Explorer window) and select new > targets and devices. Select yout real-time target. From there, you can right-click on this target RT and tell New > VI, which will create a VI targeted to run on this RT controller.

    There is really no such notion as "a project in real time. All projects are the same, but I suppose a real-time project is one that contains a real-time target in it.

    See you soon,.

  • Deploy and run the part of the project in real time RT

    I am developing a project, LabVIEW-RT, with a User Interface on the PC and evanescent code that runs on a PXI system.  I read a few posts discussing the possibility (or lack thereof) to start the RT of the project by program part.  Here's what I mean: my project has a first level VI on the host PC, call 'Host UI.vi', and a first level VI on the RT target, call it "target RT.vi".  There is the usual assortment of other features of the RT, such as flow, LAN and network Variables shared, etc.

    During development, I open the project, find the code RT target, select the target RT.vi and click Run.  I can do the same with the host UI.vi.  My code works (or not, depending on whether I have introduced new bugs).

    What I would like do is to run the host user interface and run the code to mimic an RT target selection in my project and perform a right-click.  I partly managed, but a small step escapes me.

    Can I programmatically deploy my RT code and make it pop a window front so I can click on the Start button.  I even managed to start running programmatically using VI server.  However, when I start it programmatically (rather than clicking Run), my shared network Variables are not available.

    I studied it a bit by using Distributed System Manager.  With her, I can 'see' my shared Variables of network on the target of the RT, but its status is offline.  I put online by clicking on the button 'Start process' in DSM, however, when I then try programmatically start my vi target RT using VI Server, Shared Ntwork variables goes Offline (accordint DSM).

    Question - is there a way to do a program equivalent to locate my network shared Variable in DSM and clicking on start processes?

    [I had a great idea while writing this post.]  I have noticed that if I deployed my VI and also expanded my network shared Variable, DSM has shown to be online, but the target RT start VI VI Server, the NSV went offline.  What happens if I have deployed it after from the remote?  Good idea, too bad that it didn't work...].

    All the best ideas?

    BS

    Well, I just did!  I wrote a demo project RT with the following characteristics: RT side consists of a single VI that affect False in a Boolean Variable (NSV) shared network, goes in a while loop until there is true, goes into an another wait loop to make it False, then ends.  The NSV is hosted in a library on the remote target.

    The host does the following:

    1. Determine the IP address of the target of the project.
    2. The first name of the VI RT to run, to return a reference to it.
    3. Use the reference to deploy the RT VI on the remote target.
    4. Use the IP address and the name of the RT VI for a VI Server reference.
    5. Use the reference to start the code that runs on the target of RT.
    6. Go in a loop looking at the NSV and wait for the status of the error not be 8BBB0006 (uninitialized NSV).
    7. With the value returned by the NSV (must be set to False, defined by the code of RT), deny it, set it and wait that it will change.
    8. Do this one more time to return the NSV to its original value (as defined by the code of RT).

    Before running the code, right-click on the target of RT in the project and turn on "disable AutoDeploy Variables.  J of Zach, an Applications Engineer of NOR, suggested that this step, which can be the key step in the resolution of this dilemma.

    To test this, I restarted my PC and the aim of RT.  Once both had restarted, I opened the project on the PC, and without interaction with the section the project somehow RT (including not not clicking 'Connect'), I ran the host code.  He started the remote code and was told that the round trip time for set and reset my NSV was about 29 msec.

    I intend to make a full text of this and submit the entire project, with documentation and all the screws under utility, I used, to community page OR.  I'll try to get this done this weekend...

    Bob Schor

  • where the daqmx on real-time target files are stored?

    Hello

    I'm working on an application that is embedded in a desktop RT target.  To make the system easier to maintain in the future, I would like to be able to generate a DAQmx task programmatically to the *.ini file exported from MAX.  In this way, users don't know what my code does to recalibrate the sensors or manage new material; they only know how to use MAX and where to store the files in config on the target.

    Where are the task daqmx, channel, and scale information stored on an RT target?  I have been through the files on the target you are looking for something that contains my task data but have found nothing, while dropping a node of system property in a VI running on the target will give a correct list of the tasks that I set up.  (The project that contains the aforementioned VI has no tasks in it IE: I do not import into the project.)

    Is there a utility that runs on the RT target that can generate a task at the time of the *.ini files exported?

    Thank you

    Exahustive keyword search led me to an answer on the forums.  I'll post here a brief summary in case someone else uses the same key words I.

    1 export the MAX configuration file

    2. write a VI that uses tools in the system palette to load the configuration on the target in real time.

    3 profit.

    In my case, the VI I wrote to download the config DAQmx also generates the configuration files for the screw on the side host and target, so everyone knows what is called tasks.

  • Able user to zoom in/out the image in real time the performance of façade?

    Well I have searched this and have developed empty. What I would do, is to have a picture of a diagram on the front panel and during execution of the VI user can somehow zoom in/out the image in real time.

    I know there is something that is called Zoomfactor that you instantiate a way in the block diagram, but that seems to zoom in on a picture of race prior to the program. The zoom is not in real time. There is no possibility of real user to zoom in/out with free will, using the Zoomfactor I see. (Sorry I forgot display name of the service). And I saw messages by a man named George Zou that seems to come with a VI which is closest to what I want, but I pulled the VI site seems not compatible with my computer (my rig is under XP with Labview 2013 currently). So, I was wondering if someone else had found other answers appropriate to my specifications?

    Use a structure of the event to change magnification during execution.

    You can even program your own shortcuts to the structure of the event, for example if the user clicks on a particular point on the picture and you read this coordinate on, and you zoom way at this point remains in the Center... There are many options to play with...

  • monitor thread on the system in real time

    I have a SMU-8101 controller in my PXI system. I have it running with a system of operating in real time. I inherited some software WHICH has been used on a program of LabWindows used on a PC with a Windows 7 operating system. The SOFTWARE seems to work OK. My problem is when I leave the program I get an ERROR of EXECUTION NOT DEADLY

    "

    Source position thread ID unknown 0x000000EC

    Your CVI program ended on the target in real time. However, there still on the target in real time, the threads that are running or have already run the CVI code.

    Please check that your application cleans all its threads. Son left running after that your application can crash the target in real time when your application is unloaded.

    "

    As I said I got the code and there is a lot of it. I am looking for a smart way to track down these threads. I was wondering if there are tools available that could help with this? Or any other suggestions on how to run these lines down?

    Hi DPearce,

    This article knowledge base has some information on why CmtDiscardThreadPool causes your program hang and gives some recommendations for fixing it.

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

  • Taking the average of the data in real time

    Hi all experts!
    I am a new Member in labview. I have a "stupid" question that takes a lot of my time. Please help me.: mansad:
    The problem is that the way to take the average of the data in real time. For examples, firstly take averages of 100 samples and then then wait 100 samples and averaging them and so on...
    In any case, thank you very much! : manhappy:

    Hello

    Maybe this will help you...

    Kind regards...

  • Browse the contents of the hard disk of the target in real time

    Hello

    Is there an easy way to browse the content of the hard drive on a real-time target by using the file path control (or another type of control)?

    What I have in my application is a PC real-time desktop (running on PharLap) who has a Main.vi running on it. There are a few configuration files (for this VI) I want to be able to read and record to that would be stored on the hard drive of the target in real time. However, when the application runs and I hit the Browse button, it displays the contents of the Windows machine and not the machine in real time. Is there something I'm missing?

    Please note that I can send via FTP on the Windows computer to the target in real time and can interact with the drive of the target in real time without any problem.

    Thank you.

    Mike

    If you LV 2013 actually use WebDAV screws thus:

    http://digital.NI.com/public.nsf/allkb/4EBE45E8A816B19386257B6C0071D025

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvcomm/WebDAV/

  • Can I download a background on the system in real time and run it?

    Hi, I would like to take advantage of some tools in the system in real time.

    I thought that I could download it by file transfer,

    and then did something like this in the system in real time.

    Probably it is not...

    However, there is other ways to achieve my thought in the system in real time?

    Do you mean the exe was built for windows, so that it is not allowed to run in time real system?

    Fix.

    I have to communicate between CompactRIO and servers through an ethernet cable...

    so... you write a program runs on the cRIO and bring it to your servers over TCP.

  • Install OR Vision on the system in real time

    Hello

    I am trying to install NI Vision RT and NOR-IMAQ RT on my controller PXI-8108. However, I still get an error, there are unresolved dependencies and that some version of NIVISSVC is necessary.

    Does anyone know a solution to my problem?

    Is this problem related to the problem described in the knowledge base (Document ID: 46PK6PP6)?

    Some data from my host system:

    -LabVIEW 8.6.1

    -Measurement & Automation Explorer 4.6.1

    -NI Vision 8.6 (treatment of Image and Machine Vision, and Services)

    NOR-IMAQ 4.1

    OR-IMAQ I/O 2.2

    NOR-IMAQdx 3.2

    The PXI controller:

    PXI system (OR PXI-8108)

    PCI-GPIB

    -Chassis 1 (PXI-1042 (q)

    PXI-6733

    OR PXI-8432/4

    PXI-6233

    Thanks in advance for your help

    Bernd

    After installing Vision 9.0 and NOR-IMAQ 4.4 on my host, I had no more problems with the installation on the system in real time.

  • can't see changes to the photo in real time during editing

    Hello

    When I edit photo it won't let me see the changes in real time, unless I turn down hardware acceleration. I tried the update of windows and even downloaded the drivers two charts, but no solution. I read may be due to software mcafee, but I do not use mcafee...

    Thank you.

    Hello

    When I edit photo it won't let me see the changes in real time, unless I turn down hardware acceleration. I tried the update of windows and even downloaded the drivers two charts, but no solution. I read may be due to software mcafee, but I do not use mcafee...

    Thank you.

    ==================================
    If reducing the graphics hardware acceleration
    improves the issue... it's a strong indication that
    you have a problem with your video driver.

    Might be interesting to try to find the support Web site
    Mfg. of your video card for a Win update
    XP compatible video driver. Or... If your computer
    is a laptop... look for the support site for your computer
    Reference of the manufacturer.

    If you do not know the make and model of your
    Video adapter, see the documentation that
    supplied with the computer.

    Also you can find info on your video by driver
    go to Device Manager: you can launch
    By clicking Device Manager on... Start/run and
    type or copy / paste:
    devmgmt.msc
    And then press ENTER.

    Expand "Graphics cards" and right click
    the name of your graphics... then
    choose... Properties / tab pilot... FYI.

    You should find the make and model of your
    adapter display as well as the version of the driver.

    If the driver on the Web site is no longer
    current than you run...
    Download and install it. In addition, installation
    instructions that should be followed closely
    should be available on the support site.

    Once installed the new video driver... you
    can restore your full acceleration.

    Aslde the... If your editing functions have been
    working properly and suddenly changed... I am
    wondering if one of your Windows updates...
    updated your video driver.  Sometimes the new
    driver is not as functional as the one you have already
    a.

    System restore would have been an easy way
    to correct this, but maybe you could go to the device
    Manager and rolling toward the video driver earlier.

    (FWIW... it would be a good idea to create a system)
    Restore point before making the change)

    You can launch the Device Manager by going
    TO... Start/run and type or copy / paste
    devmgmt.msc
    And then press ENTER.

    * Proceed at your own risk *.

    Expand: Graphics cards
    Right-click on the name of the video card and
    in the menu choose... Properties / driver tab.
    Roll the button return to the version...

    (306546) HOW to: use the driver to restore roll back feature
    a previous Version of a device in Windows XP driver
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;306546

    Windows XP - Vista - 7 - restore video drivers.
    Removal instructions
    http://www.nvidia.com/object/driver_rollback.html

    How to roll back a faulty device driver
    for a Version prior to Windows XP, Vista and 7
    http://www.techsupportalert.com/content/how-roll-back-misbehaving-device-driver-previous-version-Windows-XP-Vista-and-7.htm

    Good luck...

  • I want to hang the Tower up to my big screen and instead of using a keyboard, I bind a tablet that I can use as a keyboard and to manipulate objects on the screen in real time

    I am in the middle of do a remodeling and think about a furture upgrade my PC at home, I want to hang the Tower up to my big screen and instead of using a keyboard, I want to connect a tablet that I can use as a keyboard and to manipulate objects on the screen in real time. Is there a way to do this?

    (1) before the PC upgrade, please read the complete technical documents for all devices

    you want to go to upgrade

    (2) it is the first thing to do to make complete lists of materials you want to change.

    Compare specifications detaily, note important diference between many of the same features

    (3) for more information on some devices and materials, see link below

    http://www.Microsoft.com/en-us/Windows/compatibility/WIN8/CompatCenter/home?language=en-us

  • 5 Lightroom Develop module does not display the changes in real time - locks on original image

    After almost a year of using Lightroom 5 (Version 5.7.1) with no problem there now will not show changes/changes I do them in the main view of the magnifying glass.  The image on the film down changes.  The Navigator view darkens, once a change is made.  If I I have the active secondary monitor it will show the changes in real time (because of the quality of the secondary monior I do not use it for changes).  If I go back to the magnifying glass library display changes to develop module are shown.  I can also make do and discover tiem real changes in the Librrary module in the quick develop Panel. IF I come back to the develop Module updated (edited) image but more it is stuck on this image in the Loupe view.   I suspect strongly I accidentally made some key race in the error that created this situation, but I can't really pinpoint exactly when this problem occurred are contiguous 5 days ago.

    The problem persists with any image.  I tried several images - old and new.  The only software or any other change that I have introduced in the last 30 days was Piccure + 30 days ago.  I later have it removed as a precaution.  No change has resulted.  I took additional measures include 1) Reseting preferences (twice), 2) reinstall the software twice, the second time I deleted all the files of supported / presets except the current catalog and 3) I have used backup catalogs as well dating back to the period of time, well before the problem appeared.  I am running Windows 7 Professional with Service Pack 1, 64-bit OS

    Any suggestions greatly appreciated.  I feel like I'm under low on things to try.  Thanks - Jeff

    This could be caused by a defective monitor profile.

    As a diagnostic tool and possibly a temporary solution, try to set the monitor to sRGB profile.

    Go to control panel > color management and define the sRGB as the default profile.

    If this solves the problem, you should ideally calibrate your monitor with a standard material.

  • The new Records real-time display

    I developed a CRM that is based on this post to a database of prospects.  The CRM index page performs a select query and displays a filtered recordset based on the SQL code.  This index page is updated every 30 seconds by an update of the Meta tag.  But I think there must be a more robust and efficient method.  Ideally, I would like to have a popup is displayed each time that the new record messages when clicked would reveal the details of the record.  And if such a robust method exists, which could better the overall updating of the data other than a Meta Refresh?  Any direction you can advise would be appreciated.
    .

    Some of which can easily be done with JavaScript and a function that makes calls to ColdFusion AJAX to check new records, on a timer (30 seconds).  You can use WebSockets which offers the display in real time, but according to the rate of data change, which might be overkill.

    For example, look at how this site or Google followed new messages using AJAX. If you are connected to these forums, your avatar at the top of the screen may have a white number in an orange circle to the left of the avatar - stating that you have new messages or updates waiting for your attention.  If you have no messages or elements, the circle disappears.  While new messages or items arrive in your Inbox, reappears in the circle and the number will change.  This is done via AJAX requests that ask the service Inbox on a given time interval. In your application, you will need to decide what is the appropriate interval (or make a user setting which gives them options such as 30 seconds, 1 minute, 5 minutes, etc.).

    All this is done without refreshing the entire page (what does refresh Meta Tag).

Maybe you are looking for

  • White screen on Satellite Pro L30-101

    Hello I have a Pro Satellite L30-101 and the screen is blank. I got a new inverter, but it did not work. I activated the screen from another laptop the converter and the backlight is ok and I could see my office windows. I think so that either the ca

  • Place a photo on the same page of a photo book?

    So I did a lot of photo books in the past with iPhoto, I'm working on my first with Photos. I can't for the life of understand me how to move a photo from one spot to another on the same page without removing it completely, and then placing the photo

  • Why my W500 livelihoods get a window 4.6 experience even if I do the same step as you guys?

    Hi all I have a W500, but he has only a 4.6 window experience. I read the topic and follow the steps, but without hope. I put my High Performance video card in the Panel ATI already I can see that my video card FireGL V5700, video BIOS 2008/10/15 My

  • Want 120 E - all - in - one: request Code

    I have a code of claims that I have printed a few days ago, but it is no longer valid and now I can't seem to print out another, whenever I click the icon e-print, that he told me that my e-mail address with no option for printband I am trying to get

  • computer crash - albroker.exe

    my computer crashed and I need to reinstall my software windows 7 - now I wonder for the product key because the product key in my software is not accepted. Help.