NEITHER Veristand DLL models simultaneous execution

Hi all,

I have to solve that problem is with my VeriStand workspace:

I have a project NIVS with two models of dll (Run/Stop/Pause) execution is monitored in the Versistand workspace by two interface objects user 'Model Control'.

I wonder if it is possible to manage the executions without a click twice, i.e. together with a click of mouse control.

I tried to create a custom user interface object whose controls could / should manage all other objects dll controls in the workspace user interface. then I modified 'Model - model Control.vi' with the addition of a "Call by reference" block to call my user object interface custom controls; but an error occurs when trying to load the object in the workspace. The same problem using a Subvi rather than a reference call.

I hope to be clear.

You have a solution to this problem?

Thank you

Giulio

Hi, Giulio.

the fastest way to set values of multiple channels (aka "destinations") with a single source channel is the way user combination and maps. It is:

(-) In the system Explorer, create a user called channel model batch start.

(-) Press the button mappings on top and connect the channel the user to both channels of the execution of model, one for each model.

Bind a control of the workspace to the user of the chain)

In this way, you can change the execution mode of several models with a single channel model (and thus a mouse click). You can use a Boolean control if you just want to start/stop the model or an entire control if you want better control each State of execution, which are:

0: start
1: break
2: reset
3: save
4: restore

An interface object using custom user is honestly an overdose if you just have to set several values at once.

Hope this helps

Concerning

Fabio

Tags: NI Products

