Question of generation of scripts or VI

Hi Experts,

I have question about scripts... or maybe that is not .

In VBAI there is a feature: Labview code generation. How this feature implemented without scripting? I have Labview 2009 SP1 and tried the generation of code VBAI VI. Is that what this feature of the VBAI available only to environment Labview Dev. is installed? I mean if I don't have Labview, this function will not work?

Thank you

Interesting links:

Community or LabVIEW API

Council of Scripting of LAVA

Indeed for node script it is usually mentioned in context-sensitive help if it will work in the TEN, and for much of it, it won't.

Now, I have not tried whether VBAI is only used script functions that are available in the TEN or so NOR the developers have a way to "allow their EXE to use scripts.

Tags: NI Software

Similar Questions

  • Can I post here questions (Acrobat Windows) Java Script here?

    Hello

    Can I post here questions (Acrobat Windows) Java Script here? Otherwise, RAS is the right forum?

    Thank you

    Back to the top and down to Acrobat Scripting. BOT Windows and MacIntosh Acrobat versions use the same JavaScript.

    If you use LIVECYCLE DESIGNER to use their forums. The JavaScript syntax and objects are different in LIVECYCLE DESIGNER!

  • Question mark in the Script

    Can someone explain the proper use of the trademark in question in JavaScript? That is, when you use etc etc. I saw him appear in scripts occasionally and has never figured out how to use it properly. Thank you.

    This is part of the conditional operator. For more information, see here:

    https://developer.Mozilla.org/en/JavaScript/reference/operators/Conditional_Operator

  • Newbie question: can a LabView script or exe run on a Web server and interact with PHP?

    Hi all

    I am a complete newbie. I had to have an existing LabView project and have been asking if it can work with a PHP Web site. I would like to be able to create a form (for entry) on a Web page, and then go this LabView project entry existing. The existing LabView project then treats the input and generates a text file that the user wants to download from the site.

    So my question is, is it possible? If so, how to configure it and what products/costs might be involved?

    Thanks in advance

    A

    Hi Andy -.

    There are a few limitations "Remote panels" who probably will not do what you are trying to do as possible.  First, the remote panels have only runs on a Server Web of LabVIEW, and this server does not support PHP.  Integrate a web site that uses a web server with more features of LabVIEW is to put the server on a different port and then use an iFrame or something to integrate LabVIEW remote panel page into your own web site.  Communication back will probably have to use another protocol tansportation or to read and write files that they read and write.

    I highly recommend that you look in another function to LabVIEW, called "Web Services".  These are quite a bit different approach of the remote control and are available only on version 8.6 and later (and probably only editions of developers).  Services Web of LabVIEW allows you to perform a LabVIEW program (or modify an existing one) to connect back using XML.  It is a common place to consume and send commands to a Web Service of LabVIEW by using something like PHP or Flash.  However, you are responsible to provide interfacing features in the language that you use that consume the Web Service of LabVIEW.  For example, instead of a graphic on the front, you would need graphical data output and a PHP program that can do something with it.

    Web Services are quite handy if you need a 'light' client, as well as material interaction features of LabVIEW.

  • Question about the ImportAction script

    Hello

    I use FDM ERPI to load data from BSE to Planning (11.1.2.1).

    I would like to use the script ImportAction in FDM only relevant data (delete accounts of class 1 to 5 for example).
    So I think that I have to delete the data duiring the event StartMapProcess, isn't?

    to join this event, I do the following test:
    If strEventName="StartMapProcess" Then
         
         'Show user a message
         RES.PlngActionType = 2
         RES.PstrActionValue = "Dans StartMapProcess " 
    
    Else
    
         'Show user a message
         RES.PlngActionType = 2
         RES.PstrActionValue = CStr(strEventName) 
         
    End If
    but nothing happens :-/

    could you please help me please?

    Thank you

    Fanny

    Because a series of events occurs during the import, the user messages will appear not unless you stop the import immediately after the message you want to display. You can test your code with writing a logfile instead.

  • Beginners question, how to use script?

    Hello

    IM on OSX, ID4, soon upgrade to ID5.5

    I searched for a way to automatically add metadata (author) in a document/PDF export.

    So I found this http://forums.Adobe.com/message/3443064 - looks like the answer I'm looking for, but how do I actually put this into use? Where/how do I add the script?

    Can it be run in opening/creating a new document, or export to PDF?

    I am an experienced user of indesign, and I did some VB, php before. But did not use scripting in InDesign.

    Any pointers in the right direction is greatly appreciated. Thank you.

    -Lasse Fernov

    Hello, ldflkbuc943894353221:

    script tomaxxi in the thread you cite isn't really a normal script. This is a script that installs an event handler which is triggered automatically every time that you create a new document in InDesign, suhc as with file > new.

    Would you save this file as, perhaps, tomaxxiAddXMP.jsx, and then you have a few choices. You can simply drop in the user Scripts folder, according to http://www.danrodney.com/scripts/directions-installingscripts.html. When you need to run it once per session (from the Scripts panel, after which point all subsequently created documents that would be happen.)

    Alternatively, you can use it as a startup script. It is an OK idea, except that it could violate your expectations and sometimes surprise you if you have forgotten about it. If you follow the directions above, instead of starting the installation in the directory "Scripts Panel", you would go higher ("Scripts") and create a directory named 'Startup Scripts' and place it there.

    Restart InDesign. Then always will run every time you start InDesign.

  • question about pl/sql script

    Hi all
    I need to manage other tables that will contain as follows:
    whenever the user query it will be an insert in this table called mng_rishui_session that contain
    track:
    NUM of user's session id,
    Date and time of execution of the request,
    type of query
    every 15 minutes, I need to delete the data of the user of some the various tables according to the type of the query.
    the tables that contain the data:
    mng_rishui_session / / DESC
    session_id_num NOT NULL VARCHAR2 (30)
    type_query not null number (2)
    date of time_query
    I want to write a pl/sql script like this:
     
    declare cursor c1 as 
    select session_id_num,type_query 
    from mng_rishui_session 
    where time_query (/*here i need to do the condition that 15 minutes has passed from the time query 
     i don't know how to do this */
    begin 
    for e in c1 loop 
    
    case e.type_query 
    when 1 
    delete query1_table where session_id_num :=e.session_id_num;
    when 3 
    delete query3_table where session_id_num :=e.session_id_num;
    end
    end loop;
    end;
    issues related to the:
    1. how to check if 15 minutes where the past
    2. it is good to do with loop for writing valid deletion in the loop
    or do I have to do it another way to write this.
    Thanks in advance
    Naama

    Hi, Naama,

    Naama wrote:
    ... now my script looks like this:
    mng_session. SQL

    
    declare cursor c1 as
    select session_id_num,type_query
    from mng_rishui_session
    where  (sysdate - t_query) * 24 * 60 >= 15;  
    
    begin
    for e in c1 loop
    case e.type_query
    when 1 then
    delete query1_table where session_id_num = e.session_id_num;
    when 3 then
    delete query3_table where session_id_num  =e.session_id_num;
    end case;
    end loop;
    end;
    

    first of all, I want to know where I'm going to do the validation, if I need to do.

    In the PL/SQL code (so we won't do it in case of error) but after the LOOP is finished.
    In other words, assuming you are using a LOOP. It will be much more effective if you just do a DELETE statement on each table. Think about it: If your mng_rishui_session has 1,000 rows where t_query (or time_query, if the column is always so called) is fortunate to have one of the type_queries you want at least 15 minutes, and 100 of these lines, then you must fetch the 1,000 rows (if not all of the table) , and separate 100 DELETE queries. It is more effective to extract 100 lines (assuming that there is an index composed of type_query and t_query) and to only 2 DELETE statements. See below.

    Second:
    I run this script through linux system, in order to head to sleep.
    My problem is that I am trying to append the output of script;
    but it won't let me

    People on this site will try to help you. Why not try to help them do it?
    Do not say "he won't let me": show all that you know the problem. What exactly have you tried? That's happened? If you got an error, display the full error message, including the line number. If you got the wrong results, describe what happened.

    My goal is:

    a script running the sql scripy called:
    CS-mng-session:

    #!bin/bash
    sqlplus user/passwd@dbname @mng_session /*mng_session is the script were i declare the cursor etc.*/
    in the command line i want to write :
    (sleep 600; sh cs-mng-session)& 
    

    the problem is that if I do not exit. He recorded in sql and the script does not return to the command line.
    How do I overcome this problem?

    Make an EXIT.

    Try something like this:

    DECLARE
         cutoff_date     DATE     := SYSDATE - (15 / (24 * 60));
    BEGIN
         DELETE     query1_table
         WHERE     session_id_num  IN (
                             SELECT  session_id_num
                             FROM     mng_rishui_session
                             WHERE     type_query     = 1
                             AND     t_query          <= cutoff_date
                           );
    
         DELETE     query3_table
         WHERE     session_id_num  IN (
                             SELECT  session_id_num
                             FROM     mng_rishui_session
                             WHERE     type_query     = 3
                             AND     t_query          <= cutoff_date
                           );
    
         COMMIT;          -- If desired
    END;
    /
    
    EXIT;
    

    Is there a reason why query1_table should be different from query3_table? Why can't you have just a query_table, with a column of type_query?

    What happens if there is an error? You won't want to know? You must add an EXCEPTION section to write the details about the error in a log table and someone send an email on this subject.

    Published by: Frank Kulash, August 31, 2010 09:07
    Added / issue;

  • Question of execution of script/Agent

    Hi Experts

    I use ODI 10.1.3.5

    I have 2 scenarios that are listed.

    Scenario1 runs several times a day.
    Scenario2 runs once per day.

    Now if I change the time of the scenario2 and do update planning in the topology, the execution of my Scenarion1 Manager stops for the rest of the day affecting my data.

    Y at - it a clue to get out of this problem.

    concerning
    Abdel Aziz

    Hello
    What time scenario 2 takes to run?
    Assume that Scenario2 takes 40 min, mean 14:30-15:10 (using the common agent of logic).
    the average while that scenario 1 will try to start at 15:00 with the same agent of logic which was occupied with Scenario2.
    This could be the problem.
    Try this using two different L.Agents.

    Published by: Maury May 19, 2011 12:34

    Published by: Maury May 19, 2011 12:36

  • Newbie question: how comment mxml scripts?

    The double slash that works in actionscript does not work with mxml. A quick method to comment my mxml forms?

    Thank you
    DreamasterFlex

    Use

  • Action script question on a loop to a part of the line of the time

    Hi all!

    You have another question about an action script editing in Adobe Flash. Earlier this year, I asked for help to set up a script of action where the video itself would start when the user hovers over the scene and loops from the beginning to the end.

    Now, I need to adapt it so that instead of a loop all the way back to the beginning, it goes rather to the points later in the animation (for example, say 10 seconds in) rather than backwards to the beginning.

    The Script that was created for me it was:

    FLV.source = "Flash.F4V";
    flv.autoPlay = false;

    flv.autoRewind = true;
    flv_btn.addEventListener (MouseEvent.ROLL_OVER, rolloverF);
    flv_btn.addEventListener (MouseEvent.ROLL_OUT, rolloutF);

    function rolloverF(e:Event):void {}
    FLV. Play();
    }
    function rolloutF(e:Event):void {}
    FLV. Stop();
    }

    flv.addEventListener (Event.COMPLETE, completeF);

    function completeF(e:Event):void {}
    FLV. Play();
    }

    Now, I think that what needs to be changed is the autoRewind = true section, but being a complete novice, I don't know where to start. I've seen articles online on a goto command, but my attempts to change the code did not work properly. Any ideas?

    use:

    FLV.source = "Flash.F4V";
    flv.autoPlay = false;

    flv_btn.addEventListener (MouseEvent.ROLL_OVER, rolloverF);
    flv_btn.addEventListener (MouseEvent.ROLL_OUT, rolloutF);

    function rolloverF(e:Event):void {}
    FLV. Play();
    }
    function rolloutF(e:Event):void {}
    FLV. Stop();
    }

    flv.addEventListener (Event.COMPLETE, completeF);

    function completeF(e:Event):void {}
    FLV. Seek (20);  use the right time

    FLV. Play();

    }

  • Questions MathScript Matlab function calls

    I have a question about the m-script function call (MATLAB) in Mathscript Labivew 2009. I have attached my buggy vi for an example:

    1. I called a function 'remodel (Sigma0, [O O Q M])"in Mathscript, it gave me a syntax error, but not in Matlab R2009b. I guess that it does not tolerate a great deal of input parameters. Any idea as how use the reshape feature in Mathscript?

    2. Another problem is that I've defined a function m-script with 2 parameters, in Matlab, I can call the function with a single parameter provided, however in Mathscript, system reports error if I only provided 1 parameter to a function of 2 parameters. Any idea as how to cope with this problem?

    Because I have a lot of code in the format m-script, I don't want to rewrite a lot of new code.

    Thanks for any help.

    Hi aggressor.

    Indeed there is a small difference in the matlab function and labview mathscript reshape function reshape. The difference is that Matlab is considered always any 2D array from the perspective of lines... where LabView considered from the perspective of columns... that is, if a table 2D likeX = [has and b, c and d] is here and the (x, 1, 4) reshape in labview will give out like a, c, b, d in an array, matlab, the output will be has b, c, d in a table.

    And in Labview syntax you gave will certainly give a syntax error. Please visit the labview syntax help.

    Thank you and best regards,

    srikrishnaNF

  • Exe version with database conn and report generation vi?

    I tried to build a .exe and learned the hard way that there are a lot of things had to be included to make this work.  As it is now my program does not work.

    I wanted to get a list of the steps needed to make a successful build.  Please correct me if I'm wrong or missing something:

    1. for report generation tool, I include some files support (_exclsub.llb and _wordsub.llb)

    2. for database connectivity: I had to follow the user's guide of OR by implementing the generation of script function to tools?  Is there an easier way?

    If there are no more simple ways to get this working please let me know.

    Machine of dev = LV2010 office 2007 vista

    Target machine = XP office 2007

    Thanks for the reply,

    Yes, I have the runtime installed.  I had also the program works correctly by following these steps:

    --> LV 8.6 and higher

    1 added two files to the project in the Project Explorer menu.

    a. file utilities

    b. record of LVClass

    2. during the build of .exe I had to:

    a. Add a folder of LVClass to always include in the source file settings

    b. navigate to the Utilities folder NIReportLLB folder and add that always include as indicated more high (Note: If you add all the utilities folder you will get an error vi broke during construction, even if set you the vi it does still not work for me so I just included the file I need to word/excel)

    has took about a day to troubleshoot and fix, but the program works as expected.  Hope this helps someone else in the future.

    Bernie

  • Create a script to list all the .bat and .cmd files with the dir command &

    Hello

    Im trying to create a script that will list all the .bat and .cmd files in a specific folder and add the data to a new file (file.txt) - example below:

    dir c:\>desktop\file.txt/OD
    dir d:\>>desktop\file.txt
    dir f:\jobs\*.bat>>desktop\file.txt/OD

    IM able to search the F drive and the list of all the .bat files using a generic parameter, but ideally id like to search for .bat and .cmd files, but whenever I have it try does not work. Any ideas?

    I tried the following:

    dir c:\>desktop\file.txt/OD
    dir d:\>>desktop\file.txt
    dir f:\jobs\*.bat,*.cmd>>desktop\file.txt/OD

    Any help is appreciated, the reason for which I need to check all the .bat and .cmd files is to ensure that the scripts on a cluster are all data, so need them all listed in a doc if possible

    Thank you

    Hello

    Thank you for visiting the Microsoft answers community site. Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for guys official script Forum. Please ask your question in the official Scripting Guys Forum.

    http://social.technet.Microsoft.com/forums/en-us/iTCG/threads

  • Limitation of the App Scripts? By volume by number of invocations or calls...

    I have a situation where I'm going to an auto attendant script with several menus and according to the chosen option, it will redirect you to the appropriate Department Routepoint. Also, the caller can call the local/long distance number that is mapped to the RPs to the Department or the Routepoint itself (for most of the internal people).

    Each RP has a queue associated with. The flow of calls for all RPS is exactly the same. The only variation in the script is voicemail ext, name of the queue of the Department, guests etc. I can create a script, set all variables and when downloading in CRS Admin, can assign values to the parameters.

    My question is, does the script no limitation in terms of number of calls they can handle? Which means, if I have a script to assign different parameters and if several callers call different departments, the same will triggered with different values of parameters of script, but it will crash after "x" number of calls or 'x' number of invocations?

    Any ideas would be useful. Otherwise, I can copy the same script, rename and associate with his RP of the Department but if I make a change in one place, I have to change in other locations. My goal is to reuse code, to reduce to a minimum the number of scripts and create a single sophisticated script.

    Thanks in advance for your comments.

    Sunil

    Sunil,

    This should not be a problem. The only issue you might encounter would be with regard to the preparation of reports. You want to make sure that you are defining your types of appeal, after defining the routing logic you so that you can report on calls to every other Department.

  • Parameters of OEM for pre/Post Installation (deployment/patch) Scripts

    If all goes well, a simple question.

    Install scripts OEM 12 c Supports pre/post in the form of shell scripts that can be run before and after a deployment or patching operation (for example when you deploy the Client OEM to a system, you can run a script before installation or after installation).

    These scripts can take a parameter?  Specifically, can the machine which is deployed to be transmitted to these scripts shell as a parameter (for example /opt/my_shell_script.sh HOST % where % HOST would be replaced by the host name being patched or transferred to for example).

    To be clear, I don't mean to have a script running ON the area being installed to... I want to use the box being installed in as a parameter of a script running on the Server OEM.

    Cannot find any documentation on what or if the parameters are supported in these pre/post installation scripts.

    Any information would be appreciated.

    Hello

    One of the ways to circumvent the requirement of SUDO is to use the silent method of agent

    REF

    Installation of the Oracle in silent Mode Management Agent

    http://docs.Oracle.com/CD/E24628_01/install.121/e24089/install_agent_usng_rsp.htm#CEGGACJE

    Also check

    EM 12: what Sudo permissions are required to install Agent using the method of deployment with the user account locked (Doc ID 1489270.1)

    Kind regards

    Rahul

Maybe you are looking for