Trouble passing java launch options using 1.6.0_11

Attempting to pass language parameters for i18n tests:
javaws -J-Duser.language=fr canvas.jnlp
I see it start off in French but later (second launch) the option is lost.
Also for remote debug -->
Attempting to pass remote debug flags:
When I set this:
set JAVAWS_VM_ARGS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"
javaws http://localhost:2925/canvas/canvas.jnlp
I see the process launched with:
"C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx512m -Xms128m -Xdebug "-Xbootclasspath/a:C:\Program Files\Java\jre6\lib\javaws.jar;C:\Program Files\Java\jre6\lib\deploy.jar" -classpath "C:\Program Files\Java\jre6\lib\deploy.jar" "-Djnlpx.vmargs=-Xmx512m -Xms128m -Xdebug" "-Djnlpx.jvm=C:\Program Files\Java\jre6\bin\javaw.exe" -Djnlpx.splashport=3952 "-Djnlpx.home=C:\Program Files\Java\jre6\bin" -Djnlpx.remove=false -Djnlpx.offline=false -Djnlpx.relaunch=true -Djnlpx.heapsize=134217728,536870912 "-Djava.security.policy=file:C:\Program Files\Java\jre6\lib\security\javaws.policy" -DtrustProxy=true -Xverify:remote com.sun.javaws.Main http://localhost:2925/canvas/canvas.jnlp
I see -Xdebug but no "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000" ???? Where did is go???
I download the jnlp file and tried this:
javaws -J-Xdebug -J-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000 canvas.jnlp
I see this:
"C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx512m -Xms128m -Xdebug "-Xbootclasspath/a:C:\Program Files\Java\jre6\lib\javaws.jar;C:\Program Files\Java\jre6\lib\deploy.jar" -classpath "C:\Program Files\Java\jre6\lib\deploy.jar" "-Djnlpx.vmargs=-Xmx512m -Xms128m -Xdebug" "-Djnlpx.jvm=C:\Program Files\Java\jre6\bin\javaw.exe" -Djnlpx.splashport=4083 "-Djnlpx.home=C:\Program Files\Java\jre6\bin" -Djnlpx.remove=false -Djnlpx.offline=false -Djnlpx.relaunch=true -Djnlpx.heapsize=134217728,536870912 "-Djava.security.policy=file:C:\Program Files\Java\jre6\lib\security\javaws.policy" -DtrustProxy=true -Xverify:remote com.sun.javaws.Main "C:\Documents and Settings\4381\Application Data\Sun\Java\Deployment\cache\6.0\6\7ef1ecc6-60db0c6d"
Still no "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"
Anyone know what might be going on here?

This looks like a problem in 6u10 later fixed in 6u12.
can you just run:
javaws -J-Xdebug -J-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000 -verbose -viewer
when I run this with 6u12, I see command line:
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000
-Djnlpx.jvm=/usr/jdk/instances/jdk1.6.0/jre/bin/java
-Djnlpx.vmargs="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"
com.sun.javaws.Main
-viewer
/Andy

