How to build a counter to add virtual costs?

Dear all,
I am just starting to useAdobe Captivate - mainly for elearning labs for medicine students. I have to following problem to resolve:
To a given medical record, students should be able to choose diagnostics - see e.g. x-rays on a seperate page. To make them thinking about what diagnostic is the first choice and what are the costs, I need a kind of counter that adds the costs of diagnostics to a bill.
I wanted to resolve this using a variable, and whenever a diagnostic page (e.g. five different available) is choosen for the first time, the amount that this diagnostic means costs should be added to the variable (once).
This total amount should be shown for the case to demonstrate total costs of the diagnostics choosen.
Can anyone give me a hint how to do that?
Thank you.

Hello,
I suppose those 'diagnostics' are on different slides? If not, please give some more details. If there are on different slides, and you provide navigation with buttons or other interactive objects on the main slide (you didn't tell which version you use?), here is a very simple scenario:
Create 6 user variables: v_counter (will store the sum), v_diag1, v_diag2, v_diag3, v_diag4, v_diag5, all with a default value=0
Create the image of a counter and put a text container in it, showing the user variable v_counter; put this image on the first slide where you want to show it, and time it for the rest of the project, preferably with the option 'Always on top'. You can hide it  from the slide where you do not want to see it any more if necessary.
On entering each diagnostic slide, trigger a standard advanced advanced action EnterDiag1, EnterDiag2.... EnterDiag5 with these statements:  
    Assign v_dagn with X    n=number of that diagnostic page (you have to create a different action for each), X is the score for that page)
    Expression v_counter = v_diag1 + v_diag2
    Expression v_counter = v_counter + v_diag3
    Expression v_counter = v_counter + v_diag4
    Expression v_counter = v_counter + v_diag5
You need that much expressions because Captivate allows only one operator and has no functions.
Use duplicate for the advanced actions, only the first statement (Assign) has to be changed for each action.
Lilybiri

