Shared & user-defined variable behavior when they are passed an error?

If a [TRUE] error condition is preset at its input terminal:
What is the expected behavior for a shared variable which is being read?             My guess: To return the default value for the datatype being read.
What is the expected behavior for a user-defined variable which is being read?     My guess: To return the default value for the datatype being read.
What is the expected behavior for a shared variable which is being written?         My guess: To not update the value of the variable.
What is the expected behavior for a user-defined variable which is being written? My guess: To not update the value of the variable.
Are my guesses at the behavior correct?  If not, what is the real behavior?  This is for LabVIEW version 11 and newer.
Thanks!
Solved!
Go to Solution.

Thank you Arham!   I'm sorry you had to go to the trouble of creating a test VI to get the answer. I thought that this might have been documented somewhere and I was just missing it. It still may be documented somewhere but sometimes creating a test VI is the quicker path to an answer than is a search for where the documentation is stored and the test VI is probably the more conclusive answer anyway.
In any case, thanks to your answer, it is now documented in a manner that should not be too hard for others to find, should they have the same question.
Thanks again.

Similar Messages

  • Sharing User Defined Variables across projects

    Hi,
    I'm wondering if it's possible to share User Defined Variables across projects. What I have in mind is that I would like to have my User Defined Variables configured in a central location and then insert them into my projects as linked variables so that they update automatically when I change their values. For example, I define a variable named Product_Version that has its value set to 9. Then I insert this variable into all my projects as a linked variable. After 2 months the product version changes to 10, so I change the value of the variable to 10 in the location where it is stored and it is automatically updated in all the projects. Can this be done somehow? I'm new to RoboHelp and I can't find any answer. I've been searching for the solution for some time in the product help, on the Internet to no avail. I even contacted Adobe Support and they redirected me to this forum I used Help and Manual before and their way of dealing with user variables was pretty simple.

    Hi there
    Unfortunately RoboHelp doesn't offer up a way to allow this, At least, not directly.
    However, I do believe I found a way to make it happen, The variables are stored in a file named rhvariable.apj. So what you could do is to add this file as a Baggage File to each of your projects that will share the variables.
    Now you would create a Shared Location as well as a new Category in your Resource Manager. This will create a common location to store the apj file.
    Add the Baggage File to the location. Repeat the process for all projects that are sharing the variables.
    Now, when the variable gets changed in any of the participating projects, the shared location should be updated and you can accomplish the goal.
    However, note that even though you will have what you are wanting, it will still require opening each of the participating projects, synchronizing the APJ file and generating the output in order to update it all. No way I'm aware of to escape that.
    Cheers,,, Rick

  • Cannot Add user to CMC Group when they are a member of LDAP group

    On PreProduction Server CMC
    Softerra LDAP browser used to verify user is a member of LDAP group
    User does not show as a member of that group in the CMC
    Cannot add user to LDAP group showing in CMC, the same group shows the member in LDAP browser
    On Production Server CMC
    For kicks I logged into the CMC on Production and I found the user is correctly showing as a member of the Group
    Why doesn't the groups in CMC show what is actually showing in the LDAP browser?

    Hi,
    Check if you have also mapped in both servers the same groups. It might be that there are some groups missing in the Pre-prod.
    Also, try restarting the CMS. I have seen similar issues that are solved after forcing the recreation of the graph.
    If after the restart you still can't see the groups, check the mapping on the LDAP server. It might be that both servers do not use the same attribute mappings.
    Regards,
    Julian

  • No pop up displayed for user defined variables when executed from a program

    Dear All,
    We have created user entry variables for the characteristic(s) with replacement type as 'User Defined Values' in the planning area.
    When I am running the planning function from BPS0, I am getting the pop up for the variables perfectly.
    But, when I execute this planning function from a program by calling the function module 'API_SEMBPS_FUNCTION_EXECUTE' I am not getting the pop up for the user entry variables.
    Is there any way where in I can get the pop up for the variables when I run the program?
    Regards,
    Srini.

    Srinivas
    You might want to check if the variable has a default value. Try "removing" the defautl value and check if it works.
    Srikant

  • How to allow user refer back to lecture when they are taking a quiz?

    Hi everyone,
    I'm new to Captivate and now I am kinda in a dilemma. Thanks for your
    time watching my post!
    I created a CBL in Captivate 3, the first 10 slides is a lecture and it
    is followed by a 10 slides quiz set as SCORM standard.
    I want the learner to be able to refer back to the lecture when they
    are taking the quiz, I tried to in 2 approaches and they both have
    issues in different ways.
    Approach 1:  "allow backward movement", and "infinite attempts". The
    problem with this approach is, when the learner click "review the
    quiz" and when they click "back" on the first quiz slide, the whole
    quiz will be start all over, the score is flipped back to zero.
    Because the quiz seeing this as a new attempt, and the learner is
    allowed to make "infinite attempts" as it was configured.
    Approach 2: Set "allow backward movement" and allow only "1 attempt".
    The problem with this approach is, when the learner is in the middle
    of the quiz and refers back to the lecture, the quiz will be
    automatically shown as completed. And the learner will not get a
    chance to answer those unanswered questions.
    So it looks like whenever I let the learner refer back to the lecture
    in the middle of a quiz, the quiz will be seen as completed!!! What am
    I doing wrong? Is there a better approach that I can "allow backward
    movement" and still allow user resume their quiz from where they left
    off?
    Sorry for the long post, I was not able to express it in a more
    concise way.
    Any help is really appreciated!!
    -David

    What you are seeing is the behaviour as-designed in Captivate for quizzing.
    Each Captivate movie has a "quiz scope" which begins with the very first scorable object, and ends at the Quiz Results slide.  If you enter the quiz scope by starting a quiz slide, then jump back outside the quiz scope, by going back to the main content, Captivate's default behaviour is to freeze the quiz at that point.  So when Captivate refers to Allow Backward Movement, it's only talking about backward movement within the quiz scope.
    For example, if you get to question 1 but don't answer it and go to question 2, then answer that one, and go back to question 1, you'll still be able to answer question 1.  The quiz won't be frozen.  However, if you had jumped back to any slide before question 1, your quiz would have been frozen with whatever score you had accumulated at that point.
    There may be a workaround you can use to get closer to what you want.  Since any scorable object is classified as being part of the quiz, you can add a button on one of the very first slides that the user needs to click in order to advance.  Set the properties of this button (or click box) to report a score to the quiz.  This makes it part of the quiz scope.  Now any content slides that fall after this button slide are also within quiz scope and moving back to them will not have the same effect of freezing the quiz.
    Please bear in mind one more aspect of quiz questions:  If you answer a quiz question, and then move off the slide (forward or back) that quiz question answer is frozen and cannot be changed unless you Retake the Quiz or relaunch the entire module.
    Hope this helps clear up the way things work.

  • ERROR:  User defined variable

    Hello All,
    I am using Robohelp 10 to create both CHM and multi-screen HTML.  I have been using user defined variables successfully within my project for some time, and now when I compile the project I am getting an error that implies that these are not defined.
    This screencast shows the error and also shows where I've defined the variable set, what the values are, and how I've assigned the variable set within the Project.  I also tried deleting one of them and then re-creating the field, but it isn't working.
    http://screencast.com/t/k9YNWph6c3Nw
    I have been mucking about within my Master Page but not sure if that relates to this issue.  I've also recently removed the Conditional Build tags because I think they were unnecessary for the project to acheive what I needed.  It doesn't seem like the Conditional Build tags would correlate to the user defined variables, but perhaps I'm mistaken.
    Any ideas - what would cause a user defined variable to become un-defined?
    Thanks much,
    Glynnis

    Never mind.  Solution involved picking another Variable Set (within project setup) then then going back to the original choice.  Mysterious and yet effective!

  • Custom Quiz: How to update and report user-defined variable?

    Hello,
    I am a novice Captivate 5.5 user.  Thanks to Lilibiri's blog and articles, I have managed to built a custom quiz (all with user-defined variables and advanced actions). 
    The quiz is composed of 2 questions with 4 possible answers each.  Each of the 4 answers have a different score attached to it (i.e. answer a = 4 points; answer b = 3 points; answer c = 2 points; answer d = 1 point).  I have inlcuded a "Feedback Slide" that may appear after each question.  For example, if a person chooses score d, they will get sent to a Feedback slide that basically says they are wrong.  There is a "back" button on the "Feedback" slide that can take them back to the the prior question sllide and they can change and re-submit their answer.  After they have answered both question slides, they continue to a "Results" slide.  Upon entry to the "Results" slide, using "advanced actions" my user-defined variable adds up all of the scores to get a total.  Based on this total, one of three possible text captions boxes appear, depending on their total.  And....here are my questions (I have checked and re-checked the Forum and blogs for answers - and I am so sorry if I missed them!!) 
    1) I have defined a variable that totals the points that the person received on the quiz.  I would like this variable displayed on the Results slide.  It can get it to  appear in a Text Caption Box.  BUT if a person changes a score and re-submits the score before entering the "Results" slide, the total score reflects EVERY score that the person has chosen (the scores that they originally chose and then changed are still included in the total).
    2) I want the total score a person gets on the quiz reported to the instructor.  I don't know if a user-defined variable can be reported and how to go about doing this.  We will be running our quizzes on an LMS (though we haven't chosen one yet).  I tried using a system variable (cpQuizInfoPointsscored), but I believe (after reading discussions on Forum), it will not work in my quiz if my scores are adjusted/changed.
    3) another question - would you like me to put this in a separate discussion?   I certainly can!!  There is a "Back" button on the "Results" page.  I have tried using "advanced actions" and "on success: move to last slide visited" but neither option will allow the user to move to the last slide visited.  Ideally, I would liek a person to be able to go back through the quiz, look at their answers and adjust them.
    Thanks in advance for your help!  I have learned SO much in the last few weeks from all of you!

    Hello and welcome to the forum,
    That is a lot of questions, thanks for reading my blog. The most difficult part is indeed the reporting in case, you did see perhaps that I have not yet published the blog post about reporting questions with partial scores, third part of my reporting sequence. Have two possibilities that I'm exploring: either with Javascript, or with the brandnew Master Widget that Rod is pointing to. Watch out for the blog post(s), but need some more time. So no real answer to your second question for the moment, because you cannot control the quizzing system variables with advanced actions.
    About your first question: you will have to so sort of 'reset' when re-entering the question slide, so that the total score stored in the user variable is decremented with the score attributed to the user in his previous answer. This means that you have to store this previous score in another user variable. Hope this make sense?
    I do not get the last question totally. Are you using the default Score slide? You have to allow Backwards movement in the Quiz Preferences, but for default Question slides this will not allow the user to change his answer. I thought you were using custom question slides? Do not use the default score slide in that case, but create your own score slide, so that you can add buttons and actions to your wish. Perhaps I misunderstand your question, and it would be better to explain more, eventually in another thread if it is about the default score slide, question slides.
    Lilybiri

  • Sequence Quiz Using User Defined Variables - Can See Underlying Variable Name On Move

    I have just tested using 1 slide to capture several user defined variables and the next slide to insert those variables as options in a sequence quiz slide.
    This works but as soon as I grab an object to begin sequencing them the underlying variable name shows up alongside the variable content.
    Am wondering if I am attempting something that shouldn't be possible in Captivate and / or if there is a fix?
    Thanks

    Sure, I'm using Captivate 8. On a test project I've created:
    a slide with 2 text entry boxes, their contents are stored in variables
    another slide with a sequence question (using the native captivate question slide)
    The labels on the 2 sliders on the question slide use the variables from the previous slide.
    This works, so if the variables are as follows:
    $$data_sequence1$$ - "blah blah blah"
    $$data_sequence2$$ - "blah"
    The labels on the sliders on the sequence question will be "blah blah blah" and "blah".  as intended.
    The issue is when I click one of the sliders to drag it to sequence the variable name will flash up on screen. So if I touch the slider with the label "blah blah blah" $$data_sequence1$$ will flash up on screen.
    I have other slides on there but these are the two related to this question. I haven't fully published the project I've previewed it.

  • Applying User Defined Variables across project

    Hello,
    I'm working with the User Defined Variables feature and can't
    seem to figure out how to apply a variable/value across all topics.
    I may have misunderstood the definition of what this is supposed to
    do, so it may be user error. It is my understanding that if you
    have information that use repeatedly, for instance if I refer to a
    product name in numerous topics and the product name changes, I can
    set up a user defined variable and set this to update all the
    occurrences. I can change it going in each topic and each sentence
    where the occurence is by right-clicking the word and selecting
    Insert User Defined Variable. Any ideas as to what I can do to make
    a global update. Also, I'm reading the help, but still seem to be
    missing something.
    Thanks,
    Michele

    Thank you, Peter! This article is very informative and much
    more clear (to me) than what I read in the RoboHelp help manual. I
    understand now that this feature is used when you are creating
    topics in a project and anticipating what may change--in which case
    you insert the variable as you need it, then if it changes in the
    future you can update it easily. I was looking at it as more of a
    global search and replace to update information that already
    exists. I think it will come in handy with our documentation
    projects.
    Thanks again. :-)
    Michele

  • User defined variables transfer data

    Hello
    I am using the etherCAT 9144 chassis and this hardware supports only target scoped FIFO. After a search, I realized that the only way to transfer data from FPGA to Host is by using User defined variables. But these variables do not support FIFO concept. So, which is the best practice to transfer data after measurements ( e.x 10Hz measurement of 15 values ) to host VI ?
    Thanks
    Solved!
    Go to Solution.

    As mentioned, the 9144 only supports scan engine.
    As for what you should do, that really depends on the whole application. For example, what is the master? Are there other systems involved here? Etc. This is a good read in general, although it might not help right this second: http://www.ni.com/white-paper/14151/en/
    From a high level you should decide what you need. If you need deterministic, low latency communication over longer distances from an RT controller, the 9144 is probably the right choice. If you need low-latency+streaming over short distances from an RT controller, you should look into the MXI RIO chassis. If you primarily need non-deterministic low speed (10 hz) data mixed with low-throughput streaming over long distances from a windows or RT host, then the ethernet rio expansion (9146,7,8,9) is probably the right choice. If you need high speed streaming with low latency control over long distances from a windows or RT host, you need a full cRIO controller. Based on what you've posted so far, its uncertain what is the right fit.
    Lets say you're stuck with the 9144 for now. Given that you can easily hit 1 kHz scan cycles, it should be perfectly achievable to "stream" data at 10 Hz. If you run scan engine at 1 kHz then you're oversampling by 100x. Where it gets tricky is that sync requirement. By default the I/O acquisition is synchronized to the scan clock (and you can see when the scan clock is set through an FPGA I/O node). However, you can take full control of a module in the FPGA and read the I/O at any time you please. That is, you can set it up so when DIO0 goes high you immediately sample all 15 AI values. You can then transfer those latched AI values to the host using user defined variables.

  • The some words in perfectly formatted messages I email are merging or joining together likethis or evenlikethis when they are recieved. How do I fix this?

    When I send emails that are perfectly formatted they are being somewhat truncated when they are received by whomever I'm sending them to. Words will be joined together throughout the email in combinations of two or three.
    I know this is happening because when someone responds to my email, I see the email that I have sent them (in their response email) and it is messed up as described above. I recently asked one of my recipients if this was something that was common with my emails and I was told yes.
    Here is an example, cut and pasted from an email sent via Thunderbird: "A number of years ago we were speaking with Stephanie MacDonaldat CIT about our film/video production services. Our Account Exec assigned to your account left a number of months later and we subsequently lost contact.
    I just visited your web site and noticed thatyou are using video to help define your services and corporate culture. We'd love to be considered if you are planning any more productions.
    One genre of web video thatyou may be interested in is 'Recruiting'.
    Companies that wish to attract young, bright talent, arereaching out with fun and engaging videos distributed online and through social marketing. I noticed that you have a Careers page, but no video. Is this something that you could be interestedinat some point?
    We recently produced one of these videos for an IT company located in Torontoand I'd be delighted to send you alink if you like..."
    The version of Thunderbird I am using is 17.0 and I am running the program on a MacBook Pro with OS X 10.7.5 installed.
    Fixing this issue is critical as my emails look very unprofessional and leave a negative impression with my contacts. Please tell me what I can do to fix this.
    Best regards,
    Derek Shipman

    are you pasting text from another source into Thunderbird?
    Does it appear correctly in your send folder?

  • How To guide...for Flat File upload for User-Defined variables

    Has anyone got link to the guide that describes how to do a flat file upload for populating User-Defined Variables ?
    Any assistance will be appreciated.
    Uche

    SAP BW Business Planning and Simulation "How To" Guides
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ab9fd590-0201-0010-2590-be78eb70015c
    How to Upload User-Specific Variable Selections in BW-BPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to upload user-specific variable selections in bw-bps.pdf
    this is what you are looking for ?
    Message was edited by: Murali

  • How to create User Defined Variables in Procurement Contract 12.1.3

    Hi,
    We are using Procurement Contract 12.1.3. As per our business requirement while creating contract template we need to use many variables which are not available in 'System Defined' variable list. Please guide us with some samples (step by step) how to create the 'User defined' variables.
    Regards,
    Prabhu

    Hi Prabhu,
    Did you get the setps how to create user defined variables in Procurement contracts? if so please share me the setp by step flow.
    Prakash

  • User-defined variable in selection variant - doesn't work?

    Hello,
    Anyone had any experience of using user-defined variables (type B) in a selection variant? I can't get this to work in 4.7 or ECC 6.0. Seems like a bug - there's no way to specify the name of the variable. The theory behind their use is fine, but I wonder if anyone has successfully used them?
    Thanks,
    Chris.

    In an ECC 5 system, I can get to these showing if I'm in a report selection screen and I use the "Goto > User variables" (or Ctrl-F6) option... but note that it will only show the menu option if there are report parameters that have a PID on them and where the PID is defined in table TUVID (see note 144459).  That said, personally I've only used the "T" option and maintained system wide values in table TVARVC.
    Jonathan

  • User-defined variables in Search Results pane

    I am working with user-defined variables for WebHelp output.
    I have successfully added the variables to the topic, the displayed
    topic title, the TOC, and the Index entries. The problems lies in
    getting the search output to display the specified variable text.
    For example, the base topic title is "Introduction to XX". I
    use a variable to change the XX to YY throughout the project;
    however, when I generate the output and then Search for YY, the
    search results pane displays "Introduction to XX" even though the
    displayed topic is titled, correctly, "Introduction to YY". I am
    assuming, because the topic title is not adhering to the variables,
    that the search results displays the metadata <title>.
    What should I do so the search results title syncs with the
    other data?
    Carol

    Welcome to the forum.
    There have been two posts about this recently so do a search
    for more information.
    Basically the search results show the Topic Title as defined
    in Topic Properties. Your variable is in the Topic Heading at the
    top of the page. Not the same thing.
    I suggest you request a feature change.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Maybe you are looking for

  • My Laptop Audio is NOT Working

    Model Name and Number: HP Notebook dv6t-A1U59AV I was listening to music, paused for a second, and continued it a bit later and it played but no audio came out of my headphones. I proceeded to use my speakers instead and recieved the same result. Nex

  • MacBook Pro Retina display Help!

    Good day guys, i am looking into buying a Macbook pro retina 15'' but i am concerned about the ghosting and display burn in with the LG screens. How would i know before purchasing the machine if it has the Samsung screen?

  • Problem with downloading a PDF file from a webserver run on Linux

    Hi, I've written a simple functionality that manages file attachments. Everything works fine (attaching, downloading, deleting) when the webserver runs on Windows. However when I deployed the code to the Resin webserver run on Linux and use the Win b

  • Problem in running the form

    I have installed Oracle 9i database and developer suite on my dual-core 1 mb ram , window XP3 , configration PC. There is no database connectivity problem and everything is working fine.But after developing the form in form builder then start OC4J..

  • ItemType and ItemKey

    Hi! I'm working on a custom workflow that sends notification to a user. I used an Attribute with "Document" as its Data Type. Then I referenced a PL/SQL Package that has an HTML code within it. Example( PLSQL:<PKG>.<PROC>/&TRX_NO_DUMMY ) The Procedur