Mod function in LabView's Configure Formula

Hello, all.  Today is my first shot at using the Configure Formula feature in LabVIEW (7.1), and I'm not doing well at it.
The kicker seems to be my (mis)understanding of the mod function.
Here's the formula I have to work with:
J=1+(((((C/100)%4)*5)+G)%7), where

duplicate post, see: http://forums.ni.com/ni/board/message?board.id=170&message.id=161086
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Configure Formula dialog not being displayed

    I have just installed LabVIEW and I am working thru the tutorials in the Getting Started Manual.  I am at the point where I am adding a Formula to the Generate and Display example VI.  When I place the Formula Express VI on the block diagram I expect to see the Configure Formula dialog box.  No such dialog is displayed.  There is a grey box with no other information placed on the block diagram.  Also, the run buton is shown as 'broken" such that I cannot 'Run" the VI.  I do not have a clue what could be going on here and I am wondering if there was a problem during installation that leaves me without Formula support.  I have not had any problems with placing and configuring any other VI's.
    Please offer any thoughts or suggestions on how to solve this! 
    Thanks,
    Mike

    This is a know issue in LabVIEW 8.5, for more information and a workaround, see:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=290157
    LabVIEW Champion . Do more with less code and in less time .

  • Ultrabeat's pan mod function?

    Ultrabeat's pan mod function?
    Could someone please explain to me how Ultrabeat's pan mod function works?
    I know how to use automation in LPX's Tracks Area to automate panning but I'd like to avoid that on this occasion.
    I also tried using the LFO to modulate the panning but with limited success.
    And if anyone also knows if there's a good book specifically on Ultrabeat (pref published since the intro of LP9) that'd be awesome because most books don't go into the intricate parameters.

    duplicate post, see: http://forums.ni.com/ni/board/message?board.id=170&message.id=161086
    LabVIEW Champion . Do more with less code and in less time .

  • Statistical calc with MDX question (Mode function as an excel)

    Hi All,
      I need to create an MDX Calc to Returns the most frequently occurring, or repetitive, value in an array or range of data.
      For example, the mode of 2, 3, 3, 5, 7, 10 is 3.
      In Excel I use the MODE() function but I don't know how to do this in MDX and add it as a measure in Universe.
      I can't do the formula in WEBI because we have big data volume and I can't retrieve all the customers in WEBI.
      We have SAP BW 7.0 and SAP BusinessObjects XI 3.1 fix pack 1.3
    Thanks in advance.

    Hi,
    it looks like you created the entry twice so I would suggest you close on of them:
    Statistical calc with MDX question (Mode function as an excel)
    I don't think that those kind of statistical functions are available in MDX. you can always go to se37 and use the bapi_get_functions to see the list of supported functions.
    Ingo

  • Interaction Center Mode functionality in B2C Web shop

    Hi,
    We have a requirement in which sales rep of a company will pre-populate a shopping cart for the customer in B2C Web shop. Later customer can order that shopping cart.
    We are trying to achieve this requirement through Call/Interaction Center Mode functionality.
    If anybody has worked on this functionality before or has any idea, please share.
    Regards, Vipul Kumar.
    Edited by: vipul_kumar02 on May 27, 2011 12:11 PM

    Hi,
    I have configured the call center mode functionality in spro (Customer Relationship Management -> Web Channel -> Basic Settings -> Activate Links from CRM WebClient UI to Web Channel Applications -> Start Web Shop in Interaction Center Mode) with the help of information given on help.sap.com.
    Now I can see B2C Web shop link on Web UI. The problem when I click on the link it's working if the URL in the backend is of google.com but not working for B2C Web shop. I think the problem is with the role assigned to the user.
    If anybody has any idea, please share.
    Regards, Vipul Kumar

  • Subpartition with MOD Function in Oracle 11g

    Hi All,
    Can we create Subpartition based on MOD Function in Oracle 11g ?

    Hi!
    What are you refering with "MTS"? Anybody knows a term like this (except MultiThreaded Server).

  • MIDI Read function in LabVIEW 8.2

    Is there a MIDI read function in LabVIEW 8.2?

    http://forums.ni.com/ni/board/message?board.id=170&message.id=280480#M280480
    You could have aksed it in your previous post since it concerns the same functions.
    André
    Message Edited by andre.buurman@carya on 10-26-2007 09:12 AM
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • Using the Safe Mode function on your PlayStation 3?

    i followed the steps it works fine then when i sign in within a afew seconds it cuts off and gets a red flashing light again i dont know what to do :/

     
    RabidWalker wrote:
    Using the Safe Mode function on your PlayStation 3?
    Safe Mode:
    The option to use Safe Mode on the PlayStation 3 was introduced if a problem occurs where it will no longer start up normally.
    To use this feature the console will need to have the System Software update 2.60 (or later).
    When to Use Safe Mode?
    When starting up the PlayStation 3, and the XMB menu no longer appears (you may see a wavy line on the background instead).
    When the PlayStation 3 is started up, nothing appears on screen.
    When the PlayStation 3 is started up and you encounter the following message ‘The Hard disk’s file system is corrupted and will be restored’. When selecting ‘OK’ the system restores and restarts, however the same message appears.
    When the PlayStation 3 is started up and you encounter the following message ‘The Hard disk’s database will be rebuilt’. When selecting ‘OK’ the system begins the operation and then fails (stopping the restoration of the HDD).
    There is an issue after the PlayStation 3 update process is started, or a rebuilding of the database occurs.
    Safe Mode procedure:
    1)    Ensure the PlayStation 3 is in standby mode (where the red light is apparent), and then turn the console off at the mains switch.
    2)    Turn the mains power on, then while in standby touch and hold the power button.
    3)    Keep your finger pressed on the power button (after 5 seconds you will hear a beep).
    4)    After 10 seconds of holding your finger on the power button, you will hear a second beep and the console will shut down (you can remove your finger).
    5)    Touch and hold the power button again.
    6)    Again hold your finger down on the button until you hear another beep after 5 seconds.
    7)    A number of seconds after this you will hear a double beep- you can remove your finger.
    8)    You will be prompted to plug your controller in and press the PS button on your controller. After doing so you will access the Safe Mode menu with a number of options.
    Safe Mode Option Screen:
    Restart System
    Selecting this option will start up the system normally- It will also allow you to exit the Safe Mode Menu.
    Restore Default Settings
    Selecting this option will restore Default settings on your console (when starting the unit you will be prompted to set time, time zone etc). This option will also delete your PlayStation Network account information from the system.
    Your User information will be deleted and restored- the indicator will be an asterix by your username e.g. *RabidWalker.
    When logging into your user you will encounter no issues with disc based games. However when attempting to play PSN downloaded games you may encounter the message:
    ‘To access the system, you must activate the system.
    Go to [PlayStation Network] > [Account Management] to activate this system. (80029514). ’
    Follow the instruction to activate your PlayStation 3 to play downloaded games (if the system is activated, deactivate and reactivate the system)
    Restore File System
    This option will begin a process to repair data on your Hard Disk Drive. Therefore it will check for any corrupted data and try and recover this. It the data cannot be recovered it may be erased to ensure that it does not interfere with the operation of the PlayStation 3.
    Rebuild Database
    If issues continue to persist and you select this option please note that data will be removed during this process.
    The following information will removed:
    -          Messages
    -          Playlists
    -          User changes to Information Screens
    -          User changes to Picture under Photos
    -          Video Thumbnails
    -          Video Playback History
    -          Video Resume Information
    This process may take same time to complete
    Restore PS3 System
    The option to restore PS3 system is the same as the ‘quick format’ option on the XMB menu. It will reformat the HDD, removing all data and restoring the Hard drive to its original state.
    System Update
    Selecting this option will install the PlayStation 3 Update but only if the update is on an external media storage device plugged into the console.
    This option can be used if any issues are encountered with the installation of the System software update.
    If you have any queries regarding this or any other issues please PM me or catch me on Twitter
    @RabidWalker
    Rabid
     

  • Register a Callback function in LabVIEW

    Is there any way to register a callback function in LabVIEW. For example:
    I have a DLL on Win2k that run a thread. This thread is doing a certain task (it is not important what it does...) I can't predict when this task will end and I need to know when the task is over. The easy way would be to poll this DLL and ask: "Is it over? Is it over?" over and over again. No! I don't want to poll. Not because it's too easy. I want this DLL to wake me up on time.
    Any idea, solutions, function that I'm not aware of, new features...
    Thanks
    Nitrof

    I think I have a much better solution for you. Here is an example program that show how to set a LabVIEW occurence in a dll. Therefore when your dll is done it can set the LabVIEW occurence, meanwhile your VI is just waiting on the occurence.
    More infomration on this is in the external code in LabVIEW manual Using External Code in LabVIEW
    NOTE:This will ONLY work in LabVIEW 7.
    Attachments:
    SetOccurDll.zip ‏165 KB

  • MOD() function - incorrect output

    The following bit of SQL uses the mod() function to determine modulus 2 of two large numbers
    13:37:20 SQL>set echo on
    13:37:24 SQL>@mod_test
    13:37:25 SQL>
    13:37:25 SQL>
    13:37:25 SQL>
    13:37:25 SQL>select mod(power(2,127)-1,2) from dual
    13:37:25 2 /
    MOD(POWER(2,127)-1,2)
    1
    1 row selected.
    13:37:25 SQL>
    13:37:25 SQL>select mod(power(2,128)-1,2) from dual
    13:37:25 2 /
    MOD(POWER(2,128)-1,2)
    -1
    1 row selected.
    13:37:25 SQL>
    Notice that mod(power(2,128)-1,2) returns an incorrect answer, while the
    answer for mod(power(2,127)-1,2) is correct.
    Does someone here know why?
    Is it a limit?
    Or is it a bug?
    Please supply an explanation and/or URL for your answer. :)

    Must be due to the fact the scale for a NUMBER can range from -84 to 127, and Floating Point Number Limits are:
    Value                         Binary-Float          Binary-Double
    Maximum positive finite value 3.40282E+38F  1.79769313486231E+308
    Minimum positive finite value 1.17549E-38F  2.22507485850720E-308

  • Mod function

    hi,
    i am trying to commit for every 1000 records.
    how to use mod function in following script?
    DECLARE
    v NUMBER;
    counter NUMBER;
    CURSOR r1 IS SELECT * FROM TAB1;
    BEGIN
    FOR c1 IN r1 LOOP
    v:=c1.ssn_id;
    counter := counter + 1;
    IF MOD(counter,1000 ) = 0 THEN
    dbms_output.put_line(v);
    commit;
    dbms_output.put_line(counter);
    counter := 0;
    END IF;
    END LOOP;
    END;
    could anyone help me for commiting every 1000th record.
    thanks in Advance.

    The only problem I see, is you did not initialize COUNTER.
    if you have counter := counter + 1; without initializing COUNTER, it is like adding NULL + 1 and this will always result in NULL
    declare
    cursor c1 is select ssn from TAB ;
    v_cnt number:=0;  -- NOTE YOU MUST INITIALIZE TO SOME NUMBER
    begin
      for c_rec in c1 loop
         v_cnt := v_cnt + 1;
         if mod(v_cnt,1000) = 0 then
            dbms_output.put_line('SSN: '||C_REC.SSN) ;
            dbms_output.put_line('v_cnt: '||v_cnt||' time to commit');
         end if;
      end loop;
    end;
    /

  • OWB10GR2 - Error when try to use 'MOD' function in an Expression

    Hi
    I'm trying to use the MOD function in an expression, e.g. mod(44,12), however, when I validate I get the error:-
    Line 2, Col 18:
    PLS-00201: identifier 'MOD' must be declared
    Line 0, Col 1:
    PL/SQL: Statement ignored
    Has anyone else come across this problem, and can anyone please suggest a solution?
    Thanks
    GB

    Not yet, thanks for the suggestion.
    If you use MOD in an expression or Constant, the expression does not validate but the mapping itself does validate, deploy and runs ok. So
    This issue has been reported as a bug therefore for the time being we can just ignore the expression validation message.

  • How to set mod function in TestStand

    I have trouble to use mod function in a TestStand seq under if condition. There is a syntax error of Unexpected token: MOD.
    I would like advice how to do this correctly. Thanks!
    Solved!
    Go to Solution.

    It should be 100 MOD 1000
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Any Mod function in JAVA?

    I did not find 'MOD' function in the Math class. Is there any 'MOD' function in Java?
    Thanks!

    What is your MOD function?
    Does the %-operator do what you need or do you want a strict mathematical modulus that returns only positive values?

  • Different output of DST function in labview and matlab

    I am passing a 1D array of size 1550 as input to DST function. I have also calculated DST of same array in matlab using 'dst' function. I got approximately same answer till 1399th element but after that answers of two varies abruptly. I tried hard but I am unable to find the solution. I am attaching the data file in which it can be clearly seen that at 1530th element there is a difference of sign also.
    Attachments:
    data file1.txt ‏37 KB

    Out of curiosity, have you tried another software, like Octave? When you have two software that is different, which one is incorrect?
    Also, have you tried to use the DST function in LabVIEW directly?
    Another think to keep in mind... When you try to run a sequence for so long, small round-off errors could be cummulative and show later on the analysis. Also, it depends on how you load the data into each software. Hopefully when moving the platforms, the string conversion would not truncate the number. The best is not using string, but some kind of binary format...
    These are some ideas to check...
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

