LV 8.2 DSC Multiple Variable Editor - Import/Exp​ort bug?

Hi,
Has anyone used the export/import feature in the Multiple Variable Editor in LV DSC 8.2?  I'm having problems importing a Comma Separated Variable (CSV) file and it fails to include the "Bind to Source" parameters.
You can test this by simply exporting a bound variable and then importing it into a new library.  Not all the features are imported.
Is this a bug or have I simply not read the documentation or is it not meant to work like this!?
...Andy
Lead Engineer, Controls and Electrical
Irvine CA

Rudi,
Apparently this has been identified by Doug Mumford (NI) in an email to our consultant (ThinkG):
"There is a bug in the importing/exporting of CSV files using the Multiple Variable Editor. This will be addressed in the next maintence release of LabVIEW. Attached is a VI that should fix this -- make a backup of the original and replace it with the attached VI. The path to this VI is <labview>\resource\dialog\variable."
See Doug, he'll have the VI.
The bug omitted a ":" e.g. "Network Buffsize" instead of "Network:Buffsize" so that when items were imported back in the items were loaded incorrectly.
Regards...Andy
Lead Engineer, Controls and Electrical
Irvine CA

Similar Messages

  • Copy a configuration into Multiple Variable Editor

    Using the Multiple Variable Editor in LabVIEW could be improved by being able to copy column entries from excel or a text file into the editor.
     

    This appears to belong to the Real-Time Idea Exchange forum:
    http://forums.ni.com/t5/LabVIEW-Real-Time-Idea-Exchange/idb-p/lvrtideas
    based on these requirements:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvdialog/dsc_spconfigdb/

  • Open Multiple Variable Editor in VI

    Hi folks,
    is there any way to open the Multiple Variable Editor programmatically in a VI?
    ATM i'm migrating a measurement logging system from LabVIEW 7 to LabVIEW 2010 which means i'm mostly rewriting the code for use with shared variables. It would be useful if the measurement engineers could reconfigre - e.g. rescale or smthg - variables when the software is already running as it was somehow possible with the Tag Configuration Editor, and instead of writing these menus again i'd like to pop up LabVIEWs MVE or the builtin properties page of a shared variable.
    Hints, useful links or any other help welcomed!
    Matthias

    Hello Matthias,
    i have found some links concerning your request. Maybe the following one is the most suitable to your problem:
    http://forums.ni.com/t5/Real-Time-Measurement-and/Programmatically-modify-project-SV-properties/td-p/784181
    The further 2 Links contain additional information to your issue:
    save to library VI:
    http://zone.ni.com/reference/en-XX/help/371618F-01/lvdsc/dsc_save_to_lib/
    how do i programmatically change the data binding source for shared variables:
    http://digital.ni.com/public.nsf/allkb/2E8BAD0EA218A7558625712E0003F044?OpenDocument
    Maybe this helps.
    Best Regards
    Stefan
    

  • Creation of Multiple Variables of same type at runtime

    Hi,
    I have a requirement in which I need to create multiple variables at run time . The variables should be TRPE REF TO CL_GENIOS_VARIABLE. The number of variables required will be determined at run time based on the number of materials in a Bill of material. We are using these variables for some calculations as GENIOS is a SAP given code to solve linear equations.
    Please help me on this. If some one can let me know how I can create field symbols dynamically with different name that will also help.

    *       CLASS lcl_genios DEFINITION
    CLASS lcl_genios DEFINITION.
       PUBLIC SECTION.
         METHODS : constructor.
         METHODS : create_model
                    IMPORTING
                      i_name TYPE genios_name,
                   create_variable
                      IMPORTING
                        i_type TYPE genios_variabletype DEFAULT if_genios_model_c=>gc_var_continuous
                        i_lowerbound TYPE genios_float DEFAULT 0
                        i_upperbound TYPE genios_float OPTIONAL
                        i_name TYPE genios_name.
       PRIVATE SECTION.
         DATA : lo_enviroment TYPE REF TO cl_genios_environment,
                lo_model TYPE REF TO cl_genios_model,
                lo_variable TYPE REF TO cl_genios_variable.
    ENDCLASS.                    "lcl_genios DEFINITION
    *       CLASS lcl_genios IMPLEMENTATION
    CLASS lcl_genios IMPLEMENTATION.
       METHOD constructor.
         lo_enviroment ?= cl_genios_environment=>get_environment( ).
       ENDMETHOD.                    "constructor
       METHOD create_model.
         lo_model = lo_enviroment->create_model( 'DUMMY' ).
       ENDMETHOD.                    "create_model
       METHOD create_variable.
         lo_variable = lo_model->create_variable( iv_type       = i_type
                                                  iv_lowerbound = i_lowerbound
                                                  iv_upperbound = i_upperbound
                                                  iv_name       = i_name       ).
       ENDMETHOD.                    "create_variable
    ENDCLASS.                    "lcl_genios IMPLEMENTATION
    DATA : lo_genios TYPE REF TO lcl_genios.
    START-OF-SELECTION.
       CREATE OBJECT lo_genios.
       lo_genios->create_model( 'DUMMY' ).
       lo_genios->create_variable( i_lowerbound = 1
                                   i_upperbound = 255
                                   i_name = 'DUMMY' ).
    You can create genios_variable like this.
    and change this :
    TYPES : Begin of lst_genios, 
                       genios TYPE REF TO cl_genios_variable, 
                    End of lst_genios. 
    like this :
    TYPES : Begin of lst_genios, 
                       genios TYPE REF TO lcl_genios, 
                    End of lst_genios. 
    or you can create your table as Kartik example.

  • How to check empty string and null? Assign same value to multiple variables

    Hi,
    1.
    How do I check for empty string and null?
    in_value IN VARCHAR2
    2. Also how do I assign same value to multiple variables?
    var_one NUMBER := 0;
    var_two NUMBER := 0;
    var_one := var_two := 0; --- Gives an error
    Thanks

    MichaelS wrote:
    Not always: Beware of CHAR's:
    Bug 727361: ZERO-LENGTH STRING DOES NOT RETURN NULL WHEN USED WITH CHAR DATA TYPE IN PL/SQL:
    SQL> declare
      2    l_str1   char (10) := '';
      3    l_str2   char (10) := null;
      4  begin
      5  
      6    if l_str1 is null
      7    then
      8      dbms_output.put_line ('oh STR1 is null');
      9    elsif l_str1 is not null
    10    then
    11      dbms_output.put_line ('oh STR1 is NOT null');
    12    end if;
    13  
    14    if l_str2 is null
    15    then
    16      dbms_output.put_line ('oh STR2 is null');
    17    elsif l_str2 is not null
    18    then
    19      dbms_output.put_line ('oh STR2 is NOT null');
    20    end if;
    21  end;
    22  /
    oh STR1 is NOT null
    oh STR2 is null
    PL/SQL procedure successfully completed.
    SQL> alter session set events '10932 trace name context forever, level 16384';
    Session altered.
    SQL> declare
      2    l_str1   char (10) := '';
      3    l_str2   char (10) := null;
      4  begin
      5  
      6    if l_str1 is null
      7    then
      8      dbms_output.put_line ('oh STR1 is null');
      9    elsif l_str1 is not null
    10    then
    11      dbms_output.put_line ('oh STR1 is NOT null');
    12    end if;
    13  
    14    if l_str2 is null
    15    then
    16      dbms_output.put_line ('oh STR2 is null');
    17    elsif l_str2 is not null
    18    then
    19      dbms_output.put_line ('oh STR2 is NOT null');
    20    end if;
    21  end;
    22  /
    oh STR1 is null
    oh STR2 is null
    PL/SQL procedure successfully completed.
    SQL> SY.

  • How to delete multiple variables from the variables list

    Hello,
    Iam using FrameMaker 9.0. Is there a way I can select multiple variables from the book and delete them together.
    Thanks,
    CP.

    NO in FM9. Take SQUIDDS TOOLBOX the free tool: 'Formats'
    'Formats' is a very helpful tool for 'deleting' paragraph formats, character formats, cross reference formats, table formats, color definitions and variables.
    You can delete unused one or all formats of selected. For paragraph and character you can also decide to 'add new one in catalog'.
    -Georg

  • Using Modbus TCP I/O Server with new DSC Shared Variables in LabVIEW 8.6

    Hello,
    I'm using LabVIEW 8.6 and want to communicate with a Beckhoff BK9000 Ethernet TCP/IP Bus Coupler via Modbus TCP. Instead of using the NI Modbus Library, I've tried the new LabVIEW 8.6 feature "DSC Shared Variables" as described at the bottom of this page: Latest NI LabVIEW DSC Module Features and Demos. Reading of analog input bus terminals works fine. However, I haven't figured out yet how to write on an anolog output bus terminal with these shared variables.
    It's about a 16 bit analog output and I need to write to the registers 0x1121 and 0x0801. It works with the NI Modbus Library (just using function code 6 and choosing the registers), but on the other hand I don't know which shared variables I have to choose for these registers. I've tried several data items (e.g. 400001 upwards as well as 402049 for 0x0801) but none of them worked. I would be glad for a short explanation - thanks in advance for your support!
    Regards
    utechle

    The Beckhoff documentation says, that holding registers start with 0x0800. I've checked this by using the NI Modbus Library. I used the "MB Ethernet Master Query.vi" togehter with the function code 6 for "Write Single Registers", changed the settings of the starting address to hexadecimal view and entered 801 (since it starts with a control byte in 0x0800 and the data out word follows in 0x0801). Furthermore, I had to address register 0x1121 in the same way for resetting the watchdog. As I've mentioned in my first post, this method works fine. However, I haven't found out yet which shared variables i have to use for accessing these registers.
    On the other hand, it's no problem to read data from analog input bus terminals using shared variables. They start with 0x0000 (status byte) and 0x0001 (data in word) and I can read data with the shared variable and data item 300001, respectively.
    Message Edited by utechle on 01-27-2009 11:12 PM

  • Multiple Variable Inputs in Query- Bug in Bex??

    Hi,
    I have Multiple Variables I am using in a Query. After I Input a Value Range to suppose a date field, and then for another variable I use the drilldown box to select an Input for this variable, The First Value of My date field dissappears but the other value in the range still remains. Only If i make this Variable Mandatory with Interval, it does not dissapear.
    This is not only applicable to Date Variable but also for Serail nbr, etc where I enter a range for the variable and when I input a second variable using the drilldown box feature, the first value dissapears from the earlier varaible input.
    Please advice.
    Thanks and Regards
    Andy.

    Hi Bhanu,
    Suppose I enter a range for
    Serial Nbr variable as CC22* and CC35*
    and then use drilldown feature to Input another variable Prdtn year (2004).
    The first value for Serial nbr (CC22*) dissapears..
    Hope this helps...Or I can explain more..
    Thanks ANdy

  • DSC local variable

    Hi All.
    I'm trying to complete create this very simple VI inside the DSC shared variable engine.
    It is just a simple tank fill and empty. It uses a local variable inside a for loop to empty the tank.
    When I try to create my custom VI periodic IO server, I get the attached errors.
    I have read on previous posts that it may be related to the local variable. I cannot figure out how to move this VI into DSC without the errors. If I move onto the next step and create the bound variables it gives a similar error on deployment.
    Hope somebody can help.
    It would be great if somebody could post up this program saved as a project and a little step by step on how it was done.
    Cheers
    Ciaran
    Attachments:
    Tank fill and empty.vi ‏9 KB
    Error when trying to create a custom periodic VI IO server.docx ‏59 KB

    Raven is correct.
    The way to go about this is using the compare and select functions in the programming palette.
    Hope that will get you started.
    Matthew Trott
    Applications Engineer
    National Instruments UK
    www.ni.com/ask

  • Add choice of multiple external editors

    The 1.1 enhancements do make LR more usable, but please add more context menu slots (via Preferences) for multiple external editors.
    I frequently use two very different tools for localized image editing on TIFFs because they are radically different tools for solving different problems. To choose the un-preferenced editor, I have to first go to Preferences dialog, change the application selection, close the dialog, then launch the editor, then switch back the next time I want to use the first external editor.
    I doubt that I am the only Lightroom user with more than one non-Adobe editing tool (noise reducers, sharpening tools, re-sizing tools, etc.)
    I have no intention of using Photoshop; the fixed slot for Photoshop is wasted on me and probably many other users.

    From my comment in another topic:
    [Only allowing a single external editor] is an issue even when using Adobe products. I use Photoshop Elements as my editor and don't have CS3, and LR forces me to use the single "External Editor" spot for the Elements editor.
    I wish they'd recognize Elements as my primary external editor and let me call Neat Image (digital noise reducer) as my secondary editor directly from LR. As it stands, I have to open in Elements editor, then choose the Neat Image filter.
    I know I could specify NI as my external editor but I still need the Elements editor for touch-ups.
    Thanks to the Adobe Lightroom team for reading these feature requests and seriously considering them.
    - Stew

  • Execute scenario with multiple variables through ODIInvoke webservice

    I am looking to execute scenario with multiple variables through ODIInvoke webservice but can't seem to get the SOAP request formatted correctly. Here is what I have tried but I get a parsing error.
    <invokeScenarioRequest>
    <invokeScenarioRequest>
    <RepositoryConnection>
    <JdbcDriver>org.hsqldb.jdbcDriver</JdbcDriver>
    <JdbcUrl>jdbc:hsqldb:hsql://localhost</JdbcUrl>
    <JdbcUser>sa</JdbcUser>
    <OdiUser>SUPERVISOR</OdiUser>
    <OdiPassword>SUNOPSIS</OdiPassword>
    <WorkRepository>DEVELOPMENT</WorkRepository>
    </RepositoryConnection>
    <Command>
    <ScenName>I_TEST_WS</ScenName>
    <ScenVersion>001</ScenVersion>
    <Context>DEVELOPMENT</Context>
    <LogLevel>5</LogLevel>
    <SyncMode>1</SyncMode>
    <Variables>
    <Name>SNI.DMN_CD</Name>
    <Value>DTA</Value>
    </Variables>
    <Variables>
    <Name>SNI.ADPT_CD</Name>
    <Value>RAT_CD</Value>
    </Variables>
    </Command>
    <Agent>
    <Host>S119SNIP045166</Host>
    <Port>20910</Port>
    </Agent>
    </invokeScenarioRequest>
    </invokeScenarioRequest>
    Here is the error I am getting
    com.sunopsis.wsinvocation.SnpsWSInvocationException: java.lang.RuntimeException: Unexpected subelement Name
         at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
         at com.sunopsis.graphical.wsclient.f.b(f.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.RuntimeException: Unexpected subelement Name
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1515)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1792)
         at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
         ... 8 more
    Caused by:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultSubcode:
    faultString: java.lang.RuntimeException: Unexpected subelement Name
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:java.lang.RuntimeException: Unexpected subelement Name
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1515)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1792)
         at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
         at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
         at com.sunopsis.graphical.wsclient.f.b(f.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Thread.java:595)
         {http://xml.apache.org/axis/}hostname:S119SNIP045166
    java.lang.RuntimeException: Unexpected subelement Name
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1515)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
         at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
         at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
         at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
         at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
         at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1792)
         at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
         at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
         at com.sunopsis.graphical.wsclient.f.b(f.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Thread.java:595)
    If I change it from
    <Variables>
    <Name>SNI.DMN_CD</Name>
    <Value>DTA</Value>
    </Variables>
    <Variables>
    <Name>SNI.ADPT_CD</Name>
    <Value>RAT_CD</Value>
    </Variables>
    to
    <Variables>
    <Name>SNI.DMN_CD</Name>
    <Value>DTA</Value>
    </Variables>
    the session runs. Does anyone know the syntax for multiple variables being passed?
    Thank you,
    Troy

    Hi,
    The xml should be like this
    <variables>
    <name>SNI.DMN_CD</name>
    <value>DTA</value>
    <name>SNI.ADPT_CD</name>
    <value>RAT_CD</value>
    </variables>
    Hope this helpful.
    Regards

  • Shimmering variable editor window

    Post Author: popsdrown
    CA Forum: WebIntelligence Reporting
    On a particular Webi report, when I create a new variable using the Variable Editor, if I re-enter the Editor, the window 'shimmys' as if it is stuck in a loop constantly refreshing the Editor screen. If a delete the last variable created, the behavior ceases. It doesn't matter what I create for a variable, it just won't let me add one.

    Post Author: popsdrown
    CA Forum: WebIntelligence Reporting
    I have discovered the cause of this behavior and it appears to be a bug in WebI.
    The main factor seems to be the length of the program name, particularly the number of continuous characters, combined with the size of the available objects list. When I created one too many variables in the variable editor, the behavior of the looping refresh began. By expanding the editor window, it stopped. The permanent fix turned out to be getting out to the folders pane and saving the report with a different name - in my case, putting an extra space in the name.

  • Sending multiple variable to flash

    I did the following in passing several multiple to flash
    PHP code
    <?php
         $d  = array();
         $p = array();
         $t = array();
         require_once('C:\xampp\htdocs\moodle\config.php');
        $data = $DB->get_records_sql('SELECT questiontext,id FROM {question}');
        foreach ($data  as $element)  {
        $d[] = $element->questiontext ;
        $p[] = $element->id;}
        echo "var1=".urlencode($d[1])."&var2=".urlencode($p[1]);
    ?>
    Actionscript code
    var myLoader:URLLoader = new URLLoader();
    myLoader.dataFormat = URLLoaderDataFormat.TEXT;
    var myRequest:URLRequest=new URLRequest("http://localhost/moodle/selectquestion.php");
    myLoader.load(myRequest);
    myLoader.addEventListener(Event.COMPLETE,onCompleteHandler);
    var myValue: String;
    var valuetwo: String;
    function onCompleteHandler(e:Event):void{
       myValue = e.target.data.var1;
                          valuetwo = e.target.data.var2;
       trace(myValue);
       trace(valuetwo);
    However, error shows in actionscript that
    ReferenceError: Error #1069: Property var1 not found on String and there is no default value.
    Is there anything wrong in my php code or in the actionscript? How should I pass multiple variable to flash?

    I can fix it now as I should add
    var myvariable: URLVariables = new URLVariables(e.target.data);      
    to my actionscript code and then
    myValue = myvariable.var1;
    valuetwo = myvariable.var2;
    trace(myValue);
    trace(valuetwo);
    I can then trace back.

  • Unable to import .exp project

    Hi,
    I have just installled Oracle BPM studio, getting the below exception while importing .exp project (from samples OraBPMStudioHome\samples\basic\ExpenseManagement.exp) I couldn't proceed further.
    java.lang.NullPointerException
         at fuego.prefs.engine.standalone.studio.StudioNetworkingPreferences$LocalhostFixURLPreference.updateContext(StudioNetworkingPreferences.java:120)
         at fuego.prefs.LocalhostUserPreference.getStringValue(LocalhostUserPreference.java:68)
         at fuego.prefs.LocalhostPreference.getValue(LocalhostPreference.java:103)
         at fuego.prefs.engine.base.BaseNetworkingPreferences.updatePortalUrlContext(BaseNetworkingPreferences.java:120)
         at fuego.project.deployment.EngineImpl.initEnginePreferences(EngineImpl.java:325)
         at fuego.project.deployment.EngineImpl.<init>(EngineImpl.java:68)
         at fuego.project.model.deployment.DeploymentImpl.createEngine(DeploymentImpl.java:184)
         at fuego.project.io.fs.EngineVisitor.load(EngineVisitor.java:83)
         at fuego.project.io.fs.EngineVisitor.handleFile(EngineVisitor.java:75)
         at fuego.project.io.fs.eclipse.visitor.EclipseEngineVisitor.handleFile(EclipseEngineVisitor.java:62)
         at fuego.project.io.fs.eclipse.visitor.EclipseEngineVisitor.handleResourceFile(EclipseEngineVisitor.java:73)
         at fuego.project.io.fs.eclipse.visitor.AbstractEclipseVisitor.visit(AbstractEclipseVisitor.java:63)
         at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:105)
         at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:57)
         at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81)
         at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
         at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126)
         at org.eclipse.core.internal.resources.Resource.accept(Resource.java:67)
         at org.eclipse.core.internal.resources.Resource.accept(Resource.java:103)
         at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
         at fuego.project.io.fs.eclipse.visitor.AbstractEclipseVisitor.load(AbstractEclipseVisitor.java:117)
         at fuego.project.io.fs.visitor.AbstractVisitor.loadAll(AbstractVisitor.java:72)
         at fuego.project.io.fs.FileProjectLoader.load(FileProjectLoader.java:704)
         at fuego.project.io.fs.FileProjectLoader.loadEngine(FileProjectLoader.java:170)
         at fuego.project.io.fs.eclipse.EclipseProjectLoader.loadEngine(EclipseProjectLoader.java:171)
         at fuego.project.model.deployment.DeploymentImpl.getEngine(DeploymentImpl.java:64)
         at fuego.project.io.fs.eclipse.migration.EclipseProjectMigrationManager.migrateEngine(EclipseProjectMigrationManager.java:129)
         at fuego.project.io.fs.migration.AbstractProjectMigrationManager.migrate57Project(AbstractProjectMigrationManager.java:50)
         at fuego.project.io.fs.eclipse.EclipseProjectRepository.runMigration(EclipseProjectRepository.java:435)
         at fuego.project.io.fs.eclipse.EclipseProjectRepository.internalImportProject(EclipseProjectRepository.java:422)
         at fuego.project.io.fs.eclipse.EclipseProjectRepository.access$000(EclipseProjectRepository.java:76)
         at fuego.project.io.fs.eclipse.EclipseProjectRepository$1.run(EclipseProjectRepository.java:224)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)
         at fuego.project.io.fs.eclipse.EclipseProjectRepository.importProject(EclipseProjectRepository.java:234)
         at fuego.project.ui.wizards.ProjectImportRunnable.run(ProjectImportRunnable.java:50)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
         at org.eclipse.jface.window.Window.open(Window.java:796)
         at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:159)
         at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

    Not sure why that's happening. Try changing the file to a .zip, and then unzip the file in a given workspace. Then just open it and see what happens....
    HTH
    Mark

  • Performanc​e of Modbus using DSC Shared Variables

       I'm fairly new at using Modbus with LabVIEW.  Out of the roughly dozen tools and API's that can be used, for one project I'm working on I decided to try using Shared Variables aliased to Modbus registers in the project, which is a DSC tool.  It seemed like a clever way to go.  I've used Shared Variables in the past, though, and am aware of some of the issues surrounding them, especially when the number of them begins to increase.  I'll only have about 120 variables, so I don't think it will be too bad, but I'm beginning to be a bit concerned...
       The way I started doing this was to create a new shared variable for every data point.  What I've noticed since then is that there is a mechanism for addressing multiple registers at once using an array of values.  (Unfortunately, even if I wanted to use the array method, I probably couldn't.  The Modbus points I am interfacing to are for a custom device, and the programmer didn't bother using consecutive registers...)  But in any case, I was wondering what the performance issues might be surrounding this API.
        I'm guessing that:
    1) All the caveates of shared variables apply.  These really are shared variables, it's only that DSC taught the SV Engine how to go read them.  Is that right?
       And I'm wondering:
    2) Is there any performance improvement for reading an array of consecutive variables rather than reading each variable individually?
    3) Are there any performance issues above what shared variables normally have, when using Modbus specifically?  (E.g. how often can you read a few hundred Modbus points from the same device?)
    Thanks,
        DaveT
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.
    Solved!
    Go to Solution.

    Anna,
        Thanks so much for the reply.  That helps a lot.
        I am still wondering about one thing, though.  According to the documentation, the "A" prefix in a Modbus DSC address means that it will return an array of data, whereas something like the F prefix is for a single precision float.  When I create a channel, I pick the F300001 option, and the address that is returned is a range:  F300001 - F365534.  The range would imply that a series of values will be returned, e.g. an array.  I always just delete the range and enter a single address.  Is that the intention?  Does it return the range just so you know the range of allowed addresses?
       OK, I'm actually wondering two things.  Is there a reason why the DSC addresses start with 1, e.g. F300001, instead of 0, like F300000?  For the old Modbus API from LV7, one of the devices we have that uses that API has a register at 0.  How would that be handled in DSC?
    Thanks,
        Dave
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

Maybe you are looking for

  • Error Message when burning CD-R

    For the past week I have been trying to burn cds from itunes on my macbook and a "medium write error" keeps appearing. Does anyone know why or how to fix this?

  • VA41 Conversion program using BAPI's.

    Hi Friends, Could u please tell to develop/create conversion program to transfer data using BAPI's by using trx VA41(CREATE CONTRACT), I have Contract Document number(ID). This is one time conversion. Please tell step by step. Thanks in advance. Poin

  • Safari not opening pdf; getting blank screen

    Using OSX Lion.  When I click on a pdf to open in Safari, I get a blank screen on the browser.  No trouble with same pdf using other browser.

  • Cooling fan inside mac book pro 13,3

    Hello does anyone know if the is a cooling fan inside Mabook pro 2,4 Ghz whit ssd hard drive because my MAc gets wery hot in the left upper corner under the MAc  if there is a fan can you test it ore see if i works ? best reg Patrik

  • How to use Function CCM_HAB_EXECUTE from CIC WinClient?

    Hello, i me calling the function "CCM_HAB_EXECUTE" to call specific CIC-Actions (Transactions) from the CIC WinClient? How can i also give the Function above the Value of the object i would like to display or edit in the called Transaction?? For exam