How to integrate model of custom device controller

Hello

I now live a labview including 18 sub controller model, and I am trying to run this controller on RTOS VxWorks, through customized device model.

1. when I tried to run a model simple controller (ex, a controller with 3 ~ 4 void / screw) on RTOS VxWorks, I just put simple controller in RT Driver.vi model, and then the build and deployment succeeded.

2. then, I did it with my model of labview in the same way above controller, but I couldn't even build my model controller labview. I don't know why, but the build process stops at the initialization stage. I think that this problem will appear when there are more than 3 ~ 4 sub vis are added under the custom device project.

Any ways to use a model of controller labview instead of just put a model in RT Driver.vi?

Now, I managed to build my model labivew, I saw the light of the compactRIO blinked, which measn the connection is ok by CAN - Bus.

But it's still weird and not possible to build my model at a time. In addition, cannot again build the custom devcie just before successfully built after the addition of two functions simply.

In any case, the solution to my problem is as below.

For example, my cruise controller written in labview consists of 3 simulation systems arrive.

Each system to arrive includes several subsystems.

First, create the model after adding one of 3 major subsystems. (In this case, I never had errors in the construction of models of labview)

Secondly, if the first step is ok, add one of the other 2 systems come in the custom device and then build again.

Thirdly, add the remaining subsystem in the custom device and establish the entire model and deploy it to the target.

With three steps above, I can still build devices customized successfully.

Tags: NI Products