Maybe you are looking for

  • Can't open .psd saved as .jpg, what's wrong?

    Hey guys, first post here I made a poster on PS CS5, it had fonts, and about ten layers. I saved it as a .jpg so I could open it on a different computer, but it's not letting me. I need to print it out from this computer. Any suggestions as to what t

  • Bootcamp slowing down performance

    Hi all, I installed Windows 7 ultimate using bootcamp the other night, and I've been finding that on the mac side of things, things have gotten a bit slow. Loading applications, including native ones such as system preferences take up to 10-20 second

  • RALPH - I know this is redundant... but

    My uncle has an 800 meg eMac. We've always connected just fine, with good speed. He's just changed from DSL to cable. I can connect with him, and his picture is good, but he starts out at 15 and drops to 1fps in about 10 seconds. I tried giving him P

  • Object Diagrams that support user define type (create type....and subtypes

    Hello it would be very nice to be able to use user define types in a diagram, at this time oracle, ibm db2 9 and sql server 2005 suport sql ansi 2003 and to use all this potential we have to take tecnology foward. My sugestion is create object diagra

  • How did it become 720x480??

    I imported some footage from a video camera into iMovie a few years ago and just noticed that this footage is 720x480 rather than 640x480. How could this have happened? Does this mean the aspect ratio has been modified? It is possible that I wrote ou