How to pass references to XYGraphs to report Subvi w/o showing Subvi?

I work at a request of customers, and he had the XYgraphics on the frront Panel. I'm working to modularize the program some to manage better code space. I'm currently passing the XYGraphs (2) of the Subvi to add graphical display to my reports. I must of course set the Subvi to show during the execution, so that temp bmp which is used for the handle graphics figure is created and passed to the excel or any other reporting tool. So my question, is there a way to transmit XYGraph references I can use directly to the report (e.g. XYGraph temp bmp main application file, instead of the copy in the Subvi? This removes this window of the screen for the generation of reports. Ideas appreciated?

I finally found the Subvi feature to make the transparent Subvi, so I could show to get the file bmp temp chart for the report, but the user does not see it.

Tags: NI Software

Similar Questions

  • How to pass the session IMAQ to the Subvi

    Hello

    My experience with LabView is neither very good nor extended. I am a scientist and I'm with IMAQ data acquisition. My current problem is that the people who wrote the script is modular, versatile, or clear initially structured. So I try to reduce the ridiculous number of tests in a simple flowchart to a level that people can actually understand it... and to make the more versatile script for future experiments.

    I'm introducing quite a few subVIs to be executed repeatedly. However, I can't know how to pass the IMAQ session on the Subvi. I constantly get the error messages. In this case, I want to acquire images with OIDE_CollectFrame.vi controlled by OIDE_TrialPhaseCollect.vi. I couldn't understand how to assign the refnum IMAQ session class, either.

    It is probably a newbie question, but usually I program with LabView.

    Dennis


  • C# teststep: how to pass the correct Visa instrument reference?

    Hello

    in c#, I have created a DLL for an instrument with functions as initialize, SetVoltage, close.

    In the Initialize function, I create the object of this session with:

    RM = new ResourceManager();
    Instrument = new FormattedIO488();

    Now, I put the Initialize function in TestStand as a 2014SP1. NET-Module-NumericLimitTest.

    When you open the properties of my new step in the Type Editor there is a button "default Module" where I can choose the function of c#-DLL.

    "All parameters are displayed (such as VISA / addresses) and also an additional parameter 'Return value' reference object ' OUT that was added by TestStand.

    -> I store this value in a StationGlobal.

    The question now is:

    If I have more than one device of the same type (means two or more calls Initialize) how can I pass references saved to the next function (SetVoltage) that is performed on the correct instrument?

    Thanks for help

    Resolved:

    Select "Use object existing" UN - Net Invocation and past the reference saved in there.

  • How to pass the IDS of lookup through weblink to the narrative report

    Hi all

    How to pass the ID lookup instead of the value in the choice list via the Web link that able to read this list of choice and based on the id id, he should go the narrative report dynamically (reports are named with the lookup id).

    Is is possible. ?
    How to get there. ?

    Thanks in advance...!


    concerning
    sowm

    Hi sowm,.
    What I understand, that values exist in analytics and not their IDs.Hence, you cannot display the ID in the reports. An alternative would be if your data integration team can fill a field with distinctive signs of the back-end database.

    PS: My apologies for late reply.

  • How to set the path of the report in a plugin for model

    I'm trying to figure out how to set the path of the report in a plugin process model. I can't find a way to have access to it. It seems this would be a reasonable thing to do since the plug-ins are for the treatment of the results. Does anyone know how to do this? We generally use the sequential process model, but I try to keep my plug-in as independent as possible.

    Thank you.

    If I understand correctly, you want your plug-in, when enabled, change the settings of all other instances of the report OR plugin as their reports share the same directory that your plug-in is configured to use.

    If so, your plug-in can access and change the settings of all other instances of plugin. All instances are passed to all the points of plugin entries in the subproperty of the plugins of the ModelConfiguration parameter table. You can browse this table. Any element of the array with an equal to "NI_ReportGenerator.seq" Base.SequenceFilename is an instance of the report OR plugin. Its report options are stored in the element under PluginSpecific.Options.

    You can change the report options to what you want. Note that the recall of the ReportOptions model is called from template-plugin Initialize entry point, then you might want to ensure that your changes are applied after that, so they are not replaced. To do this, you could make your changes in the Initialize entry point of your plugin and make sure your plugin runs last. To rotate the last, you can set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your file of plug-in with a value greater than 0, for example 1.0 (see Help for TestStand > Fundamentals > process template Architecture > plug-in for the model process Architecture > Structure of the plugin sequence files > plugin model of entry Points > Order Execution of Point of entry at run time).

  • How to dynamically generate columns in conventional reports

    Hi all

    How to create dynamic columns in classic reports.

    I need to create these columns that depends on the difference of the date column start date and end date.

    for example: 4 November 2015 start_date and end_date is November 7, 2015

    I show the columns Day1, day 2, day 3 and day 4.

    and the values of these columns are checkboxes.

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    How to create dynamic columns in classic reports.

    I need to create these columns that depends on the difference of the date column start date and end date.

    for example: 4 November 2015 start_date and end_date is November 7, 2015

    I show the columns Day1, day 2, day 3 and day 4.

    and the values of these columns are checkboxes.

    The old packed timesheet application has the tip for how to display the day of the week selected by the user in the form of columns in the tabular presentation.

    Reference: old packages of timesheet Application

    That's how I'd do:

    • Select the range of dates populate the days between the date columns range in a collection of the APEX.
    • Display the columns as editable using the APEX_ITEM API.

    NOTE: Application of time sheets there was select list for weeks, so always the number of dynamic columns would be 7 + column code time.

    Also, the maximum number of modifiable columns, you can use on your page APEX is 50.

    Kind regards

    Kiran

  • How to pass variables by using the command line when starting from a native application ActionScript

    How to pass in variables or arguments to start using the command line when starting a native ActionScript application? For example, I have my app MySweetWidget call and it was compiled with Adobe AIR runtime in captivity so now I have MySweetWidget.exe.

    In the command line, I call MySweetWidget.exe and would like to pass in variables or properties of the application. I guess that these variables are read from the loaderInfo.parameters object.

    Please let me know if the Adobe AIR runtime supports passing the parameters to native execution. If so, I would like to help determine the correct format of how pass variables. So would you want to read those loaderinfo.parameters object?

    Thank you

    Jeff

    I found the answer to my own question:

    Yes, it's a feature supported. It is documented on the following page:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/desktop/NativeApp lication.html #event:invoke

    When you subscribe to the event from the NativeApplication invoke it will subsequently send the event and you read the table of e.arguments object to get the start in the native application arguments.

  • How to pass the encrypted script Python DB pwd

    Hello

    I'm trying to set up a domain using the python script.

    The script looks as follows:

    CD (' JDBCSystemResource/MYConnectionPool/JdbcResource/MyConnectionPool')
    Create ('myJdbcDriverParams', 'JDBCDriverParams')
    CD (' JDBCDriverParams/NO_NAME_0')
    Set('DriverName','oracle.) JDBC. OracleDriver')
    Set ('URL', OS.environ ['DATASERVER_DB_URL'])
    together ('PasswordEncrypted', "user1")

    I hard code the password as "user1" in the script. While I want to encode the password in the script as it might be different in the production environment.

    I would like to encrypt the pwd and put in a file and reference the file here in the script. Reference this file can be stored in a variable env and then passed to the script as follows:

    Set ('PasswordEncrypted', os.environ ['DATASERVER_DB_PWD'])

    Can someone help me to find out how to encrypt the pwd and how I pass to the python script.

    Thank you
    Shalini

    Hello

    NOTE: If you enter a wrong password encrypted in the WLST script.. then it won't be visible in the AdminConsole...

    I understood what mistake you made. You could have the script WLST My pasted into your Machine directly and did not replace the pssword Encrypted (or maybe a few got wrong characters included in encrypted password by replacing in the WLST script ) with your own encrypted at heart... This is why you don't see any password in the password TextField... I m able to reproduce the same thing at my end... .with the same error.

    Please try this...

    Step 1). Open a Shell prompt...

    Step 2). Move inside your root directory of the domain, and then run * "setDomainEnv.sh" *.
    Example:
    C:\bea\user_projects\domains\base_domain\bin

    Step 3). Since your domain root directory, run the following command:

    Example:
    C:\bea\user_projects\domains\base_domain>Java weblogic.security.Encrypt PBPUBLIC
    4NT9WiBG7MXYBiEteLogvA {3DES} is

    Step 4). Now, change this value encrypted in the My WLST script...

    Step5). Now, run the WLST Script to create the data source.

    .
    .
    Thank you
    Jay SenSharma

  • How to pass a string to a vi from a dll?

    I have a DLL that generates errors in the log. How can I display my Panel before these errors? In other words, how to pass a string from a DLL to a vi using the library to call feature?

    Thank you

    Diego

    The DLL actually allocates memory for the string? If this is the case, there should be another function to free the memory. Otherwise you won't be able to do the deallocation of LabVIEW, which means you would have to write a wrapper DLL. If you do not have the deallocation, then you will have a memory leak.

    Are you sure that the DLL is not simply wait for a buffer "of a proper size? In this case, you can simply create a U8 in LabVIEW to a size that is larger that the largest string that you expect to get.

  • How to pass the Visa Resource Name parameter to labview dll in labwindows/cvi

    Hello world

    I build a dll of labview, the prototype is: double getchannelpower (double f, uintptr_t * VISAResourceName);

    I don't know how to go from VISAResourceName to this function.

    Is it related to the ViPSession paremeter in function viOpen(REES ViSession, rn ViRsrc, ViAccessMode am, ViUInt32 ti,ViPSession vi)?

    BRs,

    lotusky

    Hey, guys:

    I figured out how to pass the parameter.

    In labview, you must replace the control of visa with string control. In this way, the generated dll function at the entrance of the string type.

    I hope this will help others!

    lotusky

  • How to pass data (more effective) autour

    Hello
    I wonder how to pass around large data around across the application.

    For example:
    1 data or data of my analog channels
    (I have a lot of screws that will process these data of waveform)
    Is it not wise to spend around analog continuous data?

    2. What if you want to process digital data?
    (I must treat these unique bits in several screws, for example,)
    security door bit, stop bit of emergency, must be treated as higher priority than screw
    input 1, selector, etc.).

    Or you have any suggestions, what type of data I should use. I have a
    global impression screw actually write these digital data in a file, then
    These files are passed around?

    3. is there a mechanism that pass around data in memory, NOT in the files?

    By far, the way the more effiecient to pass data autour is a thread.  If you are really worried about memory, then you must avoid the connection of the wire that he holds the large amount of data.  This could mean making your processes in series (one at a time) passing the data of one Subvi to another via the controls and indicators and the connector pane.

  • HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE

    HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE.

    HOW THEN IT WILL CHOOSE CORRECT ON SUB VI HEXAGONAL ENUM VALUES.

    Enum values are strings, you must first convert the hexadecimal value to a hexadecimal value chain represtation.

    Then that convert from the enum.

  • How to passing arguments to an exe

    Hai Everbody

    I know that LabVIEW has the ability to call an exe file created in different platform, can I know how to pass arguments to the special exe (which is located in another platform) via LabVIEW... I wish someone could help me out of this

    Thanks for your answers, I found the solution... As the exe is in .net, I used the syntax for the command line arguments in .net...

  • How to pass a string of e-mail with attachments?

    How to pass a string of e-mail with attachments? I received an email and had answers in both directions. I try now to send the original of the attachments on the first 2 emails. How do I do that? My receiptiant says that he gets the e-mail message but has no attachments?

    You don't mention what you use for e-mail.
     
    You can either transfer the messages all attachments, or save attachments and then attach them to a new message.
  • How to pass the value?

    Hello.. I'm creating an application of streaming, in which I have a list field in a screen like this...

    1

    --------

    2

    --------

    3

    --------

    and when the item 1 is selected means a url must be passed to the video player...

    I created the list field screen in a package and a video player in other package... but I do not know how to pass the value of the field from the list to the player... Help, please... its URGENT...

    You can get the index selected by the listname.getSelectedIndex () method and compare that value with Vector data (data store URL) .that you will give a correct value from the URL and pass it.

Maybe you are looking for