Similar Questions

  • Model VeriStand compilation error: NEITHER VeriStand 2010 cannot find the struct parameter in CGTypes

    Hello

    I get this sequence of messages when I try to compile a model.

    ...

    # Generating API interface TLC.
    ...........................................................
    # NEITHER VeriStand 2010 modifying Pack_L500_IB_plant_fstep_io.c file
    ...................................
     
    # NEITHER VeriStand 2010 modifying Pack_L500_IB_plant_fstep_io_data.c file
    Error: # NOR VeriStand 2010 cannot find the struct parameter in CGTypes
     
     
    # NEITHER VeriStand 2010 modifying Pack_L500_IB_plant_fstep_io.h file

    # File Readme of Ports generating NI VeriStand 2010
    Could not find c:\WorkDir\Models\Pack\pack_l500_ib_plant_fstep_io_niVeriStand_rtw\*.obj
    # Time real workshop build procedure for model: 'Pack_L500_IB_plant_fstep_io' aborted due to an error.

    I tried to repair my VeriStand 2010 installation and always errors.

    I created a VM, installed Simulink and Veristand and tried to recompile the template. Error appers again.

    I changed the "target system" (tlc file) in general relativity, and the model has been compiled without errors. Same VxWorks Veristand target fails.

    If I copy the other target to target VS the second error le.obj goes but I always "error: # NI VeriStand 2010 unable to find parameter struct in CGTypes.

    How can I solve this problem?

    See you soon,.

    Claudio H.

    Hello

    I found the problem but not the reason.

    If I change the Settings of Configuration > Optimization > Parameters Inline unchecked = the template compiles without problems.

    See you soon,.

    Claudio H.

  • NEITHER Veristand 2014 does not appear in the generation of Code from MATLAB R2014a

    Hello

    I installed NI Veristand 2014 after installation of MATLAB R2014a. I restarted my PC and tried to apply the example sinewave. I looked at the code generation in model configuration settings Simulink, but could not find the NIVeristand option as shown in the video. Here is a screenshot of the target file system:

    I missed to install something? It was my installation (since I need Veristand to compile MATLAB model):

    Thank you for your help in advance

    Hi Wade,.

    Unfortunately the behavior you are touched by is a flaw in our automatic installer of the MATLAB R2014a detection. The NI VeriStand 2014 node that you see in the window of parameters of the installation program hides in fact several other unique options. The default selections expected automatic selection supported MATLAB if MATLAB was detected successfully by our Installer, unfortunately, this procedure has failed.

    To work around this:

    1 restart the Installer settings window
    2. in the characteristic parameters (your second picture) window, left-click on the image next to the label of NI VeriStand 2014
    3. you should now be presented with the option, with customization - choose this option.
    4 4 proceder proceed to installation, thereafter you presented with custom product options VeriStand.
    5. in the list of features VeriStand, select NI VeriStand 2014 model framework
    6. proceed with the installation.

    After that, restart MATLAB and then again. If the installation was successful, on the revival of the command window MATLAB will display the initialization string NI VeriStnad 2014. Please note that we have documented this problem and make an effort to remedy.

  • NEITHER Veristand in Windows Server

    Has anyone tried having multiple developers to share a NI Veristand installation on a Windows Server machine? Developers would use the remote desktop for the initial development, and all work together to test and debug console.

    I believe that the license computerized described here: http://www.ni.com/license/licensing_options.htm this would help, but I don't know if there is a problem to have multiple instances running at the same time.

    Did anyone tried something like? How at - it go?

    Hi Clendon,

    The license agreement states that the software can be used by a single person on several machines (with only on running instance) or by multiple users on a single machine (which would only allow a single instance of execution). I think that what you are proposing (several people using it at the same time) would violate the license agreement: http://www.ni.com/legal/license/

    If you have any other questions about how many licenses you would need to buy, I would recommend he discuss with a member of our sales team. They'll be able to talk about what you need for your particular situation.

    I think you would at least be able to get away with only 2 for three people, as the development of models and development of drivers will not access VeriStand. You really need only for testing.

  • Veristand Simulink model initialization

    VeriStand 2013 has now the ability to initialize the settings of the Simulink model (reference: signals and initial Conditions in a Simulink model mapping).

    The question is: is it possible via API in LabVIEW calls?  I would like the user to be able to select the name of the initialization file in my host code.

    I have a temporary workaround to have the file name selected by the user copied to a temporary location / name defined in VeriStand System Explorer, but it is certainly not an elegant solution.

    Currently, the only way to change the parameter values by default for a system definition is:

    1. update the system definition to point to a different file.

    2. switch to update the contents of the file that is already stated in the system definition.

    #2 looks like the simpler approach recommended for your use case.

    One thing that might make your solution a little easier would be to use the index function in the template parameter initialization file. What you can do is the following:

    1. (optional) create. that various pattern files of calibration in advance you want to test. Name them sub1.txt, sub2.txt, etc. (or name them as you wish).

    2 configure your system definition to point to a calibration of empty template file named Main.txt.

    3. prior to deploying your system definition, change the main.txt file to add the following line (assuming that commas here because it's hard to type tabs in a web browser):

    Subscript,c:\whatever\sub1.txt

    You can also have multiple index files if you want to mix and match. Simply add extra lines.

    The advantages of this approach are:

    (a) you can easily use the pre-established model calibration files.

    (b) you don't have to copy the files autour

    (c) the write file you need to do before you deploy is very very simple.

  • Tables with LV in Veristand 2011 models

    In my file system definition, I have several models. All models are coded in LabVIEW, they are pretty simple at the algorithm level. Some of the outputs of the model are used by the next model etc...

    Each model has a few entries (defined as required in the connection pane) and parameters (defined as recommended in the pane). I'm running out of space of real connection, because some models will have a many inputs/parameters. I wonder what is the best way to get around this?  I am currently group entries in the tables (see attachment file), but the compilation fails with the following message:

    ------------------------------------

    VI D:\BSI\Project - Active\5030 - 02 DeltaQ - HIL\Software\Models\ArrayModel_Test.vi treatment

    Get information from subsystem... done.
    Copy model project... done.
    Definition of project of model properties... done.
    Script model_info.vi... done.
    Script model_core.vi... done.
    Construction of the model DLL's.
    Copy of model... ERROR:
    Code: 8
    Source: Copy of copy LVSV DLL.vi-> LVSV create subsystem.vi-> LVSV Dialog.vi DLLS
    D:\BSI\Project - Active\5030-02 DeltaQ - HIL\Software\Models\ArrayModel_Test.lvmodel

    Error has occurred. No DLL not produced.

    -------------------------

    Can what type of command I use in a model of LV next digital and Boolean?

    THX.

    L.

    Supported data types are listed in the present document.  It will be important to a cluster that is supported as a virtual folder.  Clusters can be nested to provide an additional organization within the system definition.

    -Steve K

  • NEITHER Instrument Simulator model No.: 183913C-01

    Hello, I just finished the LabVIEW Core1 online training, that came with the purchase of LabVIEW 2014. I am VERY new in the world of NEITHER. I bought a Simulator Instrument OR model No. 183913C-01 Rev: 1. I am trying to establish communication with this Simulator and not having much luck. I connect the Simulator to my laptop via RS232 to USB Keyspan peripheral, because my laptop is not a serial connection port. It shows to be on Com4. I think I put the dip-switches correctly. I switch 8 G Mode value and GPIB address the value 2 (switch 2 is activated, all the others are off). I searched online for a demonstration, but nothing have mounted. I found a few messages Simulator here but they were not the model I have. I don't know if I should use GPIB or serial connection for this thing. Any help would be greatly appreciated.


  • Problem with the task of control of model code - execution instance remains open

    Hi Experts

    We have some model mappings, for which we use some similar code with the model code BUILT_IN_CT model. Mappings to run successfully, but the task of control of model code seems to remain open. It's the same thing, even if I use the code model of control by default BUILT_IN_CT/CCT_ORACLE.

    To see if the control task remains open, I run the script...\dbhome\owb\rtp\sql\list_requests.sql, and I get the following output:

    ====================
    EXECUTIONS
    ====================
    ID of the audit. State of... Name... Date of... Owner...
    16_FLOW_CONTROL LOAN 260573 19 APRIL 11 10:15:16 OWBSYS

    As a solution to the problem, we managed to implement a custom task jdbc, in which we are to pick up instances of this task and then close them using the owbsys.wb_rt_script_util.deactivate_execution procedure.

    Anyone know the reason for this problem and if there is a solution for it, other then to implement a custom task to close the open instances?

    We use OWB 11 GR 2 on Windows.

    THX
    Your help will be much appreciated

    Yes, I see now the verification element hanging out in OWB, this looks like a bug in the OWB audit management, it should not be suspended. I don't think impact on behavior, he is a piece of dangling audit data that should not exist. You can raise a bug/SR?

    See you soon
    David

  • logic of backend on simultaneous execution of sql

    Hi experts,

    I need to test the performance on db for simultaneous report requests

    the database is oracle 10g Enterprise

    I have disabled caching on the bi server.

    before each test, clear all sessions on the Sessions 'manage '.

    I opened three internet Explorers (on 3 Remote Desktop).

    then I run the same report on the desktop remotely 3. (I click GO on the box in 3 internet explorers as soon as possible)

    the test report only runs a sql to get data.

    I followed the performance on the business of oracle database manager,

    but, I found that there are only 2 performances (on the same sql language).

    I would like to know if it makes sense on the bi server to manage when there are inquiries (with sql even) and it can minimize the sql executions.

    OR logic is the database to minimize the sql executions?

    Thank you very much!!!

    Hello
    One likely reason is the grouping in obiee.if that some connection is released by a connection request then obiee will use the same session for other queries.

    Thank you
    Sandeep

  • Response time of Structure event & simultaneous execution of events

    Hello. I built a VI using the structure of the event. Whenever I press a button to start the program (for example, I press "w" to the throttle), the indicator does not respond immediately. Is it normal for the structures of the event or can I do? Another problem I have is when I am pressing on a button, I can not press other buttons to work simultaneously (for example, I press "w" to the throttle and yaw "d"). Is there a way I can change this? Please advice.

    Thank you

    Hello

    Watch what you do with these business structures.

    Better, you can use in the range and force.

    Already done this for you well, there's also a better way to come of age this another case structure on the right.

    You had no timeout in the structure of the event, so he'd be stuck in this case.

    As its name suggests doesn't work if the key is down for a little while has added another key case down, repeat.

    I found something strange to the w, a, s, d keys allow you to the stored value but with to the up, down, left, right you set back to 0 after releasing.

    Koen

  • Dll in actionscript execution

    Does support actionscript code using the dll written in c#?

    I would like to answer your question, but I need you to answer a few questions about what you are trying to do. More precisely these questions

    1. don't want to call a method to retrieve data from a dll?
    2. If therefore the .net Assembly (dll) hosted on a Web server?
    2 is the SWF that is hosted in a web browser or is it a desktop application?
    3. do you expect direct synchronous communication between ActionScript and c#?
    4. that the Assembly made (dll). ASP.NET, WinForms data access?
    5. do all to arrive at the Office?

    If you hope to write code in c# and load and run directly in the context of your application, then no, there is no method integrated to do.

  • NEITHER VeriStand custom_workspace_project.zip

    Hello

    Can anyone help me find where can I get custom_workspace_project.zip I have to use for creating a Workspace personalized control, according to the tutorial provided by OR in this link: http://www.ni.com/tutorial/9989/en/ 

    Thanks in advance

    Kind regards.

    On the top right on the page that you have connected, you can find the attached files of the tutorial, among the custom_workspace_project.zip...

    Kind regards

  • Implementation of a simultaneous execution of the same activity instances

    We need run instances of a process activity/child in particular, in parallel. The number of cases has to be dynamic (based on a database query or other)

    Make sure that you configure the child (the one you want to a lot of run in parallel) of the parent (where is the foreach loop) to run asynchronously.  See the attached example.

  • simultaneous execution of the procedures

    I have a requrement in which I want to call different instances of a procedure of passing different parameter values at the same time. I am currently selecting data in a slider and make the entire process one by one. But this approach is time consuming. The only other way I know to fix the problem is to store the cursor data into a java array and then call the procedure for each value of the slider by Threading.

    The scenario is something like this:

    Create procedure prc_process
    is
    Start
    I'm in (departmentid selection of departments)
    loop
    ...
    some complexes of treatment which includes DML operations in the employee table, based on the departmentid
    ...
    end loop;
    end;

    Now, the employees table contains something around 20 million data.

    I want to have a such scenario for all departments in the departments table, I can call the procedure in this way:

    Create procedure prc_process (deptid number)
    is
    Start
    ...
    some complexes of treatment which includes DML operations in the employee table, based on the departmentid entry
    ...
    end;

    Personally, I'm not going to do such thing. I'd like to try to bring the list of departments in the basic procedure and try to do it in one fell swoop. Don't not passing one by one.

    But if this is not feasible and that you want to run the procedure for each service separately then Yes, submitting to a job is a way to allow a run in parallel.

  • VeriStand 2015 will not deploy with Labview created model: error-307703

    I try to use a model of labview to resume a few calculated channels that are currently in one of my projects veristand. Without the LV model, it works fine. But after you import the model and connection of all inputs and outputs, he used to "deploy. Gives the error-307703 during the deployment. More information in the log below.

    I use Veristand 2015 and LabView 2015 also. I put the inputs and outputs correctly in the connector pane, and when you import the model into Veristand, the inputs and outputs appear correctly. "" When I use the "Tools" NI VeriStand "generate NI VeriStand model of VI ' there is no errors and it creates a LVmodel that I can import into veristand.

    Are there steps that I missed? Or troubleshooting tips for tweaking my design to accept a LVmodel?

    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    VeriStand gateway has encountered an error while deploying the system definition file.

    Details:
    307703 error occurred at Window.lvlib projectWindow.vi project > Project Window.lvlib:Command Loop.vi > NI_VS Workspace ExecutionAPI.lvlib: NI VeriStand - connect to System.vi

    Possible reasons:

    NEITHER VeriStand: The specified model is not compatible with NI VeriStand. If you try to deploy the model to an RT target, launch the Console Viewer tool to view the output of the console of the target, which includes information about the source of the error.
    =========================
    NEITHER VeriStand: .vi Wrapper (RT) of the NI VeriStand Engine.lvlib:VeriStand engine > Engine.vi Engine.lvlib:VeriStand NI VeriStand > NI VeriStand Engine.lvlib:VeriStand state motor Machine.vi > model model Execution.lvlib:Initialize loop Data.vi > SIT model API.lvlib:Initialize Model.vi
    =========================
    NEITHER VeriStand: Initialization error Code 1


Maybe you are looking for