Manipulation of variables between Moodle and Captivate?

What I want:

-A highscore table that is stored in the SCORM package that I downloaded on Moodle.

-It sets and gets the variables to and from Moodle (image below).

scoretestpic2.png

Problem:
-Currently, it records the table of scores and is there when I closed and reopened the game.

-Every person has a different Highscores table. Everyone needs to see the same the highscore table.

Note:

-J' use JavaScript to manage the table of scores (set() and get() variables).

If you know how I could do it, it would be a great help, because I can't find anything on SCORM outside quizzes.

Thank you in advance.

There is no way to do with SCORM. You will need to do something like the brothers e-Learning:

How to create a ranking for e-Learning with Google (part 2)"eLearning brothers

Tags: Adobe Captivate

Similar Questions

  • Passing variables between LabVIEW and TestStand

    Hello

    I'm just learning how to use TestStand and although there are a multitude of resources available, I always find me at a loss on how to pass variables between TS and LV, leaving me to think that there is one fundamental thing that I'm missing which is likely, given that I have a weeks experience with LabVIEW and a days of experience with TestStand.

    I took a glance to the example of 'Clusters' to the Code Modules in TestStand examples (I use TS 2016 if it matters) because I thought it would be quite ideal for what I hope. In this case, I hope to be able to pass a string (a file path) to LabVIEW and VI power take this string and use it as part of an order for the Exec.VI system.  Then, I would be able to pass strings back to TestStand to show the user if an error occurred, but I thought I should get the first part of work.

    I guess my question is what do I have to wait to see in clusters to the example of the Modules of Code? The Watch window displays all defined variables premise on which has the ContainerOut in the Variables pane, but I don't see any kind of update on facades (VI1.vi and VI2.vi) LabVIEW code. Should I be?

    I looked at a few other discussions of the forum here and here, as well as the document of the basis of knowledge here, but could not recreate their solutions. It seems that the connector pane would be a viable way to go, but I'm not sure on how we create and use effectively. According to this document , it makes it seem like it should be simple enough to makes these terminals, but I am still missing a key step. I was able to follow all the steps on the knowledge base document and run the sequence, but then had no idea if it worked or not; I have the report show me the values of the variables I put, but I have no idea whether or not he actually did anything with the LabVIEW VI, or how I could see that.

    Please let me know if you need further information or clarifaction everything I ask.

    Thank you for your time,
    JColvin

    Digilent, a company of National Instruments

    If you want to enter values, you must create a vi for instance dialog box

    The OK button will allow new values to pass to the output terminals.

    A Cancel button will pass just the original through the output values without alteration. The VI will close when either the OK button or cancel were pressed.

    Concerning

    Ray

  • Connect the large number of parameters and variables between Verstand and model of Labview

    We have an installer of dyno with a chassis PXI-E running Veristand 2014 and 2014, inertia. In order to strengthen the capabilities and timing of the Veristand, I would use models of Labview to perform tasks is not possible by Veristand and inertia. An example of this is to determine the maximum amount of a large number of thermocouples. VeriStand has a comparison function, but it compares two values at once. This makes long and rigid emissions. LabVIEW, on the other hand, has a function which words one to get the maximum items in a table in one step. I need to use Labview to 'send' the thermocouples of 50 or more to the Labview model. In addition to the variables that must be communicated between Veristand and Labview, I also need to present Labview with the threshold and setting parameters. Forums and user manuaIs understand that you must use the connector pane in Labview Veristand System Explorer mapping to expose the inports and isolated villages. The problem is that the part of Labview connector is limited to 27 I/O. How to overcome this limitation?

    BTW. I'm relatively new to Labview and Versitand.

    Thank you.

    Richard

    You can work around this limitation by putting your orders and clusters indicators. Then set the cluster to be required or recommended to indicate whether contained controls are entered or parameters, just normal.

  • How to pass variables between Labview and Teststand

    It is probably a trivial question, but I'm new to TestStand. All I'm doing is updated to a variable in Labview and then pass this value in a local variable Teststand. A simple test that VI is attached. I get no error and it seems correct, but when I followed the variable via TS watch display is not updated. Also I am not able to read the variable outside TS. It is probably a trivial thing, I'm doing wrong, but I'm stuck.

    Too bad, it was simple. Just need to add the context of sequence as input, then set it to ThisContext TS

  • Variable between TestStand and Labview

    Hi all

    I'm looking to get a tutorial giving an example of use of TestStand Toolbox in Labview to communicate with TestStand.

    I'm just new to that sort of programming and even after having made the tutorial OR "in aid of TestStand.pdf', I don't how can exchange data.

    Thank you

    Vincent

    Hello

    In the pane adapter module, you must file a local TestSTand variable (or expression) in the colum value. Uncheck the box to check by default and remove attributes and it should work perfectly.

    Kind regards

  • passing variables between CFSCRIPT and Javacript

    The example below is a very rough diagram of what I am triying to do but is there a way to do it with cfajaxproxy or something? Can we post or a link to an example please?

    < cfscript >

    name = "hulfy".

    < /script >

    < script >

    var myName = #name #.

    < /script >

    The easiest way is to use tags around your script tags cfoutput.  It will work for simple variables.  For tables, queries, etc., toScript() or cfwddx would be useful.  As far as I know, they do the same thing.

  • How to share a variable between the Mathscript Windows and a Mathscript node

    Hello

    I'm trying to share (just) a variable between the Mathscript Windows and a Mathscript node. I don't know why, but the use of the "global" Matlab function makes the mathscript node output formats change.

    I'm looking for a "Mathscript RT V9.0.1 module" as it may seem, there is. French technical support have some difficulty to find...

    Hi patrick33,.

    The code that you have attached should not report an error, so it seems that something has gone wrong with your installation of MathScript. My best guess is that it is the problem that is described in this knowledge base article. Your signature says that you use f3 patch, which is a good start. But the KB lists some other steps to take when you see errors about MathScript, impossible to compile. Can you try the procedure described in the article and let us know if that fixes the problem?

    Thank you

    jattas

    LabVIEW MathScript R & D

  • Variable shared between PC and myRIO

    Hi all

    I have a shared variable generated on a PC VI and I want to read this variable on a VI myRIO. I simplified it down to a simple generator of random numbers on my PC that updates all the 1 second and writes in a shared variable node. I then a random number (shared variable read node) receiver on my myRIO who should read this varable it updates. However when I run the two screws of the random number on the myRIO receiver does not refresh from a value of 0. Any thoughts on how to solve this problem?

    The issue only seems to happen when I try share a variable between the PC and the myRIO. If I have the receiver and random number generator communicate via shared variables nodes on the same hardware, for example on the PC or on the myRIO both the shared variable is transmitted and updated perfectly. I also made sure the shared variable engine is installed on my myRIO and the variable is set to the published network.

    I have attached a few screenshots of the dagram of block and I am happy to download the screw if this makes it easy for you guys.

    Thanks in advance!

    Ben

    Thanks for the advice natasftw, I will consider for the future.

    I managed to solve this issue this afternoon. It ends up being a firewall problem. I had previously allowed the engine variable to OR through the firewall, but that has not solved the problem. I visited this page (http://digital.ni.com/public.nsf/allkb/0D7B86F4B4D19A5E86256F9A006EECB1) and unblocked these three elements.

    C:\Windows\SysWOW64\lkads.exe

    C:\Windows\SysWOW64\lktsrv.exe

    C:\Program NIUninstaller Instruments\Shared\Tagger\tagsrv.exe

    Thank you all for your help, it is much appreciated!

  • Sharing the values of substitution variables complex between ASO and BSO of databases

    We ASO and Essbase BSO names of members of database with spaces in and need to store some of these member names in the substitution variables. However, this should be done differently for ASO and BSO, due to script syntax calc requiring double quotes and MDX requiring hooks. For example:

    ASO:
    & CurWeek value = 1 week
    MDX: [& CurWeek]

    ASF:
    & CurWeek value = "week 1".
    Calc script: & CurWeek

    Therefore, the substitution variables can be shared between ASO and BSO, cubes because the value of the variable BSO requires double quotes because of the space in the name of the Member.

    Is there a way to get the above to work with ASO and OSB? Unable to escape the quotes in the calc script syntax? Or double quotes can be removed in the MDX formula?

    Yuck! I'm curious to see if someone has a really elegant solution to this. :)

    I'm sure you have seen this already, but a workaround is to create an alias that is not a space (or probably better, use a name without a space Member but leave some space in the alias).

    What is your specific motivation to avoid the solution two variables? If it is purely of synchronization, do not forget that even with a variable unique no guarantees of the formulas of Member ASO and BSO calc scripts will be always synchronized without a response, because the formulas (by the SER60) pick up not a new value until the application is restarted.

  • Synchronize the values of variables of substitution between Essbase and planning

    Hello
    In EMP 11.1.2.1 version (but we noticed the problem also in previous versions of EPM) when we set the value of a variable substitution in Essbase, the value is not immediately updated in planning: for a while, we see the old value. The value in the planning remains unchanged even to disconnect or exit planning and reconnect.
    On the contrary if we restart the planning service, the value is immediately updated
    Since we would like to use the Essbase substitution variables to manage some selections in forms of Entru data planning, is it possible to force a synchronization, or increase the frequency of synchronization between Essbase and planning?

    Concerning

    Francesco Quaranta

    Take a look at the definition of ownership of planning SUBST_VAR_CACHE_LIFETIME

    http://docs.Oracle.com/CD/E17236_01/EPM.1112/hp_admin/properts.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • reset of movieclip between levels and passing the required variables

    Hello

    I am currently working on my first flash game and were able to get close enough everything works...

    I can play individually at each level by manually changing the variable "level =" (at any level I want to play) in actionscript code...

    Now I need to find the right way to reset the movie after each level, but still pass the variable Timer "currentTime" and "level"...

    Is there a usual way to do this?

    Can I use the variables I saved in the init() function...

    I really hope someone can help I'm so close being completed...

    Use the trace() function to debug your problems.  What is the next show:

    If ((level == 71) & (gamePage.a1.hitTestObject (gamePage.h1) & gamePage.h1.occupied == true) {})

    spinSpinner();

    Level = 1;

    trace (mainTimer);

    mainTimer.reset ();

    mainTimer.start ();

    removeChildAt (0);

    addChildAt (completePage, 0);

    } else {}

    gamePage.helpIcons.gotoAndStop ('icon7');

    }

  • JavaScript - the difference between ' window ' and 'document.'?

    Hello

    I'm a Javascript newbie which ended just by the first screen of Captivate (CP9) (HTML5) using Javascript.

    A slide with several text entry areas (TEBs) and a Submit button, which performs a function to validate the TEBs (thank you David for have started me).

    I call the function in the script of the Submit button window and have Javascript code in the Index file.

    In the Javascript code, I used the ' windows ' and 'document '. (don't know if I've used them correctly but the works of Javascript)

    I don't really know the difference between them.

    In Javascript, I know that window is loaded in the browser first, then the document is loaded in the window.

    It's like the window is your browser window and the document is the HTML page inside.

    Also, you can use each of them to access specific properties - and window has a context.

    Some examples of my javascript:

    • window.cpAPIInterface.setVariableValue ("q1_fback", "");         -erase a message of feedback (text of legend with variable) associated with BER
    • document.getElementById("Text_Entry_Box1_inputField").style.border = 'solid red medium. "  -modification of the border of an object invalid BER (red)

    My question is:

    1. What is the difference between ' window ' and "document." in a context of Captivate?

    I will post you more questions to find out how:

    1 use loops to knock down my code

    2 reuse the same function in other slides

    Concerning

    Donal.

    Your assumptions are correct.

    the cpAPIInterface is in the window.

    The Text_Entry_Box1_inputField is in the document, not the window, but you can use:

    window.document.getElementById("Text_Entry_Box1_inputField").style.border = 'solid red medium. "

    Scope of variables depends on how and when they are declared, and it is generally best to limit their scope and not use them globally in the window object. All seem to be available in the cPs variables window.

  • Localhost UDP connection between FCR and Matlab

    Hi all

    I have a question about the connection between Matlab and FCR UDP. My idea is to Exchange data between Matlab and Labview on the same computer.

    So I found the 'UDP Simple' of the FCR 2.0 sample project where periodically a datasample is generated randomly and sent to the remoteport 61557 local host. In the project a 'fractional number of string for transmission' is used for the transmission of data. The receiver of the sample project reads from the same port to receive the datasample.

    Now, I'm interested to read this simple stream from Matlab (just at first), however, it does not work and I'm not sure why. What I do in Matlab is the following (code Matlab)

    delete variables;
    u = udp ('127.0.0.1', 61557); % Of installation UDP Object
    fopen (u); open reading port %
    A = fread (u, 1);  % read an element
    fclose (u);

    With this code, however, I get a timeout by saying: "' WARNING: unsuccessful reading: the amount of data specified has not been returned within the time limit." "

    I'm not sure why this happens, maybe you could help me out here? I guess that the formet serving to VCF is not the same as in Matlab? Maybe the Terminators are not the same?

    See you soon,.

    Steve0

    Hey

    So, regarding the problem actually, I found the solution today. It was not the firewall, but a simple configuration in Matlab seting the UDP port. So the side of Matlab, to change the definition of udp object according to

    u = udp ('127.0.0.1', 'Thelocalport', 61557);

    If you have

    u = udp ('127.0.0.1', 'Thelocalport', 61557);
    fopen (u);

    A = fread (u)

    fclose (u);
    Delete (u);

    Who does the trick and you can read from the port. Then of course you say Matlab that you read from the "LocalPort" x, which I wasn't aware of.

    On the transmitter side, you simply:

    u = udp ('127.0.0.1', 61557);

    fopen (u);

    fwrite (u, '1');

    fclose (u);
    Delete (u);

    Here, you set just the port of transmiting.

    About the format of the data: I used the simple UDP protocol streaming Comms project where a random number is generated as a double, transformed into a string (ASCII values) and transmitted. At the level of the receiver, you get as much the UDP packet with the ASCII values that you must turn if you want to find the number.

    I hope this helps anyone having the same problem.

    See you soon

  • Delay between angle and entered analog on a 6221

    Hello

    my test setup consists of a (8184 current run LabVIEW RT) embedded PXI controller which uses a PXI-6221 of data acquisition. One of the outputs analog of the 6221 creates a demand for speed that is sent to a servo controller. the servo drives then the test configuration. Between the servo and the remaining test configuration, a quadrature encoder is located. Both the 6221 meters are used to measure the position of the servo (using the trains of pulses A and B) as well as the speed of the servo (frequency of A pulse train). In addition to these counter inputs, some analog inputs of the 6221 serve as well to recored the configuration of test signals.

    In this configuration, one of the analog signal has a frequency of n periods per revolution of servo (determined by the mechanical design of the test facility). But when I leave the servo turn to for example 100 rpm, then decelerate from status quo with a constant deceleration and then draw the analog signal against the measured angle, I see clearly that as long as the speed is telling, I n periods per turn (or a passage from my analog AC to zero each 1/2n towers); However, as soon as the slowdown begins, the plot gets stretched along the axis of the angle (so the plot tells me there are less than n analog periods per turn, which is impossible because it would require the mechanical destruction of the facility).
    However, I can calculate a position based on speed information signal, as I got to the second counter (by integration of the speed). When I do this for the above velocity profile and draw the analog signal against the calculated angle, I see exactly n times / revolution, no matter how fast the installation program is rotating (just the expected behavior).

    So, apparently, the speed measured is "in phase" with analog signals, while the measured angle has a "phase error. Draw the angles measured and calculated against the time tells me the same thing: the measured angle is always late (compared to the calculated angle). The period is not constant throughout the measurement; I've seen values between 30 and 170 ms within a single record. Due to this change of variable, inserting a delay for all channels, but the angle is not a great idea.

    Unfortunately, calculation of the position of the speed signal is no option for me, because the direction of rotation is changed during measurement; because speed information I have based simply on a frequency of pulse train, it contains no information management, therefore a calculated position would be unaware of the changes of direction.

    Does anyone have an idea whence thios delay and what I can do to fix this problem?
    Try a position different methods of decoding or exchanging the meter channels has not made a difference.

    Thank you!

    Hey Kevin,

    attached you will find the last block diagram (no new translation this time, since no changes have been made that require a), which includes your last suggestions (explicitly start the task of AI, remove the excess constraints) with a flat sequence structure that applies all the preparations of task to finish before the start of the first task (I know I could have achieved the same effect of intelligent routing of the signal error, but I think the code is) better readable this way).

    Without OPI, LabVIEW tends to start to have, ao and tasks of the angle of the very different moments, which (for some reason that I don't understand - we have a sample clock based calendar here, and the sample clock is run, well after the three mentioned tasks...) tends to cause delays in the order of several 10-100 ms between tasks. With the structure, this problem is eliminated.

    The Sub - VI just above DAQmx writing contains the "conduct" code that I used in the last screen shot to "serialize" the requested speeds - in this way, the table that contains the requirements of speed does not need to be rebuilt.

    The code that creates a weather channel frequency implicitly timed measure left the VI shown here in a second VI that is running on the host computer, because everything that involves a calculation and does not require any intzeraction with the DAQ hardware is better placed there (the 850 MHz on the PXI controller celeton is slower than 2 definitiely something host GHz Dual-Core system).

    The behavior you mentioned for the task "not started" HERE is what wrote using LabVIEW. I thought the block of relaxation that I had at the beginning would treat the start of the task - at least, the code like this figure repeatedly in the examples that come with LabVIEW.

    I don't really understand what has caused the problems I've had - it seems that it was the combination of the measure quickly loop iteration with the start of task based on trigger HERE, but I do not understand what are the mechanisms in the background caused the problem (too forced loop was not the cause; the same block diagram works well with an additional loop timer).

    If the solution was composed of the following steps:

    -remove the old code calculating speed, replace it with a better code out of the main loop. This allows to

    -reduce considerably the frequency of the main loop.

    -Pull the DAQmx writing out of the loop, and

    s ' ensure that all tasks are started explicitly just before the main loop starts to run.

    -Possibly remove excess constraints of the main loop.

  • Variables between executions of compensation

    Hello

    I'm pretty new to LABVIEW.

    When I run the VI several times it sometimes clears the output fields (for example, a table or a string) and sometimes prevents the results of previous races.

    How can I clear the variables between tracks?

    Thanks in advance

    Yuri

    iurik wrote:

    Hello

    I'm pretty new to LABVIEW.

    When I run the VI several times it sometimes clears the output fields (for example, a table or a string) and sometimes prevents the results of previous races.

    How can I clear the variables between tracks?

    Thanks in advance

    Yuri

    Several ways

    1. you can initialize values before each session

    2. you can use Reset all to default (Invoke node)

    Clear understanding of its best to share the code for

Maybe you are looking for