Saving and recalling users actions

I basically need to know if the following scenario can be
accomplished using flash and or additional technologies (e.g. XML).
I'm creating a product demo for a client. The client wants the user
to set a number of setting on this product and then save these
setting to be recalled. Think of it as presets on you radio. Turn
the dial (action 1 to be saved), set the volume (action 2 to be
saved), then set the bass (action 3 to be saved), then press and
hold the preset button. Now your settings are saved on preset
number 1. The user can now press preset number 1 and experience all
the effects (station, volume, and bass).
Can this be accomplished using flash? how would the settings
be saved? Would they be written to another file XML? Finally, and
this is the kicker, can this all happen if the demo is run off of a
burned CD or thumb drive (both methods might be used for
distribution)?
THANKS!

I believe you could get all this done with a SharedObject.
This type of object will create and store data on that persons
local drive. So the preferences could be copied to a string and
then saved to a shared object property when the preset button is
clicked. Including a counter function will enable the user to
access those values as the new defaults then next time they use it.
I have used this to set preferences like user name and background
color and it works quite well.
Type "SharedObject" in an AS frame and press help for
examples and process.

Similar Messages

  • ActiveX container disappears after vi saved and recalled

    I can create a container and insert an active x object.
    The vi will run but if saved and recalled the control
    disappears! No other indication of a problem.

    This problem was related to the MS Forms 2.0 scrollbar. After talking to NI they recognized it as a known problem but it was not posted. The solution was to use the Microsoft Flat Scrollbar Control, version 6.0. This is fine except for the time spent looking around. It would have helped if it had been posted originally.

  • Best practice for saving and recalling objects from disk?

    I've been using the OOP features of LabVIEW for various projects lately and one thing that I struggle with is a clean method to save and recall objects.
    Most of my design schemes have consisted of a commanding objects which holds a collection of worker objects.  Its a pretty simple model, but seems to work for some design problems.  The commander and my interface talk to each other and the commander sends orders to his minions in order to get things done.  For example, one parrent class might be called "Data Device Collection" and it has a property that is an array of "Data Device" objects.
    The Data Device object is a parent class and its children consist of various data devices such as "DAQmx Device", "O-Scope Device", "RS-232 Device", etc.
    When it comes to saving and loading data, the commanding class's "Save" or "Load" routine is called and at that time all of the minions' settings are saved or recalled from disk.
    My save routine is more-or-less straight forward, although it still requires an overwriting "Save" and "Load" vi.  Here is an example:
    It isn't too bad in that it is pretty straight forward and simple and there also would be no changes to this if the data structure of the class changed at all.  It also can save more generalized settings from it's parrent's class which is also a good feature.  What I don't like is that it looks essentially the same for each child class, but I'm at a loss on an effective way to move the handling of the save routing into the parent class.
    The load routine is more problematic for me.  Here is an example:
    Again, the desirability of moving this into the parent class would be awesome.  But the biggest complaint here is that I can't maintain my dynamic dispatch input-output requirements because the object that I load is strictly typed.  Instead I have to rely on reading the information from the loaded object and then writing that information to the object that exists on the dynamic dispatch wire.  I also dislike that unlike my Save Routine, I will need to modify this VI if my data structure of my object changes.
    Anyway, any input and insight would be great.  I'm really tired of writing these same VIs over-and-over-and-over again, and am after a better way to take care of this in the parent class by keeping the code generalized but still maintain the ability to bring back the saved parameters of each of the children classes.
    Thanks for your time.

    I'm with Ben. Don't rely on the current ability to serialize an object. Create a save method and implement some form of data persistence there. If you modify your class you might be disappointed when you cannot load objects you previously saved. It mostly works but as soon as you reset the version information in the class, you can no longer load the old objects. This is fine if you know how to avoid resetting the history. One thing that will do this is if you move the class into or out of a library. It becomes a new class with version 1.0.0 and it no longer recognizes the old objects.
    [Edit:  I see that you are just writing to a binary file. I'm not sure you can load older objects anyway using that method but I have never tried it.]
    This will not help you right now but there are plans for a nice robust API for saving objects.
    =====================
    LabVIEW 2012

  • Help Saving and recalling a TDS Waveform from a file.

    I have tried everything I can find in the examples with no luck.
    I have a Waveform that I have acquired on my TDS 360. I have it ouput to a graph on the VI front panel.
    That works great.
    The Graphed waveform is exactly what I need.
    Now all I want to do is save this to a file and be able to recall it later on another graph.
    I have to do 10 acquistions in a row and store each one as a serperate file.
    I want to be able to recall them one by one to a graph for analysis.
    Please does anyone have an VI I can copy.

    Try this. The Tek Read Waveform returns a cluster that the waveform graph can accept but the Write Measurement File expects either a signal data type or a waveform data type. The code below will convert the cluster to a waveform data type.
    Message Edited by Dennis Knutson on 02-27-2007 10:59 AM
    Attachments:
    Save Tek as Waveform.PNG ‏7 KB

  • Saving and Recalling a LIST on an Agilent N3300A DC Load Bank

    I need to generate a LIST (on a PC) that changes resistance values of the different channels (3 channels total) simutaneously
    or one right after the other.
    Then I need to use LV to send the LIST to the N3300A and *SAV the LIST.
    Then ofcourse recall the LIST and get it to run.
    Anyone know how to do this?
    I looked at the NI N3300A driver set but I am a little confused by the %,%g used in the create LIST vi.   Plus it looks like it
    only sets up one command.
    I am trying to get the LIST functionality working as the units we have do not alway respond as expected when the
    commands are sent through LV, via the CRIO 9012 com port to a ni RS232-GPIB converter.  For example when I query
    the units ID,  sometimes it responds and other times nothing.  Hmmmm  not sure why that is.  The serial com functions
    were based on the CRIO RS232 - GPIB Converter example.   CRIO Com settings are 9600, 8,n,1,  same as the settings for
    ni RS232-GPIB converter  (was setup via GPIB Wizard).
    Thanks
    Tim C.
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!

    Hey Tim,
    When I tried out the Configure List VI (I think the one that you were referring to), I noticed that all of the inputs accepted array functions which would allow you to configure more than just one function at a time.    (actually on second look, the configure resistance list is what you were probably talking about, but same comment applies)  Once you configure the list, you just initiate the list.  Is this what you are doing?
    The %.; is a period decimal separator (meaning that "one and one tenth" shows up as "1.1" not "1,1" as is the standard in other parts of the world) and the %g tells the string to be formatted as either an exponent or floating point number based on if there's an exponent.
    If you're getting weird behavior with all of these components in the system, take out a few pieces of the puzzle and work it back up from there.  Do you see the same behavior when connected directly to your device with a PC?  Have you sent commands back to your PC from the cRIO to make sure that it is sending out proper commands (probably more feesible if you don't have a GPIB card in your computer).   Hope this helps! 
    Message Edited by ColeTrain on 01-07-2010 03:13 PM
    ColeR
    Field Engineer

  • URL iView - Open in new window - User Action Independent

    Hello Experts,
    What has been configured:
    I have built an I URL iview and set its paramater to open in a new window. I have assigned the iview to a role. I have also assigned a quicklink to the iview
    Name: xyz
    quick link: xyz
    quick link url: https://<domain>/irj/portal/xyz
    What has been tested:
    When I log in to the portal using the test user ID and click (user action) on xyz the destination URL pops up in a new window as expected.
    When I access the iview via the quick link it loads the destination URL in the same portal window (no pop up)
    What do I need:
    We will be using the quick link to get to SAP portal from another legacy portal and I want to hit the target URL as soon as I access the quick link without being taken to the portal page in which the target URL content is rendered. I also do not want to have the user click on the/a link to navigate to the target URL.
    Things as they stand:
    The destination URL is hitting a standalone WD ABAP object which is not hosted in SAP portal content. The SAP portal has to be used because the logon ticket issued by the portal is also used to login to the server hosting the WD ABAP.
    Please let me know if you think this is something that can be achieved.
    Many thanks,
    Prashanth

    Hi,
    2. It is not possible to hide it completely or disable it. Give this a try:
    Create a Static HTML page and create a link in that which will take you to quick link page/iview.
    or you can create a custom application which will call the application underlying the quicklink on click of a link.
    3.  For removing the History, Back and Forwards links in Page Title Bar, follow the below:
    In Portal navigate to Content Administration - Portal Content - Content Provided by SAP - End User Content - Standard Portal Users - Open the Default Framework Page
    With the Framework Page - you will find Page Title Bar iView - Open the iview and go to iView Property
    Show Back/Forward Links and Show History List by default this setting is set to Yes. change teh setting to No and you will not be seeing those in the page title bar.
    NOTE: If you make this change it is applicable to all other pages and iViews. So be cautious before making the change.
    Hope this helps.
    cheers-
    Pramod

  • Need to have pop up window in selection screen and capture the user action.

    Hello Friends,
                         I have a requirement, that need to show a pop up window after execution, and to get the action from user using a Push button.
    I create a selection screen and a sub screen as window.
    After user execute from the selection screen, I am popping up this window.
    Window contains some input values to be entered and push button to identify the user action.
    I try to capture the user action using sy-ucomm, but it does not hold any value when user press the button.
    How to overcome this issue.
    Here is the definition of the window.
    Pop Up Window for getting values
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title .
    PARAMETER : p_vdate LIKE t9aa01-validfrom,
                p_dcggt LIKE t9aa01-hkont,
                p_dcgst1 LIKE t9aa01-hkont,
                p_dcgst2 LIKE t9aa01-hkont,
                p_na LIKE t9aa01-hkont.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 20.
    SELECTION-SCREEN PUSHBUTTON 2(10) text-001 USER-COMMAND SVE.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF SCREEN 500.
    Cheers,
    Senthil
    Edited by: Senthil on Jan 7, 2008 11:03 AM

    Hi,
    Try using the below code.
           data : w_var type string.
           CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
             EXPORTING
              DEFAULTOPTION        = 'Y'
               textline1            = 'test '
             TEXTLINE2            = ' '
               titel                = 'check'
             START_COLUMN         = 25
             START_ROW            = 6
             CANCEL_DISPLAY       = 'X'
            IMPORTING
              ANSWER               = w_var.
                     if w_var = 'J'.
                     else.
                     endif.
    Comments : J indicates Yes and N indicates No
    Regards,
    Jeswanth

  • TS3276 Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Apple Mail isn't going to change the format of any of your attachments. it isn't going to corrupt them either.
    Exchange is a transport protocol and server. The issue you describe is not related to Exchange.
    There are many different versions of Microsoft Outlook in use and they all have e-mail bugs. Different versions have different bugs. Some Apple Mail hack to get around a bug in Outlook 2003 may cause the same message to be problematic in Outlook 2000. Fix them both and another issue will cause trouble in Outlook 2007. You can't fix this. Apple can't fix this. Microsoft can and has but that is irrelevant if your recipients are using older versions.
    One specific problem is that Apple Mail always sends image attachments inline, as images, not as iconized files. You can change this with Attachment Tamer. Just be aware that use of this software will break other things such as Stationery. E-mail is just a disaster. To date, no one outside of Apple has ever implemented the e-mail standards from 1993. Apple has continually changed its e-mail software to be more compatible with the de-facto standards that Netscape and Microsoft have unilaterally defined and people documented as "standards" after the fact. The e-mail messages that Apple Mail sends are 100% correct and do not violate any of the original standards from 1993 or the Microsoft/Netscape modifications. The problem is entirely bugs and limitations in various versions of Outlook.

  • HT4314 I have tried to log into clash of clans on my iPad and it just keeps going to a new game rather than the one saved on my iPhone. I have been using the game centre and same user name and password ?

    I have tried to log into clash of clans on my iPad and it just keeps going to a new game rather than the one saved on my iPhone. I have been using the game centre and same user name and password ?

    I have the same problem.. EXACTLY. .  When phoning Apple Support they had trouble understanding my problem and couldnt find any type of solution. No one seems to take responsibility for GameCenter issues. The assistant escalated the problem but no one could find an answer. .
    The only idea was to set up a new apple id, hence a new GameCenter account. . But that would loose all the itunes data. Anyone got ideas ?

  • How can I localize the text of process names, task names and user actions within a process?

    I'm very interested in using the capabilities of Adobe LiveCycle Process Management for my project, however I have one rather large concern...   I hope someone here can tell me whether there's a way to address it.
    Since I work for the Government of Canada, I have to meet certain requirements relating to bilingualism of the user interface.  It's my understanding that the Workspace portion of LiveCycle has already has support for French.
    But what about the design of my processes?  How can I display text to a user in the language of their choice when they're interacting with my processes? ... in particular, I'm thinking about the process name, task names, and user actions.
    I hope that this is possible without too much pain.  I imagine this must be a pretty common requirement!
    Thanks in advance to all who respond.

    You can completely change the content of whole pdf by using "renderPDFForm" operation under service "FormsService". in this operation there is Template category where you can set the Locale.
    And if you need to change the other workspace options like Complete, Save as Draft , you can then import workspace ui project and then change apppropriate values.
    Thanks,
    Prashast

  • How to pause while document printing and wait for user actions.

    How to pause while document printing and wait for user actions. (for sample: pressed button). Pause after each printed pages.

    Print page by page after considering the user actions!

  • Granting an admin rights to view and execute a task with user actions

    I am trying to grant an admin the rights to view and execute a new task that i have created from the search results and user actions applet.
    I have added an auth type to the authorization types configuration object with the following:
    <AuthType name="terminateUser" extends="TaskDefinition,TaskInstance,TaskTemplate"/>
    I created a new task and assigned it this auth type. I then created the new admin group and assigned the following permissions:
    <Permission type='terminateUser' rights='View'/>
    I then added this capability to the admin role to which the user has been assigned. This admin role also has the view user capability and has been assigned to the top level of this organization as a controlled organization.
    I also added the task to the user actions configuration so that the menu item appears in the context menu and on the find users page.
    The user can see all users but cannot see the new task. The only thing that is visible is the "view" menu item.
    I have other users that have lots more capabilites that can execute this task with no problems. I am wondering if the view user capability is the problem or is there some other capability that anyone knows of that I must add in order to allow this admin role to view and execute this task.
    Thanks,
    Ruth

    BTW, the answer is to restart the app server. Duh!
    Ruth

  • When I send open office documents to a PC user (even saved and sent in the word format), the document reaches with serious format changes and is rendered unusable to the PC user. How to overcome the problem??

    When I send open office documents to a PC user (even saved and sent in the word format), the document reaches with serious format changes and is rendered unusable to the PC user. How to overcome the problem??

    I don't use OpenOffice (I have it on my internal just to play around with, but seldom even open it). I do use MS Word and have few problems sharing files - it's usually a font issue so I tend to use MS fonts for documents that I know will need to be shared.
    Unless you need to make collaborative changed to the document, you could always save it as a pdf file. With Acrobat Pro you can even save a pdf file to a Word document with very little change in formatting.
    If I were you - and you have a need for .doc or .docx files to travel and play nicely - I'd just invest in MS Office. If you don't have to send a Word file, try pdf.
    Clinton

  • Capturing User Action and populating Standard table

    Hi Friends ,
    I have a requirement , its a classical report and in that based on the user action ( if the user checks a check box that is available in the output screen of the report and saves it) the value should be updated in a standard table as 'X'. I have appended the field in the standard table and now i need to write a logic at user command to populate the zfield that i have added in the table based on the user's input.
    I need to capture the user's action into an internal table and then pass this value into a function module to update the standard table, Can someone suggest me how to proceed further on this issue ? Kindly let me know if you have any sample piece of code related to this scenario...
    thanks in advance.

    DATA: date TYPE d,
          flag TYPE c LENGTH 1,
          wa   TYPE c LENGTH 10.
    START-OF-SELECTION.
      date = sy-datum.
      DO 10 TIMES.
        date = date + sy-index.
        WRITE: / flag AS CHECKBOX, (10) date.
      ENDDO.
    AT LINE-SELECTION.
      DO.
        READ LINE sy-index FIELD VALUE flag
                                       date INTO wa.
        IF sy-subrc <> 0.
          EXIT.
        ELSEIF flag = 'X'.
          WRITE / wa.
        ENDIF.
      ENDDO.

  • HT1492 Hmm, I was deleting some files last night and when I came to booting up this morning my Macbookpro (5 years old) i was greeted with a user login screen? put in my password, but all i get is the space screen and no further action...? cant get apps o

    mm, I was deleting some files last night and when I came to booting up this morning my Macbookpro (5 years old) i was greeted with a user login screen? put in my password, but all i get is the space screen and no further action...? cant get apps o my bar

    Sounds like you may have deleted something you shouldn't have. Boot to an OS X DVD or a bootable backup, and using Disk Utility, do a repair disk, and while there repair permissions. Disconnect any peripherals, and reboot. If you get the same startup behavior, do a safe boot, by holding the shift key down when booting. If that works, try a normal boot. If neither step helps, you may need to relaod your operating system.

Maybe you are looking for