Generating executable scan engine mode

I've developed a software using Labview Scan mode engine. There's a main that will run on the PC and no VI embedded. I need to generate an executable and run it on a PC that doesn't have Labview installed. I want to know if I have to deploy something on the cRIO, and if I have to configure the cRIO on MAX on the PC that it will run, or if not, how do I configure it?

Hi Thuany,
Well, the dependencies of the Windows Application will depend on how you programmed your VIs. Can you post your Project so that I can see how you did it and provide you a better answer?
Thanks
Felipe Flores
Engenharia de Aplicações
National Instruments Brasil

Similar Messages

  • Error 2147138480 in Set Scan Engine Mode to Actif

    Hi all,
    I'm fighting in front of this error which occur and does not want to go away (even after trying everything)...
    The error (-214713840) is happening when trying to set back the Scan Engine Mode to actif.
    It says: "The slave device could not be found. The positional addresses within the LabVIEW project are inconsistent with the actual network topology. [...]"
    I was trying to program the detection of the loss of a CompactRIO chassis when this error first occurr.
    I have 2 CompactRIO "EtherCAT" connected to a RT computer.
    Thanks for all the help or suggestion you can provide me ;-)
    Cheers,
    Laurent

    Hi Laurent,
    I don't know if your problem has been solved but I prefer asking.
    Are you sure of the error code you encounter ? I don't find it in the manual or other places.
    Regards,
    Mathieu P. | Certified LabVIEW Associate Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

  • Slow Scan Engine

    I'm trying to read an analog input signal from a function generator via Scan Engine on a cRIO-9074, but scan engine doesn't seem to be updating as quickly as it should be. The input is a 10Hz sine wave +/-3V into a 9207 module. The scan engine settings are default, and I get good readings when hooked up to a DC power supply so all the hardware should be good. The attached front panel picture shows the results I'm getting which I figure is about a 0.8sec update rate.
    Thanks for any help,
    ~Tyler
    Attachments:
    FP.jpg ‏219 KB
    ScanEngine Block Diagram.jpg ‏68 KB
    Settings.jpg ‏114 KB

    Hi Tyler,
    Thank you for your post.
    I notice that your "Network Publishing Period" is set to 100ms. This means that the target will update published values on the network every 100ms only, even though you have the scan period set to 10ms.
    Try altering the network publishing period to be closer to the scan period. Please tell me if this has solved the issue.
    Thank you,
    Eden S
    Applications Engineer
    National Instruments UK & Ireland

  • Scan interface mode erreur -805

    Bonjour,
    Je suis débutant de système Compact RIO. J'ai quelques questions sur le scan interface mode.
    Le matériel que j'utilise est 
    le contrôleur cRIO-9012 et chassis cRIO-9101 intégré
    une carte AI 9205
    une carte DIO 9401
    Je voudrais utiliser le scan interface mode pour comprendre le fonctionnement des cartes, dans le FPGA interface mode, ça prend du temps pour la compilation.
    Le chassis ne supporte pas le scan interface mode, alors je configure les 2 cartes individuellement en utilisant les I/O variables. Ensuite je crée un VI tout simple pour lire la tension de la carte AI. J'obtient une erreur -805 : Timing source ,synchroniser avec le moteur de balayage.
    J'ai vérifié aussi dans MAX, le soft  NI scan Engine est bien installé.
    Quelqu'un pourrait me dire d'où vient ce problème?
    Merci d'avance.
    Lily
    Solved!
    Go to Solution.
    Attachments:
    scan interface mode.zip ‏22 KB

    Bonjour,
    Erreur -805
    est relatée à un bug dans la version localisée de LabVIEW.
    LabVIEW Stops Execution After Synchronizing With Scan Engine :
    http://digital.ni.com/public.nsf/allkb/81977F8BE19​2C7C48625754C0075D93E?OpenDocument
    Erreur
    -66205 peut être un résultat de l'erreur précédente, mais aussi parce que les
    variables partagées ne sont pas déployées (correctement). 
    Comme expliquer dans l'article proposer par « speleato »
    (http://digital.ni.com/public.nsf/allkb/122E971F52F​D081A86257500007A046C), vous
    devez compiler et exécuter le « Blanc VI » du FPGA enfin the déployée la
    logique nécessaires pour le « scan mode », utilisant la fonction « Open
    FPGA VI Reference » dans le « test 9205.vi ».
    Le moment
    que la logique est déployée, l'erreur doit être disparue.
    ENGLISH :
    Error -805 is related to a bug in the localized versions of
    LabVIEW.
    LabVIEW Stops Execution After Synchronizing With Scan Engine :
    http://digital.ni.com/public.nsf/allkb/81977F8BE19​2C7C48625754C0075D93E?OpenDocument
    Error -66205 can be a result of the previous error, but more
    likely it is because the shared variables are not deployed (correctly).
    As explained in the article refered by « speleato » (http://digital.ni.com/public.nsf/allkb/122E971F52F​D081A86257500007A046C),
    you need to compile and execute the « blanc VI » on the FPGA target
    to deploy the needed « scan mode » logic, using the "Open FPGA VI
    Refernce" function in the "test 9205.vi".
    Once this is done, the error should have been gone.
    Best regards,
    Joeri
    National Instruments
    Applications Engineering
    http://www.ni.com/ask
    Make our forums great:
    If you like the answer, don't forget to "Kudos!".
    "Accept the Solution" if your question is answered!

  • NI Scan Engine Wont Run

    Hello, I am trying to deploy a program on the real time controller of a compactRIO. I decided to use scan mode for now. However, when I try to run my VI I get the following error:
    One or more items in this deployment require the NI Scan Engine and corresponding I/O driver(s) to be installed.  Go to MAX to install.
    If you continue to encounter this conflict, refer to the "Deploying and Running VIs on an RT Target" topic in the LabVIEW Help for information about resolving target deployment conflicts.
    I have LabVIEW real time on my machine so I don't know what the reason for this is and I can not find under MAX where to install the scan engine (again I assume it is already installed).
    I am using LabVIEW 8.6.1 and the modules I use on my cRIO-9073 are the 9477 DO module and the 9205 AI module. Any help would be appreciated.
    Solved!
    Go to Solution.

    if I tried to install the software software at the NI Max
    but it give error 
    "The selected target does not support this function"
    how to fix this error,
    what problem with it
    thank you
    Msyafiq
    Attachments:
    install error.jpg ‏128 KB

  • Programmat​ically modify scan engine scaling

    I need to be able to programmatically adjust the scaling factors for my cRIO analog channel.  I manage all
    my I/O from an external spreadsheet that gets compiled and ftp'd to 9
    cRIO targets.  Each cRIO will have different scaling factors.  I
    understand that this is a feature that will be forthcoming but I need
    to be able to do this within the next 2 months.  I already have in
    place a secondary scan engine of my own design that replicates all the
    I/O and includes such niceties as scaling, filtering,  zero offset and
    deadband updating.  Recently I noticed a file on the cRIO called
    'variables.xml' which quite clearly contains all of the I/O variable
    properties.  I am planning on writing a utility vi that can modify this
    xml file.  I believe I would have to call this vi from my cRIO code and
    then reboot to have it redigested into the LOGOS? server or scan
    engine.  I understand that the development engineers loath to support
    this type of activity and I also would not want this to be permanantly
    in my code, but only as a short term solution until the proper API is
    released.  If anyone has a better idea I would love to hear about it.

    sachsm,
    While I definitely don't promote doing what you suggested, I tried it out and it looks like it should theoretically work with a reboot.  I only did this with a straight VI ran from LabVIEW.  The xml file is generated when the scan engine variables are first deployed.  This file is updated on an input-by-input basis based on what was edited in the project explorer.  If the xml file is edited, then the device rebooted (but the project not changed) and you run the VI, the 'updated' scaling will be present.  Once you edit the particular IO in the project then it will override the manual edit.  When these are changed the scaling changes go into effect immediately and the device doesn't need to be rebooted.  Good idea, indeed, not sure if or what the implications may be with this though.  Definitely try at your own risk for this one.
    Regards,
    Jared Boothe
    Staff Hardware Engineer
    National Instruments

  • Problens whit Messaging Server and Symantec Scan Engine

    Hi!
    I have installed Symantec Scan Engine 5.0 to check virus in my Messaging Server, but when I try to open the administration interface of Scan Engine installed in port 8004, it appeared the messages:
    �Loading Java Subprogram�
    �Do you want to install the subprogram distributed by Symanted? Yes
    �please wait���.�
    �Subprogram com.symantec.gui.guidelines.ScanEngine Applet started�
    But the apple did not load at all.
    I have installed the right java version.
    bash-2.05# java -version
    java version "1.4.2_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05) Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
    And I open it in Internet Explorer 6.0 sp2.
    bash-2.05# ./imsimta version
    Sun Java(tm) System Messaging Server 6.2 (built Dec 2 2004) libimta.so 6.2 (built 00:34:23, Dec 2 2004) SunOS projes 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Blade-1500
    I didn�t know what is wrong and why I can not start the administration interface. Can someone help me?
    Thanks in advance.

    What "symantec is supported" means, is that we've tested our product with the scan engine, and it is known to work. It does not mean we have a clue how to support the product itself, only the integration with our product.
    The problem you describe appears to be within the Symantec product itself, not the integration with our product. It's just the integration we would know how to support.
    Also, please do understand:
    1. This forum is not an official Support offering. It's a public forum.
    2. Any answers given here are given by folk that donate their time, with no compensation.
    If you want "technical support", it's something you would have to open a support case for. In this case, what is likely to happen is what happened above. "it's a problem in your Symantec product. Please call them".
    I'm not trying to blow you off, it's just that your Symantec Scan Engine is a "black box" to us. We learned enough about it to integrate it into Messaging Server, but not enough to "support" it as a product, nor should we.

  • CRIO 9068 + Scan Engine Support Error - Even though it is installed on cRIO, after deploying error says its missing

    All,
    I have a cRIO-9068 that I am trying to use the scan mode for. I have intalled all the latest drivers and software as explained. However, when I set my chassis to scan mode and then select deploy all, I recieve this error on my chassis and all of my modules:
    "The current module settigns require NI Scan Engine support on the controller. You can use Measurement & Automation Explorer (MAX) to install a recomended software set of NI-RIO with NI Scan Engine support on the controller. If LabVIEW FPGA is installed, you can use this module with LabVIEW FPGA by adding an FPGA Target Item under the chassis, and drag and drop the module onto the FPGA Target Item."
    Has anyone experienced this or know why labVIEW won't recognize that the software is installed on my cRIO or is it not being installed correctly?
    Solved!
    Go to Solution.

    So I found that the target's Scan Engine was in Configuration mode.  After placing it in Active, I was able to deploy all of the modules on the cRIO target.  However, now I cannot deploy any of my modules on my EtherCAT NI 9144 racks regardless of which scan mode I place the Scan Engine.  I verified that I have all software on the cRIO target I need.  I was also able to find the EtherCAT slaves and their modules on MAX and I was able to add them to the project.  The problem I am having is being able to deploy them.  I have gone through the procedure outlined in the manual provided with the EtherCAT racks and the following link with no issues:  http://www.ni.com/white-paper/10555/en/
    The top LEDs on the EtherCAT racks are solid yellow and the bottom are solid green.  Does anyone know why I may be having this problem?

  • Shared Variables, Scan Engine & Multiple Targets

    I am seeking some general advice about the structure of my LabVIEW project.
    The project consists of a laptop with LabVIEW, and a joystick connected, and a CompactRIO connected via ethernet. I had been running the cRIO in FPGA Interface mode, however a change in some things caused the project to have to be shifted to scan mode.
    As of now, the code on the laptop updates shared variables on the cRIO, and reads from shared variables on the cRIO for monitoring. I want the shared variables hosted on the cRIO because it will also need to operate without the laptop connected. Before switching the cRIO to scan mode, I found that I had to first run the laptop code, and then run the cRIO code, or the shared variables would not communicate properly. Now that I have switched to scan mode, I have to run the cRIO code first, and even then the shared vars do not communicate properly for more than a few seconds, and are much laggier.
    My ideal project solution is a system that can run with or
    without the laptop connected, and obviously not having all these shared
    variable issues. I would like to autostart the code on the cRIO, and
    have the user run the laptop code if necessary, but in the past this did
    not seem to work with the shared variables.
    I am really confused about why this is happening. Hopefully I have explained my problem well enough. I don't really want to post the entire project on here, but I can email it to people if they are willing to take a look at it. Thank you for taking the time to read this.
    I am running LabVIEW 2010 SP1 with the Real-time, FPGA, DSC, and Robotics modules. I have the Feb '11 driver set and NI-RIO 3.6.0 installed and all completed updated on my RT cRIO.
    Solved!
    Go to Solution.

    I do this type of stuff all the time...
    Move all your NSV libraries to the cRIO.  From the project you must deploy to the cRIO and from then on they are persistant until you reformat.
    From your windows HMI app, you can place static NSV tags on the block diagram or use the dynamic SV API to R/W.  Also you can bind HMI controls and
    indicators directly to cRIO NSV's (This is what I do)  Also I create a 'mirror' library in the PC HMI that is bound to the cRIO library.  This library has DSC Citadel
    data logging enable and will automatically save historical traces of all my important data - very nice.  PC hosted libraries can be set to autodeploy in the app build. 
    also the project has a autodeploy option for the Development Environment which I normally turn off.  If you have PC to cRIO binding setup then you need to be cautious
    about any sort of autodeployment since it will potentially force the cRIO app to stop when you deploy.  To get around this, you can use PSP binding (IP address rather than project
    process name) and use the DSC deploy library vi's in your HMI app.  Once you are using the scan engine you can use the DSM (Distributed System Manager) app to view, proble and
    chart all of you IOV and NSV's on your network.

  • Can you still use soft motion without the scan engine on crio?

    Where are the trajectory generator property and invoke nodes in softmotion for LV 2011? 
    These functions are not longer found in the pallet?  Are they no longer supported? 
    All the new soft motion examples are using the scan engine.   Can I use soft motion without the scan engine????
    Steve
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC

    Hi Ian,
    I apologize that this wasn't stated in the release notes. While your code should have upgraded without breaking, the release documentation should have mentioned that the advanced trajectory genertor functionality is no longer supported. If you still want to use the trajectory generator functions, they are still shipped with SoftMotion, they are just not on the palette. I have attached a zip file that has 4 .mnu files that will get them on the palette. To install these, do the following:
    Close LabVIEW
    Make a copy of the following directory: C:\Program Files (x86)\National Instruments\LabVIEW 2011\menus\Categories\VisionMotion\_nism. In case something goes wrong, we will want to have a copy of this directory so that we can replace it.
    Copy the 4 .mnu files from the attachement into the above _nism directory (the original, not the copy). If it asks you to replace any of the exisiting files, please do. You don't have to copy the readonly.txt file.
    Start LabVIEW. You should know have the trajectory generator functions in your SoftMotion Advanced palette.
    Keep in mind that we no longer support these functions. This means that they are not tested in new releases and any bugs will likely not get fixed.
    I would recommend that you use the new API for any new designs. You can still get most of the functionality of the old API but without the complexity. If you want to generate setpoints at 5ms then you will run the scan engine at 5ms. This is certainly easier than having to do the timing yourself, but it does take away some control from the user. If you give me a brief overview of what you mean by synchronization, I will let you know the best way to do it with the new API.
    Thanks, 
    Paul B.
    Motion Control R&D
    Attachments:
    _nism.zip ‏4 KB

  • Programmatically remove ethercat slaves from scan engine

    I am using an RT Target as the master of EtherCAT chain.  It has several different sorts of third party slaves in the chain.  All are correctly detected.  However some are buggy (they're in development) and prevent the Scan Engine from switching to Active mode.  If I remove the buggy slaves from under EtherCAT Master (but leave them plugged into the chain) in the project then the Scan Engine will switch to Active and the remaining targets are interogated correctly.
    However I want my RT app to be stand alone and adapt to different chains of slaves. I invoke the Refresh Modules method to find all the available slaves then it finds the buggy ones.  These then prevent the Scan Engine from switching to Active mode.  I have not been able to find a way to programmatically remove these buggy slaves as I can from the project - does it exist???
    Many thanks!

    I am not sure if you will be able to do this but I would suggest posting this question to the Industrial Communications board.
    http://forums.ni.com/t5/Industrial-Communications/bd-p/260
    If this is something that you are able to do, the people that frequent that board are much more likely to know about it.
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • Scan engine vs. module

    I recently received a 9023 RT controller and 9114 chassis.  I have 7 modules installed, 9205, 9265, 9425, 9477, 9481, 9485, and 9264.  How do the installed modules affect CPU usage in scan mode.  Is a module scanned by virtue of being installed or do you need to access some I/O on a given module before it is added to the scan.  Does it take as long to scan every channel on a module as to scan one?   In my short experiments I have all seven modules in scan mode.  When I had DI0 and DI1 from the 9425 monitored using I/O Alias the scan engine used about 20% of the CPU.  When I added AI0 to the monitoring the scan usage went up to 50%.  When I added AI1 the scan usage didn't seem to change.

    I played with this a little more.  I am monitoring the IO Alias using a desktop PC.  The amount of CPU usage on the cRIO varies with the loop rate of the monitoring VI on the PC.  So perhaps some of the problem is the network load on the cRIO as it is the server in this case.

  • How to prevent cRIO Scan Engine Warning 66030

    I find that when my cRIO cpu spikes briefly I can trigger something bad in the scan engine and it will start spewing 66030 warnings and go into a Fault state. 
    The only recourse at that point is to reset the cRIO even though the cpu usage has returned to normal.  I would like to know if there is anyway to make the scan engine
    a little bit more forgiving of cpu spikes?

    sachsm:
    Is that 66030 or -66030?
    66030: This I/O variable is referencing an I/O device or channel that is not active in the current I/O mode.  Data read may be stale or invalid and data written may not be sent to the output.
    -66030: The operation cannot be completed because one of the scanned I/O buses is not in the required I/O mode.
    I'm assuming it's the non-negative one, but I just want to be sure.
    If so, I think your best bet is to clear that specific warning code and/or use the programmatic Scan Engine configuration and fault handling VIs to correct the Scan Engine.
    (The VIs are located in "Measurement I/O --> NI Scan Engine").
    Hope that helps!
    Caleb Harris
    National Instruments | Mechanical Engineer | http://www.ni.com/support

  • Generate a new SAP mode maximized and active working with Excel or Word

    Hello!
    We have an event that it generates a new SAP mode in the desktop. This mode is generated ok (maximized and active) if the user is working in other SAP mode in this moment.
    But this mode is generated minimized if the user is working with a Word or Excel Microsoft document in this moment.
    We need to generate this new mode: ACTIVE and MAXIMIZED when the user is working wiht any non SAP tool in that moment. Is this possible??
    We have checked the following functions module with  failed results:
    NAVIGATION_EXECUTE_OBJECT
    ECATT_START_GUI_REMOTE
    TH_CREATE_MODE
    Thanks in advance!!
    Regards,
    Message was edited by:
            Elisa Villellas

    Could you try disabling graphics hardware acceleration? (I'm having trouble determining from your "More system information" whether it's enabled or disabled.) Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You usually need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    orange Firefox button ''or'' classic Tools menu > Options > Advanced
    On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
    If you restart Firefox, is the issue resolved?

  • 9236 enable shunt cal property crashes crio OS with scan engine

    I would like to inform users of the 9236 Quarter Bridge Strain Gauge Module of a bug. The Real-Time team is aware of this issue and I have been working with an app engineer on it for about a week and he has confirmed my findings. He says the problem is most likely a driver issue or scan engine issue and they are investigating it.
    There is a bug that completely crashes the cRIO operating system with the 9236 module. Currently when a cRIO device is loaded with LV2009 SP1 or LV2010 and using scan engine interface, attempting to write the "shunt cal enable" property of a 9236 module completely crashes the VxWorks OS. If you try to access the property again, the crio crashes and enters an error state where the crio has rebooted twice without being told to. The LED indicator blinks four times to indicate this.
    I have tested this with a few different hardware combinations with both the crio-9014 and crio-9012 controllers, combined with either the 8-channel 9104 back plane or the 4-channel 9102 back plane with the same results. The app engineer was able to duplicate this issue as well.
    To duplicate the bug:
    Load a crio device with 2009 SP1 or LV2010 and configure the device for scan engine. Locate the 9236 module in the project explorer and drag and drop it into a VI to create the IO variable. Right click the output terminal of the IO Variable and go to create > property > enable shunt calibration  on a channel. Once the property is dropped, right click on it and do change to write so that you can write a boolean to the variable. It doesn't matter if you write a true or false to the property, the results are the same. Hit run, watch it crash. When it reboots, hit run again. The crio is now in a state that can only be recovered by physically resetting the device.
    I love the crio stuff and I use it every day because it is very reliable and robust. This kind of thing is rare, which is why I am reporting it to the community as well as NI as it is a pretty big bug that took me a while to narrow down.
    [will work for kudos]

    rex1030,
    Shunt calibration can be accessed using a property node.  The operation will be the same, you still need to acquire two sets of data and compute the scalar.
    You can obtain the necessary reference by dragging the module to the block diagram from the project.  Please see http://zone.ni.com/devzone/cda/tut/p/id/9351 for more information on programmatic configuration.
    Let me know if you have any other questions.
    Sebastian

Maybe you are looking for

  • MacBook Pro won't work

    My MacBook Pro when turned on a green/black screen appears then the normal apple screen loads. Then another pixelated screen loads and a shutdown icon appears. What's happened?

  • How to sync my iphone?

    I am trying to sync my songs from my computer to my iphone.  But everytime I plug my phone into my computer it says I can't because my phone needs itunes 11.1 which I thought it has because I have upgrade it to the newest software.

  • IPhone 4 restoring issue that is boggling my mind

    I recently tried to restore my iphone 4 and update it, but in the middle of the restoring process, iTunes comes up with an error message with a different error number almost everytime. It is now stuck in recovery mode and I cant seem to get it out of

  • Hyperlinks are dropping off

    I produce a 70-80 page on-line pdf magazine with over 100 hyperlinks on various pages that seem to drop off when i move the item to a different page or when I clear the file for a new week and same under a different name. These are .jpg posters that

  • SetToolTipText in a JComboBox

    ex: JComboBox Scombo31 = new JComboBox(); Scombo31.addItem("S"); Scombo31.addItem("P"); Scombo31.setToolTipText("S=steel P=paper"); the addItem is OK but the ToolTipText don't appear.