Rt - unable to deploy model and fpga code

hi all,
we are having trouble getting our code to deploy to a rt target and fpga
We are unable to use the network shared variables to communicate between the FPGA and RT target, details below, does anyone have a suggestion?
system:
Host :   windows 7,  NI Labview 2014, MIT / Vertistand installed
Target:  PC with Labview RT & PCIe 7852R FPGA
we have a standalone working FPGA code working (verified)  and we added a "Network Published Shared Variable with RT FIFO enable using Single Element"
our idea is to read an encoder and calculate the counts (this part works) using the FPGA, we then want to send that info to a vi running on RT target and display the value.  eventually our RT target will have a model/controller built , but right now we only want to read and display a single value.
When we run, we get the following erros:
based on reading the forum, we tried to reset the MAX database to get the "NI Variable engine" because the windows services shows the ni variable engine is not running....  we tried this and it did not work...
any help will be apprecated,
also here is our project structure...

Hi JK,
Are you sure you're trying to use network published shared variables to communicate between the FPGA and the RT target?  Could you explain that a bit more or provide code screenshots (or actual code)?  Typically, there are two ways to communicate with an FPGA VI: read/write controls, and a DMA FIFO (the thrid, less common way, is User-Defined I/O Variables).  These methods are abstracted when using VeriStand because the XML you import (the *.fpgaconfig file) tells VeriStand how to interact with the bitfile via these methods.  If you are using the Model Interface toolkit, you are using LabVIEW (not VeriStand), so you will need to get the encoder values from the FPGA via read/write controls or a DMA FIFO.  This is accomplished on the RT side by using the FPGA interface functions palette:
FPGA Interface VIs and Functions
http://zone.ni.com/reference/en-XX/help/371599K-01​/lvfpgahost/fpga_interface_palette/
Transferring Data between the FPGA and Host (FPGA Module)
http://zone.ni.com/reference/en-XX/help/371599K-01​/lvfpgaconcepts/fpga_data_transfer_overview/
The RT code can read and write to network published shared variables, but the FPGA cannot access them.
Kevin W.
Applications Engineer
National Instruments