Similar Messages

  • I need to pass multiple select options using submit and reutrn

    dear all,
    my requirement is i need to pass multiple values for work center like(biw01,biw02,biw03    etc) for this iam giving as biwl* and biot* for the tcode zpp_hmm ,using this i am going to get total working hours of perticular equiment.
    for this iam using submit and return query but iam unable to pass multiple work centers as input.
    my code is
    DATA : z_budat TYPE  RANGE OF budat,
           wa_budat LIKE LINE OF z_budat.
    wa_budat-low = '20111001'.
    wa_budat-sign = 'I'.
    wa_budat-option = 'BT'.
    wa_budat-high = '20111031'.
    APPEND wa_budat TO z_budat.
    CLEAR wa_budat.
    *wa_budat-High = '20111031'.
    *wa_budat-sign = 'I'.
    *wa_budat-option = 'BT'.
    *append wa_budat to z_budat.
    DATA : z_arbpl TYPE  RANGE OF arbpl,
           wa_arbpl LIKE LINE OF z_arbpl.
    wa_arbpl-low = 'BIWL*'.
    wa_arbpl-sign = 'I'.
    wa_arbpl-option = 'EQ'.
    APPEND wa_arbpl TO z_arbpl.
    CLEAR wa_arbpl.
    wa_arbpl-high = 'BIOT'.
    *wa_arbpl-sign = 'I'.
    *wa_arbpl-option = 'BT'.
    *APPEND wa_arbpl TO z_arbpl.
    SUBMIT   zpp_rep_hemm_perf WITH s_bukrs = '1004'  WITH s_budat IN z_budat WITH      s_werks = 'SMJT'
                   with   S_ARBPL IN Z_ARBPL USING SELECTION-SCREEN '1000' AND RETURN.
    but my doubt is whether it is corect or wrong what ever i am passing inputs for arbpl.
    thanks in advance.

    You can pass all parameter (rsparams-kind = 'P') and select-options (rsparams-kind = 'S') as a single internal table of type RSPARAMS. Go on appending the field names and values as rows and pass using SELECTION-TABLE parameter of SUBMIT command.
    I gave appending one set of selection values for s_budat field but you can go on appending more values for s_budat and other fields.
    DATA: lt_rsparams TYPE TABLE OF rsparams,
          ls_rsparams TYPE rsparams.
    CLEAR ls_rsparams.
    ls_rsparams-selname  = 'S_BUDAT'.
    ls_rsparams-kind = 'S'.
    ls_rsparams-sign = 'I'.
    ls_rsparams-option = 'BT'.
    ls_rsparams-low =  '20111001'.
    ls_rsparams-high = '20111031'.
    APPEND ls_rsparams TO lt_rsparams.
    SUBMIT zpp_rep_hemm_perf WITH SELECTION-TABLE lt_rsparams
                      USING SELECTION-SCREEN '1000'
                      AND RETURN.

  • Jdevloper error message when arguments are passed(java option are set)

    Hi all
    I am adding the java options using run/debug profile ->launch setting->java options
    after that when i try to execute my code
    it says
    could not create the Java virtual machine
    and give error that particular path which i mentioned in java option is not found
    XL.homeDir=D:/bipin/oimclientabove is the java option which i mentioned.
    Iam currently using jdevloper 11.1.1.4
    Edited by: Bipin Patil on Jul 1, 2011 2:10 AM

    Did you mean to say
    -DXL.homeDir=D:/bipin/oimclientJohn

  • HT1338 I wonder if somebody can help me. I am not able to use my internet bank anymore, since Java launched their latest update (7.51). Appearently this one is not compatible with my hardware. I am using Mac OSX version 10.6.8, and Java version 17.0. Than

    I wonder if somebody can help me. I am not able to use my internet bank anymore, since Java launched their latest update (7.51) a few days ago. Appearently this one is not compatible with my hardware. I am using Mac OSX version 10.6.8, and Java version 17.0, which seems to be the newest one for my op sys. Anybody know how I can solve this? In advance thank you!

    Apple support article to enable Java 6.
    Java 6 Enable

  • HI I'm having real trouble opening my word documents (using Office:Mac 2008)  Have tried repair disk options as I saw this advice on another blog, seemed to work for a while now its stared happening again.  Any help MUCH appreciated

    HI I'm having real trouble opening my word documents (using Office:Mac 2008)  Have tried repair disk options as I saw this advice on another blog, seemed to work for a while now its stared happening again.  Any help MUCH appreciated

    http://answers.microsoft.com/en-us/mac

  • Trouble passing var using CFC

    I'm having trouble passing a variable value called from a CFC
    into Flex via RemoteObject. Basically I'm trying to pass the
    current logged-in user to a Combobox as a string. The Web directory
    in IIS is set to dissallow anonymous access and is set to
    Integrated Windows Authentication. The CFC is in the secured
    directory as well as the Flex app. If I change the CGI variable to
    something like #cgi.remote_addr# among others it works fine so I
    know it's not the actionScript or CFC code. Any ideas as to why
    #cgi.auth_user# is passing as an empty string?? One more caveat. If
    I invoke the function in my CFC from a .cfm page the auth_user is
    displayed as expected.
    ------------------------------------------------------------------------------------------ ----------

    To use RemoteObject with PHP you need to download AMFPHP and
    make some settings.
    To download go here:
    null.
    To understand how to use it with Flex go here:
    null.
    This is a video tutorial of about 7-10 minutes which will show you
    all you need you need to know to set AMFPHP in 'conversation' with
    Flex.
    Good luck!

  • [resolved] Launching crash with Flash builder and Unrecognized Java VM option

    Hello,
    I just wanted to share my experience with Flash Builder. Funny if we can call it like that...
    I tried to launch Flash builder, which worked since years without problem, but here, there was a problem. In the console log; it says only that :
    Unrecognized Java VM option ignored: -Xdock:name=Flash Builder
    Unrecognized Java VM option ignored: -Xdock:icon=../Resources/fb_app.icns
    Unrecognized Java VM option ignored: -XstartOnFirstThread
    I read tons of threads explaining things i didn't understand.
    And then I remembered that I changed the name of a folder containing a Flash Builder project (I just removed spaces in the name).
    So I renamed it the way it was.
    Done...
    Hope it will help!

    Hello,
    I just wanted to share my experience with Flash Builder. Funny if we can call it like that...
    I tried to launch Flash builder, which worked since years without problem, but here, there was a problem. In the console log; it says only that :
    Unrecognized Java VM option ignored: -Xdock:name=Flash Builder
    Unrecognized Java VM option ignored: -Xdock:icon=../Resources/fb_app.icns
    Unrecognized Java VM option ignored: -XstartOnFirstThread
    I read tons of threads explaining things i didn't understand.
    And then I remembered that I changed the name of a folder containing a Flash Builder project (I just removed spaces in the name).
    So I renamed it the way it was.
    Done...
    Hope it will help!

  • Hi, ive been having trouble passing my logic sessions to another computer, we're both using a macbook pro 10.6.8 and logic pro 9 with the same plugins, the session opens in the other computer but all the synths reset to presets

    Hi, ive been having trouble passing my logic sessions to another computer, we're both using a macbook pro 10.6.8 and logic pro 9 with the same plugins (native instruments komplete 7), the session opens in the other computer but all the synths reset to presets, this didnt happen the first time I shared a session, but its been happening lately quite often

    kwmlr439 wrote:
    CSOUND Read the title please:
    Re: Macbook Pro 10.6.8 RAM Upgarde to 8 GB
    The amount of RAM is not dependant on the operating system. It is all about the model of you Mac.
    10.6.8 is the version of OS X that is installed on your system. It has no real baring on the amount of RAM that CAN be installed.
    Personally I have never had good luck with Corsair RAM. I have always had good luck with Crucial and Kingston.
    Message was edited by: Shootist007
    Message was edited by: Shootist007

  • Create exe from a java prog that uses Jess rule engine

    Hi,
    Im not sure if this is the right forum but how do I do this?
    Im trying to use the free programs at
    http://www.excelsior-usa.com/articles/java-to-exe.html
    which links to java EXE creators like
    JSmooth, Launch4j, jstart32, exeJ, Java Launcher, Janel, jstart, Roxes Ant Tasks ,Marner Java Launcher, jelude
    I can't get them to work with the .clp .jar Jess file. Has anyone tried to convert a java file with Jess rule engine into an EXE? Can you please help me with it?
    thanks n best rgds
    rick

    I never had version 11.5 installed but I had the create bookmarks option. I had version 11.0 installed and had the create bookmarks option.
    I'm still having problems installing Crystal Reports XI R2. It makes it through the entire installation and then a screen pops up telling me that it can not find "CrystalReports.msi". It is looking for this file in a temp file. I use the browse button and point it to the proper file location but it still won't accept it. The only thing I can do is exit out of the installation. Am I doing something wrong? Do I have to do something special to upgrade Crystal Reports?

  • Launch Configuration using CIO object

    Hi,
    I am trying to launch Configuration using CIO object.
    plz find the code below, that am using.
    ===========START CODE==================
    Context context = new CZWebAppsContext("hostName","portNumber","dbcFileName");
    System.out.println("------------- Context object created ----------");
    ConfigParameters cp = new ConfigParameters(79160);
    System.out.println("------------- ConfigParameters object created ----------");
    CIO cioObject = new CIO();
    System.out.println("------------- CIO object created ----------");
    Configuration config = cioObject.startConfiguration(cp,context);
    System.out.println("------------- Configuration object created ----------");
    IUserInterface ui = config.getUserInterface();
    System.out.println("------------- UI object created ----------");
    ui.navigateToScreen("Page-1");
    System.out.println("------------- Page navigation ----------");
    =============END CODE==================
    am getting the following error after CIO object is created, while trying to start the configuration, at cioObject.startConfiguration(cp,context). The hostName, portNumber and dbcFileName are correctly provided.
    ============START LOG ====================
    ------------- Context object created ----------
    ------------- ConfigParameters object created ----------
    ------------- CIO object created ----------
    java.lang.RuntimeException: Null JDBC Connection returned from connection pool.
    Contents of CZWebAppsContext error stack: AOLJ_JAVA_EXCEPTION (MESSAGE=Not able to create new database connection. Cause:java.sql.SQLException: Io exception: The Network Adapter could not establish the connection)
    SECURITY-No gateway reconnect
    SYSTEM-ERROR (MESSAGE=Io exception: The Network Adapter could not establish the connection)
         at oracle.apps.cz.common.CZWebAppsContext.getJDBCConnection(CZWebAppsContext.java:116)
         at oracle.apps.cz.dio.DbTransaction.<init>(DbTransaction.java:61)
    ==============END LOG=======================
    plz help me in finding the solution.
    Regards,
    Adarsh

    Adarsh,
    Looks like the parameters passed in the constructor call are not valid ones and hence the database connection is not getting done.
    Context context = new CZWebAppsContext("hostName","portNumber","dbcFileName");
    Check the above call carefully and its parameters. I guess the dbcFileName might be the reason as other 2 entries are pretty easy to know.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I am taking courses online and the newer version of firefox 4.0 isn't compatible with the java, which I use on my web page. And I need to go back to the older version of 3.614. How do I reverse to what I had before?

    I need to get another version of firefox other than 4.0. due to the version not compatible or is unknown to the java I'm using on my web for online classes.

    You might try using the add-on 'NoSquint' which allows numerous zoom options specific to each page you visit & keeps your settings - https://addons.mozilla.org/en-US/firefox/addon/nosquint/
    If you want to go back to 3.6x, you will find it here:
    http://www.mozilla.com/en-US/firefox/all-older.html
    In most cases you can simply "upgrade" (meaning downgrade) directly from the installation. It would be a good idea to save your passwords & bookmarks just to be on the safe side.

  • How can we pass the select-option value to modulepool program?

    hi,
      how can we pass the select-option value to modulepool program ?
      Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
               My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
               How i get select-option values to PAI of call screen for getting the data from database table to my internal table?

    Oh I thought that you have selection-screen and again you are working on dialog programming.
    if you want to use select-option directly in module pool then it is not possible.
    but you can do other way.
    create two varaiables
    data : v_kun_low like kna1-kunnr,
             v_kun_high like kna1-kunnr.
    use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
    and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
    use can enter only low value and high value.
    when you come to program point of view
    declare one range
    ranges r_kunnr for kna1-kunnr.
    do the coding like
    r_kunnr-low = v_kun_low.
    r_kunnr-high = v_kun_high.
    r_kunnr-options = 'BT'.
    r_kunnr-sign = 'I'.
    append r_kunnr.
    now you can use r_kunnr in select query ,it will work like select-option.
    other than this there is no option.
    Thanks
    Seshu

  • Why does captivate 5 scorm 2004 change the pass/fail status when using complete/incomplete

    SUMMARY:  I am trying to use SCORM 2004 reporting but I am finding out ADOBE does not diffentiate between COMPLETE/INCOMPLETED and PASSED/FAILED variables in the SCORM 2004.
    RESULT: I can not accurately get the passing/failing status from the course.
    QUESTION: Is their anything I can do or does ADOBE have a patch they have release which will accurately report the passed/failed STATUS as well as the completed/incompleted status.
    OTHER RESEARCH: I even attempted to post these "proofs" on scorm.com and they have something called "SATISFACTION TRACKED" to accomodate content creation systems (CAPTIVATE 5) which does not follow the standards of SCORM 2004.
    BACKGROUND:  the report status "Incomplete/Complete" and "Pass/Fail" under the publishing options for SCORM 2004 essentially mean the same thing when the CAPTIVATE COURSE sends setvar commands to the SCORM API...  In other words the SCORM API receives the same exact commands when publishing in both modes.  "THIS IS WRONG"
    why is the wrong?  IF REPORTING; incomplete/complete ;  the CAPTIVATE 5 COURSE SHOULD NOT "change" the STATUS OF PASS/FAIL when attempting to report COMPLETE/INCOMLETE with 100% slide views.
    DEMO #3> SHOWS THE PROBLEM
    About DEMO #1 and DEMO #2> these are other reporting options I attempted with other problems arrising..so these images are just for supporting my original problem which is shown in DEMO #3...
    DEMO 1 (REPORT STATUS has no affect on reporting):SETTINGS:
    PASS: (PROBLEM)
    Anything above Passing Score is not recorded to LMS (once passing is reached...no more bookmarks are recorded)
    FAIL: (CORRECT)
    Failure gets sent to the database on the last screen with "completed"
    DEMO 2 (Report status  [Complete/Incomplete  Pass/Fail]   has no impact on commands sent to scorm api):
    SETTINGS:
    PASS: (CORRECT)
    Very Last page gets sent to the Database
    FAIL: (PROBLEM)
    NOTHING GETS SENT TO DATABASE (stuck in final score screen forever)...because it says "INCOMPLETE"
    DEMO 3:
    Report status [Complete/Incomplete Pass/Fail] has no impact on commands sent to scorm api
    SETTINGS:
    PASS: (CORRECT)
    Very Last page gets sent to the Database with a 90% passing with "completed"
    FAIL: (PROBLEM)
    LAST SLIDE SENDS "completed" but GETS SENT AS A PASSING SCORE??? even when it is a failure
    (IN OTHER WORDS ADOBE CHANGES THE PASS/FAIL STATUS based on slide views...
    this is WRONG ....REALLY WRONG becuase I am trying to report
    "COMPLETE/INCOMPLETE" for 100% slide views
    PASS/FAIL OPTIONS:
    OPTION I CAN PURSUE?
    SO WHAT CAN I DO?  YES, I CAN TELL THE LMS...to COMPARE THE SCORE RECEIVED DURING A "COMPLETE" status...and then change the grade in the LMS based on the SCORE IN THE LMS...BUT THAT WOULD MEAN THE LMS COULD REPORT ONE GRADE and the COURSE COULD REPORT A DIFFERENT GRADE....and that would not be good.
    ALL OF OUR COURSES SHOW THE STUDENT THE FINAL SCORE WITHIN EACH COURSE..
    QUESTION TO ADOBE?
    SO ADOBE when are you going to differentiate these two reporting options so that the PASS/FAIL OPTIONS ARE ACCURATELY REPORTED WHEN USING COMPLETE/INCOMPLETE?
    MORE INFORMATION
    HERE IS THE SCORM.COM "Satisfaction" adjustment (very last line) to accomodate inconsistent reporting in CAPTIVATE 5.
    Thanks,
    DOUG LUBEY OF LOUISIANA
    www.douglubey.com
    OTHER WEBSITES:
    http://forums.adobe.com/message/3332035
    http://forums.adobe.com/message/3122315
    http://forums.adobe.com/thread/712502?start=50&tstart=0
    http://forums.adobe.com/thread/800570
    http://forums.adobe.com/thread/720121
    SEARCH ENGINE REFERENCE:
    CAPTIVATE SCORM SUCCESS_STATUS
    captivate 5 scorm 2004 pass/fail is dependent on complete/incomplete
    scorm 2004 captivate cs5 success_status incorrect
    scorm 2004 captivate cs5 reports success_status incorrectly
    scorm 2004 captivate incorrectly reports pass/fail
    scorm 2004 captivate 5 incorrectly reports pass/fail
    scorm 2004 "captivate 5" incorrectly reports pass/fail
    captivate 5 sends a pass even when a failure is issued by the course using scorm 2004.
    captivate does not work properly when working with completed status.
    CAPTIVATE SCORM SUCCESS_STATUS COMPLETE STATUS SHOULD BE INDEPENDENT
    CAPTIvATE 5 cmi.completion_status
    and cmi.success_status does not work independently with scorm 2004.  they both share the same definition.  These two field were designed to help differentiate the difference between a passing or failing score and when the course is actually completed.   WITH CAPTIVATE 5 they do not differentiate the two.  COMPLETE means PASS and INCOMPLETE means fail..
    I was trying to use "completion_status" as a way to determine when all slides were shown.  So that I can send the final score (PASS/FAIL) the LMS after all slides were viewed and this was the absoluted score the student recieved.
    2011 CAPTIVATE CHANGES cmi.success_status TO PASSING WHEN COURSE REPORTS FAILURE
    2010 CAPTIVATE CHANGES SUCCESS TO PASSED WHEN COURSE REPORTS FAILURE
    CAPTIVATE 5 CHANGES cmi.success_status TO PASSING
    CAPTIVATE 5 CHANGES cmi.success_status TO PASSING WHEN COURSE REPORTS FAILURE
    CPTX CAPTIVATE CHANGES cmi.success_status TO PASSING
    CP5 WHY DOES CAPTIVATE SCORM SUCCESS_STATUS
    CPTX WHY DOES CAPTIVATE CHANGE PASSING STATUS
    CPTX CAPTIVATE SCORM CHANGES FAILING SCORE TO PASSING SCORE
    CAPTIVATE SCORM SUCCESS_STATUS COMPLETE STATUS MEANS THE SAME THING
    CAPTIVATE SCORM SUCCESS_STATUS COMPLETE STATUS SHOULD BE INDEPENDENT

    Hi,
    Here's something I found in a similar situation... hope this helps!
    After publishing your CP5 project as a SCORM 2004 zip file, unzip the file so you can get into the separate files.  Open the imsmanifest.xml file with a text editor; I like using Notepad++.  Search for the line starting with <imsss:minNormalizedMeasure>.  The complete line will probably look like <imss:minNormalizedMeasure></imss:minNormalizedMeasure>, this is the line that is supposed to contain your passing score (at least for our LMS).  So, if your passing score is supposed to be 80%, edit this line to be:  <imsss:minNormalizedMeasure>0.80</imsss:minNormalizedMeasure> and save the file.  Then select all the files and re-zip them, I use 7-zip for that.
    I found one other weird thing that doesn't happen 100% of the time, so test it.  In the example above, try to get a score of exactly 80% (or whatever passing grade you are using) and see if you get the correct status reported.  I found I sometimes have to re-edit that line in the manifest file to be 0.79 so it correctly includes an exact 80% score.  No idea why and you have to watch the number of questions in your quiz to make sure that works for you mathematically.
    If this works or not, I'd recommend posting your results so others can get some ideas.  Good Luck!!

  • Can't we pass java.sql.Connection as parameter toDatum() method

    I am in mid of java 1.3 to 1.4 migration, now I am getting the below error.can't we pass java.sql.Connection as a param to toDatum(), but I did the same before for another module and it worked fine, now I am getting the error.
    any changes need to be done?
    [b]toDatum(oracle.jdbc.driver.OracleConnection,java.lang.String) in oracle.jpub.runtime.MutableArray cannot be applied to (java.sql.Connection,java.lang.String)
    return array.toDatum(c, SQL_NAME);
    ^
    1 error
    I changed to use
    import oracle.sql.ORAData;
    import oracle.sql.ORADataFactory;
    instead of
    import oracle.sql.CustomDatum;
    import oracle.sql.CustomDatumFactory;

    In general, it's bad practice to be that "open" with regards to parameters to methods, especially when using remote invocations. However, if you really, really, really, really need to - and I doubt you do - you can use Serializable for the type of parameter. But that's still inelegant and, well, raises all sorts of issues, starting with your design...

  • Trouble passing iteration values between two separate VI's

    Hello,
    I'm having a bit of trouble passing a while loop iteration value from one vi to another.
    I have tried creating a sub-vi of the "B VI" and dropping the icon into the main vi (in picture called "A VI") and just pull the itereation value out this way. So far no luck as an error occurs which causes Labview to crash.
    I've spent a lot of time trying to use invoke nodes, globals and VI server references but I haven't gotten them to work either. 
    In the pictures below "A VI" is the main acquisition application. "B VI" is the motor control application. Each VI will run at the same time but with their own front panel. Anyway, I would like to pass the while loop iteration value (Called "Steps") from the "B VI" to the "A VI" (essentially use this itereation value to keep track of the number of motor rotations.)
    So far no luck so any help would be appreciated.
    thanks in advance
    SS
    Attachments:
    A VI1.jpg ‏149 KB
    B VI1.jpg ‏169 KB

    Hi,
    sorry for the confusion. I attached less confusing block diagrams...hope that helps .
    The only thing that is in B that i'd like to import into A is the "STEPS" iteration value. (its circled in green).
    I'm looking to have this iteration value (from B) updated as A's loop runs.
    I use the outside while loop instead of hitting the run continuously button....habit i guess
    Right now I'm getting stuck on using Vi references....I've modeled examples fromt the forums and i just can't get it to work....its driving me nuts.
    thanks again
    Attachments:
    A.jpg ‏57 KB
    B.jpg ‏49 KB

Maybe you are looking for