Similar Messages

  • How to build a array with high sampling rates 1K

    Hi All:
    Now I am trying to develop a project with CRio.
    But I am not sure how to build a array with high sampling rates signal, like >1K. (Sigle-point data)
    Before, I would like to use "Build Arrary" and "Shift Register" to build a arrary, but I found it is not working for high sampling rates.
    Is there anyother good way to build a data arrary for high sampling rates??
    Thanks
    Attachments:
    Building_Array_high_rates.JPG ‏120 KB

    Can't give a sample of the FPGA right now but here is a sample bit of RT code I recently used. I am acquiring data at 51,200 samples every second. I put the data in a FIFO on the FPGA side, then I read from that FIFO on the RT side and insert the data into a pre-initialized array using "Replace Array subset" NOT "Insert into array". I keep a count of the data I have read/inserted, and once I am at 51,200 samples, I know I have 1 full second of data. At this point, I add it to a queue which sends it to another loop to be processed. Also, I don't use the new index terminal in my subVI because I know I am always adding 6400 elements so I can just multiply my counter by 6400, but if you use the method described further down below , you will want to use the "new index" to return a value because you may not always read the same number of elements using that method.
    The reason I use a timeout of 0 and a wait until next ms multiple is because if you use a timeout wired to the FIFO read node, it spins a loop in the background that polls for data, which rails your processor. Depending on what type of acquisition you are doing, you can also use the method of reading 0 elements, then using the "elements remaining" variable, to wire up another node as is shown below. This was not an option for me because of my programs architecture and needing chunks of 1 second data. Had I used this method it would have overcomplicated things if I read more elements then I had available in my 51,200 buffer.
    Let me knwo if you have more qeustions
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    RT.PNG ‏36 KB
    FIFO read.PNG ‏4 KB

  • How to specify Host Server for Replicated Virtual Desktops within RDVH Collection

    My question about how to specify Host Server for Replicated Virtual Desktops within Collection.
    I know there is a aswered thread on this, but that solution (wait a week) didn't work for me.
    So i have 2 servers, RDS01 and RDS02 with both 15 Hyper-V VM's and replicating to eachother. That part works fine.
    Now I wanted to make it easy for my users I build a Connection Broker: RDCB
    All went fine in that setup, but when I want to add the existing VM's from RDS01 and RDS02 to the collection it just radomly adds running ones and replicated ones.
    So both RDS01 and RDS02 have 15 VM's running and 15 replica's in stopped state, but when I look in my collection, it says RDS01 has 23 and RDS02 has 7 VM's. When I add them all, I see he wants to add a lot of stopped states replica's from RDS01 instead of
    the running ones from RDS02.
    How can I specify which one he should use? Or need I disable replication first, setup the whole RDCB collection thing, and then turn replication back on? Or does Hyper-V replication not work at all when used in a collection?
    I hope someone can help out here. I'm googling and trying for 1,5 week now, but i can;t get it right.
    Thanks in advance.

    Hi Robin,
    Thanks for your patience.
    After you removed Replication from 1 machine on both RDS01 and RDS02, please restart that machine. After that, please add this machine to the RD collection again to test how the issue goes.
    As we know, Hyper-V Replica provides asynchronous replication of Hyper-V virtual machines between two hosting servers. It is simple to configure and does not require either shared storage or any particular storage hardware. Any server workload that can be
    virtualized in Hyper-V can be replicated. Replication works over any ordinary IP-based network, and the replicated data can be encrypted during transmission. Hyper-V Replica works with standalone servers, failover clusters, or a mixture of both. The servers
    can be physically co-located or widely separated geographically. The physical servers do not need to be in the same domain, or even joined to any domain at all.
    Currently, would you please add only running state VMs to the RD CB collection? And would you please capture some screenshots of the error message? Thanks very much for your cooperation.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • How to build a query based on(UNION) 3 vendor InfoObject

    Dear Experts:
    I have a requirement to build one query based on 3 vendor InfoObjct: 0VENDOR + 0VEN_COMPC + 0VEN_PURORG.
    I tried to build a multiprovider upon these 3 infoobjects, but when I Identify(Assign) the key for each InfoObject, supposely there should be 3 InfoObject for me to check (0VENDOR, 0VEN_COMPC and 0VEN_PURORG) so that I can UNION these 3 infoobjects together on vendor number. But since the reference infoobject of these 3 vendor master data is different, I can not check the 3 together.
    Can anybody let me know how to build that query? I only need vendor number show once, and the attributes of 0VEN_COMPC and 0VEN_PURORG can be union to 0vENDOR.
    Any post would be appreciated and thank you all in advance!
    Best Regards!
    Tim

    Hi,
    you can create a link between the vendor objects itself, means link 0vendor with 0ven_compc and 0ven_purorg. This should give you a list of all vendors multiplied with the comp codes multiplied with the purch. org. May be here it is possible to create another link between a attribute (eg. comp_code of 0ven_purorg with comp_code of 0ven_compc). In case it is not possible you need to add this link information somehow. Another option might be to create 2 queries. One on a infoset of 0vendor and 0ven_purorg and another one on 0vendor and 0ven_compc.
    regards
    Siggi

  • How to display the count of a list item in Sharepoint Designer?

    How to display the count of a list item in Sharepoint Designer? please reply with the proper code line to add for this.

    Hello,
    What version of sharepoint you are using? Try below approach:
    http://sharepointlogics.com/2010/03/total-count-of-items-in-list-in.html
    Hope it could help
    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer
    Please feel free to unmark answer if does not resolves your problem.

  • How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?

    Hi ,
    anybody know  How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?
    I want to create lab but i couldn't  I follow this article but the new VM is off
    http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install-hyper-v-on-a-virtual-machine-in-hyper-v.aspx
    one of hyper-v component is not running
    thanks

    Previously it has been blocked to install Windows Server in the VM and then add the Hyper-V Role.
    However, it has always been possible to install Hyper-V Server inside a VM. (the free Hyper-V Server SKU)
    The Hyper-V Server VM is fully manageable, but it cannot start any VMs.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • How to build a query to join on two tables without mapping

    I did Automatic mapping by the workbench Directofield mapping with the table and java object.
    Wanted to build a simple join query by joining on the same field on both the tables.Not the sql query through the toplink using expression builder.
    Please help.............
    Spent one full day for this................

    Thanks Don for the reply,sorry to bug you,but i need help.....
    SELECT A.AGNCY_C,
         A.TYPE_C,
         A.RESN_C,
         A.S_TYPE_C,
         A.SUB_ID_C,
         A.RY_C
    FROM RATING A, REF B
    WHERE A.ID_C = B._ID_C
    AND A.ALPHA_C = B.ALPHA_C
    AND A.EFF_D >= B.MATURITY_D
    This is the real query i was talking about.I did mapping automatically through the workbench,generated java classes also throught the workbench.
    Now they don't want to execute the raw sql.They wanted to get all the RATING objects with the where condition.
    So how to build a query by using toplink.
    tried your example
    ExpressionBuilder builder = new ExpressionBuilder();
    Expression creditRating = builder.getTable("RATING").getField("ID_C");
    Expression issue_ref = builder.getTable("REF").getField("ID_C");
    Expression join = creditRating.equal(issue_ref);
    I am getting java.lang.OutOfMemoryError
    error.
    I selected the option generate classes and descriptors
    from the tables (RATING,REF).,so it created the classes and dscriptors automatically.
    In Database script for the table RATING like this
    ALTER TABLE RATING ADD (
    CONSTRAINT RATING_F1 FOREIGN KEY (ID_C, ALPHA_C)
    REFERENCES REF (ID_C,ALPHA_C));
    I think when i generate descriptor automatically it is keeping this association.
    Please help me.........

  • How to build a full dynamic WHERE expression in ADFBC Faces View Object ?

    Dear Steve
    >
    I need an example about how to build a full dynamic WHERE expression in
    ADFBC View Object
    In UIX I known to do that, but i don't kwown how to do in ADFBC Faces.
    please help me to see an example.
    thanks
    Juan Carlos

    You write an AM level method to set the where clause and you expose it as a client method. (just like you did before)
    Then you can drag this method onto a page as a button and then pressing on this button will execute the method.
    If you want this to be done automatically without pressing a button - you go to the pagedef.xml file for your page and add a methodInvocation binding to that AM method, and then add a method executable to the executables section calling this method.

  • How can iWeb hit counter be made to work with non-Apple server?

    How can IWeb hit counter be made to work with non-Apple server?

    This tutorial describes how to add an alternative counter to an iWeb page: iW05 - Adding a Graphical StatCounter as an HTML Snippet to an iWeb Page
    OT

  • How to build formula?

    Hi,
    Maybe someone of you can help me in such issue.
    I have data in that form:
    City, salesman, revenue.
    In Webi I want to create report wich shows revenue per number of salesmen in city.
    F.e.
    In City_1 there are 4 salesmen and sum of their revenue is 10000,
    in City_2 there are 4 salesmen and sum of their revenue is 30000,
    In City_3 there are 6 salesmen and sum of their revenue is 60000.
    The report should shows:
    Number of salesmen,     Revenue
         4 salesmen ,                   40000
         6 salesmen ,                   60000
    There is no City and no salesmen dimensions in the report.
    The question is how to build formula for Number of salesmen.
    Thanks for replying.
    Regards.
    MG

    hiding report body is an issue, but it can be done some how.
    Tell me something
    do you want the report like below
    city       no of salesman      revenue
    city_1   4 salesman            10000
    city_2   5 salesman            30000
    then try this
    variable 1 : no of salesman  =  count(salesman) In city      (note:make sure you use IN keyword)
    variable 2 revenue by city  =  sum(revenue) in City      
    in your report pull
    city  variable1  variable2
    let me know if this works.
    Thanks,
    Karthik

  • How to build a tuxedo client execute file with C++Builder?

    Hi,all.
    I can add include file with #include.Add include path and lib path to project option.Add
    libengine.lib,libfml.lib,libfml32.lib,libtux.lib to project file.I can build the
    project without error.And communicate with the local tuxedo server successfully.But
    I've failed to communicate with a remote tuxedo server.For I know that use buildclient
    -w to build a C windows client file.How to build a GUI client project with C++builder?
    Thanks.
    david

    David,
    For a /WS client, you need a different set of libraries than those you have listed.
    To see which, run buildclient -w -v
    Regards,
    Peter.
    david wrote:
    Hi,all.
    I can add include file with #include.Add include path and lib path to project option.Add
    libengine.lib,libfml.lib,libfml32.lib,libtux.lib to project file.I can build the
    project without error.And communicate with the local tuxedo server successfully.But
    I've failed to communicate with a remote tuxedo server.For I know that use buildclient
    -w to build a C windows client file.How to build a GUI client project with C++builder?
    Thanks.
    david

  • How  to build jdbc-jsr 169

    Hi,
    I read some instuctions about how to build jdbc-jsr 169 but I could not understand them. Can somebody tell me in details how to build and where to put it?
    I am tring to connect cdc app with derby 10.1.
    Thanks.
    Regards,
    tron

    You need to add a comma and asterisk to your pattern:
    Object Name pattern = new ObjectName("resin:type=ServerConnector,*");The pattern you are using will only match a single MBean with that exact name. There has to be an asterisk in the string in order for it to match like-named MBeans which have key/value pairs other than those in the string.
    For more on this, search in this javadoc for the string "property pattern":
    http://java.sun.com/j2se/1.5.0/docs/api/javax/management/ObjectName.html

  • Advice on how to build a business case for partitioning

    Hi Everyone,
    I'm the architect of a business intelligence/data warehouse team. We've grown to the point where I believe we need database partitioning. I believe we are at about 1.5 TB of data. Our largest tables are in the 100 million row counts with relatively wide record lengths (~100 columns). Our just sort of large tables are in the 10 million to 50 million range, however, they have very long row lengths (~300 columns). Based on our future source system plans, our data will become even more granular and there is still a need to maintain our historical data.
    Those aren't the only reasons, but are some of the larger driving issues that are making most members of our team think it's time we purchased database partitioning. Our team is pretty unanimous for partitioning, many of our source system partners also consider it a "no-brainer", however, we're getting push back from our CIO saying that 1.5 TB and 100 million records isn't that much data as compared to other "big data" companies and that it doesn't require partitioning.
    Does anyone have a advice on how to build an business case for purchasing partitioning? Is there a good way to demonstrate cost-vs-benefit value?
    Thanks for your feedback.
    -=Joe

    I'm going to be contrarian and start from the end of your post.
    >
    Does anyone have a advice on how to build an business case for purchasing partitioning? Is there a good way to demonstrate cost-vs-benefit value?
    >
    Yes - forget about cost-vs-benefit. That's the CIOs job not yours. You're an architect. Stick to architecture. Design and implement the architecture needed to meet the business requirements of your projects. If you are given requirements that can't be met with your current infrastructure then that is when you should propose alternative infrastructure.
    >
    We've grown to the point where I believe we need database partitioning. I believe we are at about 1.5 TB of data. Our largest tables are in the 100 million row counts with relatively wide record lengths (~100 columns). Our just sort of large tables are in the 10 million to 50 million range, however, they have very long row lengths (~300 columns). Based on our future source system plans, our data will become even more granular and there is still a need to maintain our historical data.
    Those aren't the only reasons, but are some of the larger driving issues that are making most members of our team think it's time we purchased database partitioning.
    >
    NONSENSE! That's what ALL of the above statements represent - UTTER AND ABSOLUTE NONSENSE.
    Who cares what you believe? Beliefs don't carry weight, facts do. You do list some facts: 1.5 TB of data, 100 million row counts, wide record lengths, large sorts, long rows, data will get more granular, need to maintain historical data.
    Ho Hum! So what? How do ANY of those facts indicate any sort of issue or problem, existing or potential, at all? They don't. You haven't provided information that suggests that ANY of those facts illustrate what Justin referred to as 'pain points'.
    Unless those facts prevent you from doing your job of providing an architecture that meets the business requirements you don't have a leg to stand on.
    My first reaction to your request would be similar to your cio's. Implicit in your cio's response are some questions you need to ask and answer
    1. What is it that you do now that you can't do with the current architecture?
    2. What is it that you need to do for an upcoming requirement that you can't do with the current architecture?
    3. What alternatives are available to modify the current architecture to do what can't be done in items #1 and #2 above?
    That #3 is where my skepticism lies. You seem to have already concluded that partitioning is the answer. Why? What problems do you think it will solve? Why not RAC? Why not a separate data warehouse system? Why not split that historical data off into an OLAP system? Maybe that can reduce the size of the OLTP system to where you won't have whatever problems you are having.
    Partitioning is just about addressing some performance issues. A lot of times partitioning is used more for management purposes such as loading/offloading data without impacting those huge tables you are talking about.
    If my hot queries use a primary key value to retrieve data it isn't going to matter much if the tables are partitioned or not.
    That is what sets the context for what Justin is telling you. You and your team need to document the constraints (and SLAs) your system currently has, how close you are to hitting those constraints, your options for avoiding/evading those constraints using the current infrastructure and the options for avoiding/evading those constraints using a modified architecture.
    It is up to the CIO to do the cost-benefit analysis of working within the limits imposed by the current infrastructure versus modifiying the architecture.

  • How to build an ObjectName pattern to list all objs of type=ServerConnector

    Hi,
    I would like to list all the MX objects of type=ServerConnector. How to build the pattern?
    The example below doesn't work (with pattern: resin:type=ServerConnector").
    It works when I want to list all objects and use pattern ("resin:*") or when I choose a specific ("resin:type=ServerConnector,name=b");
    Thanks for any advice,
    Ala
    {code}
    Object Name pattern = new ObjectName("resin:type=ServerConnector");
    MBeanServer mBeanServer = Jmx.getGlobalMBeanServer();
    Set poolNames = mBeanServer.queryNames(pattern, null);
    {code}
    And here all listed MX objects:
    resin:type=SessionManager,Host=default,WebApp=/
    resin:type=ServerConnector,name=i
    resin:type=ServerConnector,name=h
    resin:type=ServerConnector,name=b
    resin:type=Resin
    resin:type=ServerConnector,name=j
    resin:type=ProxyCache
    resin:type=Host,name=default
    resin:type=ServerConnector,name=c
    resin:type=ServerConnector,name=e
    resin:type=Port,name=192.68.1.50-6802
    resin:type=ServerConnector,name=g
    resin:type=ServerConnector,name=a
    resin:type=ThreadPool
    resin:type=WebApp,Host=default,name=/
    resin:type=WebApp,Host=default,name=/mya
    resin:type=ConnectionPool,Host=default,WebApp=/mya,name=jdbc/mya
    resin:type=ServerConnector,name=f
    resin:type=Cluster,name=cluster1
    resin:type=ServerConnector,name=d
    resin:type=SessionManager,Host=default,WebApp=/mya
    resin:type=Server

    You need to add a comma and asterisk to your pattern:
    Object Name pattern = new ObjectName("resin:type=ServerConnector,*");The pattern you are using will only match a single MBean with that exact name. There has to be an asterisk in the string in order for it to match like-named MBeans which have key/value pairs other than those in the string.
    For more on this, search in this javadoc for the string "property pattern":
    http://java.sun.com/j2se/1.5.0/docs/api/javax/management/ObjectName.html

Maybe you are looking for

  • Cinestyle Colour Profile For iPhone 6 Video

    Hi ! I'm a pro photographer and just started playing with the iPhone 6 video ... it's amazing. However, I find the colours and contrast too punchy and severe - so the video files it creates are not great to edit and grade in Final Cut Pro X. Does any

  • Numerous Problems With My Phone. Am I the only one?

    I got the Droid Charge in June 2012 so it's been about 7 months that I've owned this phone. The phone was fine at first but in the past few months, I've experienced the following: Phone shuts off at random times (when the battery is not dead) Phone r

  • TC losing connectivity

    After spending a few months working on what I thought was a backup issue (worked with Apple geniuses, service, friends, replaced TC) with TC (I'd get an error that the backup was delayed because the backup disk was unavailable), I've discovered that

  • "File Open" "Browse" Crashes Application

    Hi, I upgraded Leopard from Tiger this morning on my G5 PPC internal hard drive. In any application, if I select "file/open" or "browse" the application crashes. I repaired permissions and zapped the pram but still no luck. Is there any thing else I

  • Sharepoint search in webpart

    hi sir, I am working on sharepoint 2013. I want add shrepoint search functionalty on webpart. please suggest me. vijay