Similar Messages

  • Startup Repair Offline: Unable to fix problem and beep codes

    Hi,
    I have an issue with my PC startup and boot,
    My PC Model: Lenovo H330, Windows 7, i5 Intel processor.
    Basically on the first attempt at booting, my pc plays a beep code which sounds like = 'beep-beep' + 'beep-beep-beep' followed by a blank screen, on a second attempt the pc boots fine.
    I believe this is 1 long and 3 short, the code does not seem to be in the Lenovo Bios support guide to beep codes, not only this but when I attempt Startup Repair in order to fix the problem it states it has
    failed to fix the problem, details below:
    Problem Event Name: Startup repair offline
    PS1: 6.1.7600.16385
    PS2: 6.1.7600.16385
    PS3: unknown
    PS4: 268
    PS5: Autofailure
    PS6: 1
    PS7 No Root Cause
    Local ID: 1033
    Further Information:
    - Information on the failure to repair states error code 0x490
    - Before the issue started, AVG Free Antivirus 2015 lost active components and I was unable to update or turn components back on; at the same time it proved to be very difficult to uninstall.
    Really need help with this thanks!

    Hi Eli,
    I agree with ZigZag ,you may need to resolve the beeps code first .The machine may suffer a hardware issue .
    For the error code 0x490:
    Here is a link for reference of reference :
    Windows 7 Startup Problem - Error code 0x490
    https://social.technet.microsoft.com/Forums/windows/en-US/299b227b-fa38-4902-b41a-d868075d763e/windows-7-startup-problem-error-code-0x490
    First of all ,follow Parvesh_s`s answer ,check the BIOS settings .We may need to reset the BIOS settings to have a check.
    If the issue persists ,take the KrisM771`s method to repair with an installation media.
    If the auto repair will not work ,take the alebcay`s suggestion .Repair it with the command .
    Best regards

  • Unable to deploy my RT vi code on cRIO in scan mode

    Hi,
    I have been working on NI cRIO for past some time. Today I faced a peculier problem. I was able to make necessary changes in my RT vi and deploy it on the cRIO. Everything was working fine but somehow I started to get the message of " Unable to connect to RT Target ". I was able to ping my cRIO and connect to it initally but as soon as I started running my RT vi on it , the connection was getting broken. I was even unable to ping my cRIo.
    I searched a lot on net and even tried to reinstall the software on my cRIO. THe error code was pointing toward the SVE, but I had installed the required software for network variable engine on my crio. I am attaching the screenshots of my project and the error messsages.
    Please let me know how can I run my RT code again on crio .
    THanks.
    Attachments:
    Error_RT_SVE.PNG ‏89 KB
    Software on RT target.PNG ‏25 KB

    I have been working on this issue and referred to earlier discussions like:
    http://forums.ni.com/t5/LabVIEW/RT-cRIO-Shared-Variable-Engine-Errors/td-p/1697368
    I have added a delay in my RT code (in initialization phase) and since then I have been able to solve the issue. Basically I think that SVE needs tome to work.
    Please let me know if anyone has any better idea.
    Thanks

  • How do I read the camera model and manufacturer from IMAQ in LabVIEW?

    Hello All,
    I have a machine vision application for automated test. I am required to save the image for each test for quality purposes. Since LabVIEW interfaces the CameraLink camera thru the IMAQ driver, various cameras can be used without changing the LabVIEW application. I need to store the basic configuration information, including camera model and manufacturer, with the image. I am able to read some parameters from IMAQ (like bit allocation and shutter speed) using the Read Attribute VI, but unable to read model and manufacturer.
    Does anyone know how to read camera make/model from IMAQ in LabVIEW?

    With this VI, any camera attribute that you can see and set in MAX, you should be able to see and set in LabVIEW.  These are attributes that are defined in you camera file.  Since Model/Make is not an "attribute" that you necessarily set, it is not included in your attributes tab in MAX.
    If your camera file included a model attribute, then it would show up in MAX under attributes and you would be able to read it using the above-mentioned VI.  The only thing I can suggest is perhaps use some File I/O instead of IMAQ VI's and read your camera file, if the ones you have are consistent in structure.
    Hope this helps!
    Tejinder Gill
    National Instruments
    Applications Engineer
    Visit ni.com/gettingstarted for step-by-step help in setting up your system.

  • NI9203 - Need to know how to set up the FPGA code for multiple NI9203 modules and how to calibrate the data

    Hi. I'm using the NI9203 module to detect pressure, temerature and flow rate of water in a cooling system. I have 17 different inputs coming in therefore i'm using 3 NI9203 modules. I've used the example provided with labview as a base for designing my code. The example can be found here : Program Files\National Instruments\LabVIEW 8.0\examples\CompactRIO\Module Specific\NI 9203.
    I've had no problems when testing this code out for a single NI9203 module but when i add code for 3 modules the code will not compile as my resources are over mapped. Is there a simpler way to program the FPGA code.
    That said how do you go about calibrating the data that's received from the module. Preferably i'd like to write a vi to do the calibrating. Just need help on how to go about writing this vi

    Hi havok,
    Firstly, I would use constants to configure the modules, it'll save some resources on the FPGA.  I'm not typically changing the settings on the fly, so using constants whenever possible helps.  I would also take a look at the following KnowledgeBase article on other changes you can make to the FPGA VI to compile the code:
    http://digital.ni.com/public.nsf/allkb/311C18E2D635FA338625714700664816?OpenDocument
    The best changes you can make are to use fewer arrays and front panel elements.  This can be done by using a DMA FIFO or constants on the block diagram. 
    Now actually calibrating the data will require you to do it on the host side.  There is an example VI called Binary to Nominal that changes the raw data to something more useful for datalogging, display, etc.  It can be found in some of the example VIs, or in the following link:
    http://digital.ni.com/public.nsf/allkb/E86D8D460C4C092F8625752F00050A61?OpenDocument 

  • FPGA Code Generation fails with error codes 7 and -1

    Hi all,
    I have been having a weird issue with my LV FPGA compilation in the last couple of days, no matter what I try to compile LV fails to generate the FPGA code files and returns with errors 7 and -1 and complains that the file is not found. This happens no matter what I am trying to compile even a VI with just a while loop. I followed the discussion forum here without any luck, also followed the NI article here and that did not help either. The error codes always get generated at the start of the Generating Intermediate files step #7 (out of 7).
    Attached to this post is a screenshot of the error I am getting (error -1 just says internal error and to contact NI support), bellow is basically the error I get for error code 7
    An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:
    Error 7 occurred at Read from Text File in nirviGetInstantiation_cRIO-IDSel_Timer.vi->nirviGetInstantiation_cRIO-IDSel_Timer.vi.ProxyCaller
    Possible reason(s):
    LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488: Nonexistent GPIB interface.
    C:\NIFPGA\compilation\cRioController_8-SlotFPGA_FPGA-TriggerTest_C06156E2\IDSel_Timer.vhd
    I tried to do some digging to see what could possibly be happening, and I noticed that LV is looking for the vhdl files in the wrong folder (see the line highlighted in red above), when generating the vhdl files, LV will place them inside the "source_files" folder under the compilation project, but for some reason it is trying to find them under the root folder not inside the source_files folder!!!
    Does anyone have any idea why LV would be looking for these files in the wrong subfolder? 
    Thank you,
    Aws
    Attachments:
    Code Generation Errors.png ‏35 KB

    Hi Aws_Khudhair,
    What version of LabVIEW are you using? And what version of the FPGA module? From what I found, it seems as though this is primarily an issue with LabVIEW 8.6 and 8.6.1.
    http://digital.ni.com/public.nsf/allkb/A711119FE89E39E78625754E00075E92
    This forum also discusses a similar issue:
     http://forums.ni.com/t5/Real-Time-Measurement-and/FPGA-compile-errors-after-generating-intemediate-f...
    It may also be worth repairing/reinstalling the FPGA Module and the Xilinx compile tools.
    Catherine B.
    Applications Engineer
    National Instruments

  • Object Oriented Modelling and Code Generator

    i have a final yr project on java--any help plzz
    Objectives:
    In software development we make extensive use of models to capture details about objects in a domain, the attributes of the objects and the relationships between the objects. Once complete, these models also contain constraints on the objects and their attributes.
    The aim of this project will be to develop a GUI to draw an appropriate software model and to automatically generate a set of Java classes consistent with the model that can be used to rapidly implement the software.
    This research will aim at analysing the different modelling techniques and the mapping of these models to java codes.
    note: any good advice..

    Hello there..
    I Together Control is one of the best tool that can serve ur purpose
    this is pretty good Tool.
    Specially auto code generation is cool.
    Look in to borland site..( They now took overtogether ) for free eval version ..
    Regards
    Manu
    Syntel

  • Unable to copy and paste code or text in the post

    hi
     i am unable to copy or paste the code or text from my notepad/word to this editor when i am trying post questions  etc.
    is this feature blocked my MS ?
    If i add a html code windows , i am able to paste the  code and text. can anyone pls confirm why they have removed copy-paste operations from the normal window

    Did you try to paste by right-clicking or by typing Ctrl + V ?
    Sometimes the former doesn't work but the latter works.  -- My own experience.
    Alexis Zhang
    http://mvp.support.microsoft.com/profile/jie
    http://blogs.itecn.net/blogs/alexis
    | i am unable to copy or paste the code or text from my notepad/word to this editor when i am trying post questions etc.

  • HT1998 Why can't I uninstall AirPort 4.2 from my Windows 7 PC..  I downloading and reinstalling the 4.2 but during the installation process I get an error.  It reads...    "1608: Unable to Create InstallDriver instance Return Code -2147024894

    Why can't I uninstall AirPort 4.2 from my Windows 7 PC..  I tried downloading and reinstalling the 4.2 but during the installation process I get an error.  It reads...    "1608: Unable to Create InstallDriver instance Return Code -2147024894

    You should not install it again..
    Boot the computer into safe mode and try the uninstall again.
    No luck you will have to manually uninstall which is a pain. Delete the files and open regedit and delete the registry entries.. better still use the system restore to go back to a previous system where you had no 4.2 installed..
    Or just ignore it and install the latest 5.6.1 and if it gives trouble well do a clean install of windows.

  • I have redeemed my code and downloaded the Mountain Lion overnight. Now I am unable to find the download and unable to install it. And the code says that its already redeemed. What can I do? Please help.

    I have redeemed my code to download the Mountain Lion. I left it for download overnight. Now I am unable to find the download and its not installed. And the code says that its already redeemed so I cannot download the Mountain Lion again. Please help.

    Look in your Applications folder.

  • Error downloading and running fpga code

    Hi all,
    I am getting an error downloading FPGA code to fpga board on another PC. It works fine from various other development machines but will not work with my laptop. Attached is the error code dialog box that comes up when I try to run the FPGA code. Has anyone seen anything like this before?
    Thanks,
    Dean
    Attachments:
    Error Code Dialog Box.PNG ‏10 KB

    I guess I was a little lacking in details.  All of the LabVIEW installs on all the PC's are the same.  Windows service packs and security updates etc are close.  My laptop has a bit extra on it with VMWare, wireless, some security software, other usb dongles for other software, etc.  This only occurs with a compiled FPGA VI that I am trying to run on the FPGA with the LV front panel open.  If I create windows VI and call the fpga code with an Open FPGA reference linked to a bitfile or a VI there is no problem.  I have followed all the methods for connecting to the remote FPGA card.  I have repeated the process with blank projects on my laptop and another PC and created the exact same code. 
    This is why I am asking if someone knows what the error code means to help narrow down the search.  The visa check in MAX works and I can open the RIO Device Setup from the LabVIEW project.
    Dean

  • I have 8gb touch ipod (MC086C model) and i am unable to connect wifi BSNL however my iphone and laptop works well

    I have 8gb touch ipod (MC086C model) and i am unable to connect wifi BSNL however my iphone and laptop works well

    Well, it seems the problem I listed in my previous post (unable to wireless sync with iTunes 10.2) has resolved itself.  My iPhone now syncs wirelessly.  Happy for small miracles!

  • Unable to create model out of DO

    Hi,
    I created a Mobile Laptop WebDynpro DC in NWDS 7.1, the build and deploy work fine.
    The problem is that when I attempt to create a Model based on a Data Object from the
    Mobile Middleware 7.1 DOE, I always get an exception when the Data Object metadata is
    imported (the last step of the Model Creation Wizard).
    Here's the exception :
    Status ERROR
    Plugin : com.sap.ide.cmi.core
    code=0
    Internal error
       Plugin name: Common Model Tools Core
       Internal error  : com.sap.ide.cmi.core
       Class      : com.sap.tc.mobile.dt.metaimp.ModelImportWizard
       Method     : run(IProgressMonitor)
       Message    : Failed to create model
       Exception  : com.sap.ide.metamodel.general.exception.ObjectRequiredException: ModelClassPropertySetting "//WebDynpro/ModelClass:ca.test.sandbox.mitest1.test3.ZTESTDATAOBJ/Property:ACTUAL/Setting:backendKey", Role "SettingDefinition": A minimum of 1 object(s) is required
    ObjectRequiredException: ModelClassPropertySetting "//WebDynpro/ModelClass:ca.test.sandbox.mitest1.test3.ZTESTDATAOBJ/Property:ACTUAL/Setting:backendKey", Role "SettingDefinition": A minimum of 1 object(s) is required
    at com.sap.ide.metamodel.webdynpro.implementation.ModelClassPropertySettingProxy._validate(ModelClassPropertySettingProxy.java:358)
    at com.sap.ide.metamodel.core.DevelopmentObjectProxy.validate(DevelopmentObjectProxy.java:825)
    at com.sap.tc.mobile.dt.metaimp.MBOModelImporter.doImport(MBOModelImporter.java:170)
    at com.sap.tc.mobile.dt.metaimp.ModelImportWizard.createModel(ModelImportWizard.java:200)
    at com.sap.ide.cmi.core.model.importer.CMIWizard$2.run(CMIWizard.java:197)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    I had read a similar thread @ the same problem.
    Link:[Unable to create Model from DOE Data Object]
    I do not have Mobile App Offline perspective coming in My NWDS.
    I am using NWDS 7.1 sp03
    Please help.
    Edited by: Saptak Kulkarni on Jul 28, 2008 10:31 AM

    Hi,
    what is the error message?
    In his example it seems his definition is not completed. As it sais: at least one.... required. So he should most likely complete his definition and then it should work.
    What are you doing? Do your try to import objects of a simple MI7.0 standard app? If this is the case you will most likely run into problems cause MI7.1 does not support T51 BOs and so you will see an error message.
    Regards,
    Oliver

  • Unable to deploy from Eclipse - Runner class cannot be initialized

    Hello
    two days ago, I installed the newest versions of Glassfish Tools together with the newest Eclipse Luna SR1
    when trying to deploy, I am getting the following error message:
    org.glassfish.tools.ide.admin.CommandException: Cannot initialize Runner class
      at org.glassfish.tools.ide.admin.AdminFactory.newRunner(AdminFactory.java:180)
      at org.glassfish.tools.ide.admin.AdminFactoryHttp.getRunner(AdminFactoryHttp.java:110)
      at org.glassfish.tools.ide.admin.ServerAdmin.exec(ServerAdmin.java:75)
      at oracle.eclipse.tools.glassfish.GlassfishServerBehaviourDelegate.publishDeployedDirectory(GlassfishServerBehaviourDelegate.java:608)
      at oracle.eclipse.tools.glassfish.GlassfishV4ServerBehavior.publishModuleForGlassFishV3(GlassfishV4ServerBehavior.java:96)
      at oracle.eclipse.tools.glassfish.GlassfishV4ServerBehavior.publishModule(GlassfishV4ServerBehavior.java:56)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1091)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1183)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:987)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3157)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    the same application works if deployed directly to the glassfish server
    I did all the suggestions as mentioned in Unable to deploy app form Eclipse Luna on Glassfish 4.0 or 4.1 with JDK8 but without success.
    Does anybody has an idea what the problem could be and how to track it down?
    Thanks a lot!

    Hello Kostas
    Thanks a lot for your help and hints! I am running Windows 7 64 Bit
    I had Java 8, once with Release 20 and once with Release 25, installed - and thought that I pointed all to the newest version.
    What helped in the end was to
    - deinstall all Javas
    - reboot
    - installed newest JDK, without the "Public JRE"
    - reboot
    - set JAVA_HOME and appended the Java-bin-dir to the path-Variable
    - reboot
    - installed a fresh version of Glassfish
    - configured a new Glassfish-Server on Eclipse
    -> and now it runs perfectly!
    Thanks again for your work and hints!

  • Error while deploying WC application: Unable to deploy EJB

    Hi All,
    we are getting the below error quite frequently, whenever we deploy the application to server:
    [03:35:14 AM] Weblogic Server Exception: weblogic.application.ModuleException: Exception preparing module: EJBModule(CAWrapperEJB.jar)
    Unable to deploy EJB: CAService from CAWrapperEJB.jar:
    [EJB:011055]Error deploying the EJB 'CAService(Application: CAPortal, EJBComponent: CAWrapperEJB.jar)', the JNDI name 'CAPortal-CAPModel-CAService2#com.lexisnexis.service.CAService' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    [03:35:14 AM] Caused by: java.lang.Throwable: Substituted for missing class [EJB - 11055]Error deploying the EJB 'CAService(Application: CAPortal, EJBComponent: CAWrapperEJB.jar)', the JNDI name 'CAPortal-CAPModel-CAService2#com.lexisnexis.service.CAnService' is already in use. You must set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB before it can be deployed.
    [03:35:14 AM] See server logs or server console for more details.
    -to solve this issue we just delete the cache and restart the Managed server.
    Please tell me what is the cause of this error and how can we fix it permanently, as restarting the server everytime is not very convenient.
    TIA,
    Bob

    The content of "weblogic-ejb-jar.xml" present in code is:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
    </weblogic-ejb-jar>

Maybe you are looking for