Similar Questions

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

  • How to detect the channel delete event in a custom device

    I am creating a custom device and want to detect when you press the button Delete (X) in the system browser.  This is so I can increment or decrement a counter in a folder (where the channel is under).  I saw no option in UserEvent loop options.  How do I detect that a channel is deleted?, I'm sure it's easy, but I can't seem to understand.

    Thank you!

    I recommend usually do not do that... If you can avoid it. For example the parent folder can do if everything is just a child get point-> the size of the array to count channels rather than storing a property that could get out of sync. I always try to design my devices do not store the property values for things I could go get.

    That being said... Sometimes you don't have that. You want an actionviondelete: https://decibel.ni.com/content/docs/DOC-30447

  • How to identify the model of the device programmatically?

    Hello

    is it possible that I can recognize a model programmatically? I know that there is DeviceInfo class and for example something like ProductID - but it's different for each model.

    I'm looking for something that will allow me to recognize him as a model of the device is for example 8800 or 8300.

    can I do it somehow?

    DeviceInfo.getDeviceName ();

  • custom device PLC Siemens

    Hello

    I do test with NI Veristand HIL. My hardware is a cRIO 9075 siemens AND 200 s PLC. I found an address ethernet/IP add it to veristand:http://zone.ni.com/devzone/cda/epd/p/id/6337

    However, if I understand correctly, it will not work with siemens plc. Are there patterns that I can do on the add-on ethernet/IP, which allows to work on siemens PLCs?

    any help is deeply appreciated.

    Do not confuse Ethernet/IP (Ethernet industrial Protocol) with "Ethernet" (the physical layer, it is built on).  Both Profinet and Ethernet/IP are protocols built on top of the Ethernet physical layer, but apart from that, they are completely different protocols.

    Regarding your question, NI VeriStand consists of a runtime of models yout, IO, etc... and an application for configuring host-side and communicates with the engine.  Generally, the engine will run on a system in time real (for example a CompactRIO or PXI system), but it is also possible to run the engine on your WIndows machine.  The downside to this is that Windows is not a real-time operating system, so you can't wait operation is deterministic, free of jitter, which is usually required by the test of RT applications.

    Insofar as the implementation differences, your target cRIO runs a VxWorks operating system, which is unable to call DLLs.  Instead, you'll have to comile your models in a .out file.  If you use the Mathworks Simulink®, NI VeriStand comes with a .tlc of VxWorks file that can be drawn from the real-time Workshop.  If you compile your own C-base model, you will need to use the chain for VxWorks GNU tools.  You can find instructions on how to do it here.

    If you use the cRIO VeriStand engine, you will need to use a C series Profibus or Profinet module for communication with the controller.  I don't have any experience with these, but you need to program the FPGA and probably write a device customized to interface the NI VeriStand code.  If you use the Windows engine, there may be 3 third-party drivers available for this type of communication that you could then conclude with a custom device.

  • How can I use a custom tool easy to machine the same LabVIEW is the basis on average DC - RMS VI

    I use a cRio 9024 and read PWM with an analog input card 9205.  It was suggested that I use the basis on average DC - RMS VI to convert the voltage of the PWM signal into an analog signal (effective value) for use in my system.  The problem is that the 9024 can use LabVIEW models (it's VxWorks). I work through the device a custom tool easy and I wonder if someone can guide me in the right direction.

    I am running Veristand 2014, cRio-9024, 6modules, and run the scan engine.  It seems that's the reason why I can't read analog voltage (starting a PWM signal) since the signal is running at 200 Hz and the Scan Engine runs at 500 Hz.   I tried to avoid making a custom device or an FPGA and found a work around using the 9401 in counter mode.  I can get the numbers that I need, that's how I'm heading at the moment.  I would like to custom device approach, but not this sprint.

  • The list of custom device alias

    Hi all

    I'm trying to retrieve the list of aliases of a custom device and generate a file containing the list of aliases and the reference of the chain. I wanted to do before the depoyment of my device custom (for example, during the initialization stage). I have tried different means:

    (1) from the driver of the RT, I get the reference of the target and navigate the tree of thr to get the aliases Section. The problem is, apparently, that you can not get the aliases section. When I call get target Ref, I received the mention of the controller, and then I managed to get the parent (targets)... but I can't get the root node, and then get the alias Section...

    (2) after that that I wanted to use the API to run. I opened a connection to the workspace, call the list of aliases to Vi... But the problem is when I'm in the my custom device initialization stage, it is not started yet, so it returns an error and that you can not deploy

    (3) my last idea was to use the systemDefinitionAPI. But I don't know how to get the path to the custom device system definition file...

    I think that I have run out of idea... If anyone has a suggestion...

    There is a function on the system definition API you can call directly to translate a reference device custom in the definition corresponding system API node type. This type of node, you can navigate to the root and then find all defined aliases.

    The class is called NodeIDUtil. See the example below. Note there is also some other functions to translate the reference point in node types more specific, as a custom device, channels, etc., waveforms. For example, recorded in 2012.

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

  • model of custom in DW CS5 Server?

    Hello

    I was wondering what measures should integrate a CMS custom with a non-standard server (similar to PHP/MySQL) model in the DW CS5 workflow.

    Ideally, Live View and Code hinting should function as the integration of WordPress or Joomla in CS5.

    I'm not a programmer, just a user of DW for a long time trying to compile the initial research for our team of programmers.

    Thank you for your help,

    Oliver Letz

    Hello

    If you look in the menu to the left of this page, (http://help.adobe.com/en_US/dreamweaver/cs/using/index.html), you will see the dreamweaver extension and api reference links, you need, (you can also demand the docs of the creative suite, according to your needs).

    There is an entire chapter in extending dreamweaver, under server model.

    Probably the best way to proceed is to look at your dreamweaver configuration folder and the user configuration folder, because it will show you what is necessary, (and, eventually, how to encode) a new model of server.

    Unfortunately outside the review of existing code, there is very little documentation with examples that will help you for better luck and even if this section of the forum is not used (or often visited) is probably still the only place where you will find all the help should you have a problem.

    Depending on where you live (country wise) you might consider attending one of the conferences dreamweaver extension developers or even the MAX Conference, for more information see - http://max.adobe.com/ and http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=extension%20developer%20sessi on.

    PZ

  • How can I add a USB host controller high-speed to my PC?

    My OS is windows xp home edition. I get this message that the HI-SPEED device attached to Non HI-SPEED USB Hub.

    The USB Composite device is a USB HI-SPEED device and will function at reduced speed when plugged into a port not HI-SPEED.

    There is no host controller USB HI-SPEED installed on this computer.

    Recommendation: You add a USB host controller high-speed on this computer in order to get maximum performance.

    So, how can I add this USB host controller high-speed to my PC? Is - this material I must add and physically install to my PC?

    As always, any help is greatly appreciated.

    Thank you!

    drake68

    Hi Drake,

    Review the devices USB connected to your PC and make sure that there is not a USB 1.x device connected to the same USB HUB (front or rear).  USB 1.x devices will cause the USB HUB at the bottom shift to 1.x speeds.

    You have an old PC (2002), it is possible that your PC does not have a USB HUB 2.0.  In this case, you need to install a USB PCI adapter card.

  • Why my custom device break only when VeriStand trying to run it?

    Hello

    I have a custom device, he worked for some time now, today, I made a few changes to add some features more and now VeriStand tells me the RT pilot is more executable.

    I have not change my build configuration or add any functionas that could bring in an external DLL, or something that could link incorrectly.

    Any ideas of how I could go on this shrinking.  The problem is that when running in VeriStand.  Built LLB has no problem, the source of the development has no problem, it's only when VeriStand tries to deploy there is a problem, so there must be something that is not bound correctly Yes?

    The system isn't RT, it's just deploy on Windows using a SMU.

    I am not sure the exact cause, but I ended up simply remove parts of the code piece by piece pilot to refine what was causing the problem. It turned to be a VI of debugging I used several times before in various projects, but which contains the string "call" LabVIEW primitive, but set apart from that, it's just a simple string manipulation.  So I don't know if it was just a few cases of random edge that occurred when running under code basic LabVIEW VeriStand clean, but for some reason, he broke the driver VI.

    So, solved the problem, but the cause, I can't really say.

  • execution of the RT custom device screw driver

    Hi all

    I'm building a custom device in which I expect a user input. (user provides entries on the home page of the custom device).

    Once the entry is expected on this basis I read the file-specific data and creating channels and article.

    Previously creating channels and article I in the initailiazation code.  But now that I'm waiting for user input I can't create these channels during initialization (reason is before getting the input channels will be created which I don't want. My creation of channel depends on the intervention of the user).

    If this logic of formation of channel I now write in pilot RT VI with my main logic of the reading and writing of the channels. For this I just want to know what exactly is the RT pilot VI begins its execution?

    If the RT Vi driver starts to run after adding the deivce custom veristand and after giving the user input and then my purpose will be resolved.

    I hope I explained my question correctly.

    The pilot begins after the definition of the system is deployed.  I don't think you can add strings in VI driver.  Nor do I think that you want, because you won't have an interface for them in the system definition.  Without a channel interface, i.e. mapping, how do you get data in and out of them?  I think your plan to create channels based on user input and data configuration are fine.  I suggest that you implement in the homepage or pages on the main page.

    -Steve K

  • Adding custom device VS programmatically

    Hey everybody,

    So I was wondering if there is a way to programmatically add a custom to a homeless GUY in VeriStand device.  I have a program that runs through tricks of calibration and after it's done I want to automatically add a device tailored to the Homeless.  So far I found only a way to get an up-to-date list devices custom - cannot add a.

    Does anyone know how to do this?

    Thank you.

    I assume you are using the definition of system .NET API to change the homeless before deployment.

    In this case, there is a constructor for a custom device that takes the GUID of the homepage. Once that is done, use the AddCustomDevicemethod on the node CustomDevices of the Homeless.

    When you have the custom device reference .NET (the object) you can configure it with calls .NET as add channel/section and set properties. Although, given that most of the custom devices have initialization VI who made the most of it, you can call initialization VI, in fact if you want. To do this, get the NodeIDof the CustomDevice object and passing to the initialization of VI connector pane.

    I hope this helps!

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

  • Choose CPU Inline Custom Device

    Hello!

    I wonder if it is possible to assign a Custom inline device to a specific processor. I know it's possible to do a custom asynchronous device.

    I developed a custom device inline, calling an asynchronous vi. I can affect the heart for the asynchronous part, but how to choose the kernel for the part online?

    Thank you...

    Hello, I guess that the online part is executed from the thread VeriStand, then the kernel is involved by the call control loop and cannot be changed. But maybe I'm wrong?

Maybe you are looking for

  • MacBook Pro hardware Possible malfunction

    My Mac is a month and I have encountered the following problems: (1) dock - start my closing connection Mac and then move the mouse to the bottom of the screen to make the dock jump upward. Problem does not exist if Mac begin from restart or sleep. S

  • Sync does not

    Windows - firefox last 30.0 work laptop Mobile home - latest firefox 30.0 (Mavericks) MAC On my laptop I am connected to my account with [email protected] (for example). All the boxes checked under the "Sync my" section (so everything is to be synchr

  • What do you intend to do for Mozilla Firefox?

    I am SO sorry this is off-topic, but needs to be asked. I want just a few details if it all new features to add to Firefox in the near future because I have a few ideas for firefox. I feel like Chrome and Opera spread to speed with Mozilla and it sad

  • El Capitan 10.11.4 update kills iWork ' 09?

    After I upgraded my MacBook Pro 15 (mid-2014) last week to 10.11.4, Pages ' 09 and Numbers ' 09 black dialog boxes and blacked out pages and worksheets. What is the way Apple has decided to kill these applications? I am one of the many people who are

  • scanning of a document of several pages of hp 8500 a909a results in the separate analyses for each page

    I have a MacBookAir operating on the latest version of the Apple software, Lion. I have an OfficeJet 8500 A909a. I want to scan a document of several pages of the scanner in my computer. I want to use the document feeder. The document feeds into the