Use of Custom Device or lvmodel real-time Module utilities

Hello

I tried to understand how to use the RT Set processor pool inside of a custom device or lvmodel vi. My idea is to use one of my multiple devices customized to configure CPU pools in the VI Init. I added my custom for the device project PXI chassis, but does not know how I can put these functions in my custom device. Otherwise, I thought I could use a RT project and then to generate a model for VeriStand since VI, but this does not work either. LabVIEW impossible to compile the VI containing the RT module functions.

My question:

How can I use the utilities of RT in A) a custom device or B) a lvmodel?

Thank you

Brent

Assumes that the solution is quite simple. All I had to do was go to C:\Program Files (x 86) \National Instruments\LabVIEW 2011\Targets\NI\RT\vi.lib and add the library to the project.

Note If you add an RT target to the project and create screws under the lens of RT and move to the top of the library is automatically added... with a few errors of path of difficulty.

Still familiarizing myself with labview course.

Tags: NI Products

Similar Questions

  • difference between the real time module and module fpga

    Hi experts,

    I was wondering if someone could tell me the difference between the FPGA and the module in real time (in short).

    My understanding is that the FPGA module facilitates code LV that can then be designed for the specific advice of RIO, I have used this a bit in the past.

    The real time module, I'm a little more unsure about, all I know is that it allows the creation of a 'real time' i.e. deterministic environment.

    My request is this: I wish I had several control loops running on two tables of RIO, with the host PC mainly used for recording data and user interface. I see that I have no need of RT on the host (Win XP should be good).

    Do I need the RT module?

    You are right.  In the scenario you describe, you won't need to LabVIEW RT. LabVIEW RT is used to create a deterministic execution on specific targets for intel such as the PXI-8106 and PXI-8108.  You can still use strings and floating point on RT.

  • Algorithm of PID in 'PID and Fuzzy Logic Toolkit' and 'real time Module ".

    Hi all

    I am recently using LabVIEW 2011 and 2011 real time Module. My application requires the PID control.

    Now, I have a problem. In the manual for "And Fuzzy Logic Toolkit PID", Chapter 2 "algorithm PID" it indicates non-interactive algorithm (also called the ideal algorithm, Standard or ISA) be used in all the screws of PID in the Toolbox. It seems that Yes from source code. However, in Chapter 3, "Using the PID software" arrays of calculation of PID parameters based on method of Ziegler-Nichols, which was developed for the interactive algorithm (also called the series, the real classic algorithm). D action has been included in the scheme of control, the settings may be different for the two algorithms. In fact, Cohen Coons and adjustment PID Lambda rules can be used for the algorithm used by the box tool with no conversion.

    In addition, there is a PID function block comes with the real time Module, and I know not what PID algorithm it uses. Can someone help me?

    Thank you in advance.

    Su

    In the "and Fuzzy Logic PID Toolkit, we use the University structure to implement all algorithms. Tuning techniques we show on the manual to express the original work and we try to keep the same as you would look at the literature. However, in our implementation of autotuning internally converted to the structure used by our algorithms to keep compatibility with our own implementation.

    If you use an external source, you can use the Conversion.vi of Structure PID to change University, parallel or series of parameters in one used by our algorithm.

    The PID included with the real time module is a 'copy' of our algorithm, and they have the same settings and behavior. The only advantage to use this function block, you have access to the parameters through variables.

    Hope this helps...

  • I have problems with of the Subvi after the use of customized device model

    I used to start my machine personalized customized device model and I got success in the deployment until I started to do more complicated the Subvi.   I am currently trying to convert low FPGA and high ticks to the duty cycle, but for some reason when I add it to the RT VI "Data read of HW" driver, it seems to cause a downtime... ideas? Is a circuit agree? I have added a time delay but I am still having problems. It is a device online, so I'm suspicious of it hogging resources, but am not sure.

    Attached images are meant to be read like this:

    1. the case of the RT pilot ReadDataFromHW

    2. it's the Subvi calling ToDutyCycle SIMStimPWMSubVI

    3 ShiftRegister.PNG is inside the Subvi.

    As a robotician I celebrate early and often (usually by a failure or two...), but it seems that the answer was to transform fundamentally the While loop for a loop with a count of 1 and then remove the additional elements to ensure that each shift register has that one and then right click on the shift registers and convert at the Feedback node...
    I was able to deploy to VeriStand as a custom device and it runs and calculates the factor of use with no problems. WOOHOO! Where - what is celebrate button!

  • Problem using USB-6356 on target in real time

    I try to use the NI USB-6356 on a SBC I converted to a target for LabVIEW RT. I created a LabVIEW RT project with the Architecture of Communication continuous model. However, when I select target RT > New > NOR-DAQmx channel, the wizard says "no device found support.

    Here's what I've done so far:

    1. Installed Support in real time on the host computer.
    2. Installed OR-DAQmx 15.5.1 on RT target (it is visible when I develop the 'software' under the lens of RT in MAX). See Fig1.png and Fig2.png.
    3. Verified that the NI USB-6356 appears in max under target RT > devices and Interfaces. See Fig3.png.

    Even if the NI USB-6356 appears in MAX, it seems suspicious that it appears as a USB device generic (like the keyboard and mouse that are connected to the target RT). Maybe it appears that way because it is connected to a goal of RT, but it seems that it is not recognized as a DAQmx device. I don't know how get the target RT to recognize as a device DAQmx, given that the appropriate drivers, etc are installed on the computer host and target RT.

    Thanks in advance for any help!

    Sorry to be the bearer of bad news, but the devices USB DAQ (other than the USB cDAQs) are not supported on PharLap targets at the moment. The documentation could certainly be clearer, so I'll update soon to reduce the confusion on this topic.  This white paper, last updated in 2014 is clearer than we currently have.  It is also explained in this KBQ5, but the wording is certainly a little bit clear here.

    I'm not sure of any other solution that exchanging your 6356 for cDAQ USB system, or the displacement of a BONE no - RT.

  • using NI USB 9201 with LabVIEW Real-time

    Hello

    I try to use a USB of NI 9201 on a remote real-time target. Here's what I did: 1) tricked out of a desktop PC to serve as target RT using the instructions provided on the Web site of NOR. He now starts in an RTOS with LabView RTOS 9.0. (2) I communicated successfully with the help of a host computer that has a windows with LabView 2009 BONE and I installed the software from the computer remote RT target host using ethernet. However, my problem is when I plug NI 9201 USB on the target RT that I do not see the material listed on the devices tab in MAX and interfaces on remote systems. I tried to get the manuals for the HW 9201, but it seems not much explained here, or maybe I'm looking in the wrong places. Any help is greatly appreciated.

    PS: I am attaching 2 JPEGs for additional explanations (tab network settings and the settings of the system).

    Thanks in advance,

    Benoit.

    AVS,

    9201 USB is not supported on RTPCs please visit this link. Currently no usb-DAQ devices do not support an environment CRPC. Only the PCI DAQ devices are supported.

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

  • No device available in real-time on desktop PC mode

    An acquisition of data of my friends computer built in the following maps:

    PCI-6229
    PXI-6259 (via the pxi-1033 chassis)

    They are very well known and work perfectly start this computer with Windows XP.

    If I start that computer with a hard drive in real time of "Microcomputer", I don't see any two devices in MAX. I do not see the PXI-1033 chassis, but all locations are listed as empty.
    I would have assumed that at least the PCI-6229 would show up - but no.
    My desktop PC real-time system has all of the installed packages available.

    What can be the problem?

    Hello

    Hello and I hope that your well today.

    Thanks for the post!

    If you try to bit the PC in real-time under remote systems in MAX from another machine?

    What version of DAQmx did you installed on the remote PC in real time?

    Lack of devices OR-DAQmx in Measurement & Automation Explorer (MAX) under systems remotely (target real time)

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

    Deployment of DAQmx on PC in real-time

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

    Hope it starts to help,

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

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

    That tal Estel3an;

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

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

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

    I hope the information you sea ayuda.

    Suerte

  • I use a USB device for the first time. My computer windows Xp does not recognize. How can I fix this prob, and where can I get the info to fix it?

    When I insert my USB for the first time, it is said that it has malfunctioned, and windows does not recognize it. Am I missing driver for USB or what? I need step by step instructions on how to fix this prob. I'm an amateur. Thank you.

    I need step by step instructions on how to fix this prob. I'm an amateur. Thank you.

    Step 1.  Identify the make and model of the USB device.
    Step 2: Identify the version of Windows XP you have, including service pack (start > run > winver > OK)

    Although the following steps 1 & 2 you could get extra help, I suspect that the 'USB device' has indeed "defective" and you have to go back to where you got it and request a refund or a replacement.

  • adjust audio speed without the use of effect - the quantification in real time?

    Don't know how to explain it, but that's probably why I have difficulty finding an answer

    In other audio programs you can adjust the speed or the duration of a part of a track by grabbing a handful and make it longer or shorter.

    This is used to solve problems like the battery this drift, singers who arrive too early or if you want to maintain a longer note. It relates to quantification, but it did beat matching. This is the manual stretch or shorten portions of the track as the sections of an elastic band.

    Right now I have to select each part of the file that I want to change, go to stretch and pitch, adjust the length in another window, apply the filter, and then hear it in context. It's kinda a PITA bread and I was hoping hearing has a smarter way to do this that maybe I'm missing.

    thatguyjay wrote:

    Maybe it's simply not a function, you can reconcile in hearing?

    As you describe, no. Next audition happens to what either as it's the tool for automatic alignment of speech for the clips, but which is intended for ADR applications where you want to align a track of dialogue precisely with an original replacement.

    And that's the point, really - hearing is changing software aimed rather at the audio and video post-production, and is not really software music creation at all - this is why it has no MIDI and a lot of the things that go with. There has been a lot of discussions about this in the past, but Adobe has made quite clear that they follow the money with the development, and music is not just where it is. Is not to say that he cannot do any good music production - I use it a lot for the classic edition - but if I wanted to in machine - creationof music, I would definitely watch Reaper, or something like that, because they have much more appropriate facilities for this.

  • Using FTPClient on a real time with system Exec.vi

    How can I tell FTPClient.exe address target when I start this executable with system Exec.vi in Labview?  I don't want to reinvent the file FTP utility used by MAX with targets in real time. I want to run this executable to a labview support utility without using MAX to do.

    Is this possible?

    Danny

    Thanks for the info.  Your "bad mood" response "suggests" a response to my question.  However, the full answer to my original question is that it is not possible to use FTPClient.exe outside MAX.  It is therefore not possible to spend in the address target at run time if the FTPClient.exe runs external to MAX.  FileZilla is a good choice - there are also other FTP clients out there, but you pointed out a solid choice.  Thank you.

  • 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


  • Real-time System Manager

    Hello world

    How can I open real-time System Manager to monitor on my project of myRIO resourses?

    I've already activated the VI server on the target.

    If I select Tools-> real-time Module I find only "Project Wizard", "set up Time-triggered network" and "viewer of Trace".

    Thank you in advance,

    Lorenzo

    The "Distributed System Manager" is an application/executable separated - you can find it, if installed, on the start menu under the folder "National Instruments". If it is not there, then you probably have installed as part of your installation - raise your LV Installer and choose to install.

    Alternatively, you can use the System Configuration API to read the various parameters (e.g. CPU / memory) on the target itself to monitoring the health of the system.

  • Asynchronous custom device fails to stop

    While I was developing a custom asynchronous device, I came across a problem with the cancellation of the deployment of the .nivsproj I created to test the custom device.

    The custom device would send the error: -307730 Error Message: NI Veristand: one or more asynchronous custom devices did not close correctly and has been abandoned by the Veristand engine.

    I decided to do some troubleshooting for what could be wrong with the custom device by creating a separate custom device using the custom device model. I left completely intact model and it has deployed to our machine pharlap. When I canceled the intact custom asynchronous device it gave me the same error as above.

    I use Labview 2010 Professional version 10.0f2 development system, NI Veristand 2010 for a complete system of development and deployment of the .nivsproj on a licensed machine Pharlap.

    Sorry for the late reply.

    Zach-H by using simple device custom you provided I was able to create a custom asynchronous device that was able to stop. This allowed me to insert instructions printed in the two devices to help out what was causing the unit to raise an error when stopping.

    The culprit seems to be the NI VeriStand - Get loop Type.vi. The type of loop is never defined in the initialization.vi or the main.vi of the device model tool customized. So, when the RT pilot ran VI.vi the Type.vi loop get it would exit always false for the clock of the device to use and never use the correct name of the device clock. Without the name of the unit's clock he would never get a reason for reactivation.

    I forced the vi to use the clock of the device listed in the custom device model tool and I was able to shut down properly.

    TimothyA, you are right about the features of the measuring device. Even with the error of abnormal termination, the meter continues to operate normally after each deployment.

    Thanks for pointing out the problem with no channel being added to the measuring device. I'll make sure the custom device I develop handles the case where no channel, input or output, are added.

    Thanks for the help.

  • Rename a custom device

    Hi all

    I made a custom device that perform some operations with the associated DAQ card.

    In the Solution Explorer system Veristand, to manage several boards, it is possible to add multiple instances of it. The name of each instance must match the associated with a DAQ card, he is asked once and is never changes (in the camera custom XML file, I added the entry 'true').

    Demand for the name is made just after the addition of the instance in the tree Explorer (right click on the entry "Custom devices") system. In particular, the name is invited to call a VI that I put in the "Initialization.VI" of the library of device configuration custom. Unfortunately, this approach I am not able to change the name because ot the property of DisallowRenaming and an error is raised.

    How can I work around this problem? Is there an event as described in the "Custom Device" Guide (OnDelete, OnLoad,...) which can be pulled before the call of the "Initialization.VI", but after the addition of the instance in the system Explorer tree?

    Thank you

    aRCo

    I recommend to remove this label of your item custom main device. its best practice to rename the custom feature set.

    In addition, you can store the name of the physical device as a separate property rather than use the custom device node name.

    Finally, in 2012, we have added a "force rename" bool entry to the item to rename API to work around this problem.

Maybe you are looking for

  • Websites blocked due to security settings that I did not go to Yahoo Games

    I played Yahoo Games for years. About 3 days ago, they failed to load. When I asked about it, I saw that many other people had the same problem. So I waited. "This morning I tried to enter one of the games and got: blocked due to security settings Ap

  • I get error 3219. When you try to send e-mail messages.

    I get error 3219. When you try to send e-mail messages.

  • The Windows Setup program has disappeared from my system.

    Tried to update Java and make the message that Windows Installer is missing.  Checked services.msc and it isn't here.  I can't download 4.5 and install due to missing Installer.  I can't install or remove any program that requires msi.  One knows if

  • verticalmanager down in the vertical scrolling Manager

    Hello I have created custom components that extend a class that implements verticalfieldmanager These classes contain a number of areas for example a label a textfield, another label and image I get a list of these objects (vertical field managers th

  • WLC5500 and AP1250

    Hello I have a few questions about WLC5500 and AP1250: (1) how SSID is supported? (2) is support for EAP - MD5 in this AP? (3) what is the speed of the WLC for encrypted traffic? (4) possible is Authenticate user (802.1 x) in the physical interfaces