Automatic array creation

Hi,
I am trying to build an array automatically by use of boolean array. I use for loop in the VI but when the boolean array false it assigned "0" into the array. I do not want to assign "0", instead of, I want to pass this step and assign when the boolean array element true. How could I do it?
Egemen
Solved!
Go to Solution.
Attachments:
automatic array creation.vi ‏9 KB
array assign.png ‏26 KB

Use the Build Array in the TRUE case!
Also, create an array constant and wire that into the shift register in order to initialize it.
If you are this lost, you really should go through the LabVIEW 101 tutorials.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Conditional Build Array.png ‏15 KB

Similar Messages

  • Can I automate the creation of a cluster in LabView using the data structure created in an autogenerated .CSV, C header, or XML file?

    Can I automate the creation of a cluster in LabView using the data structure created in an auto generated .CSV, C header, or XML file?  I'm trying to take the data structure defined in one or more of those files listed and have LabView automatically create a cluster with identical structure and data types.  (Ideally, I would like to do this with a C header file only.)  Basically, I'm trying to avoid having to create the cluster by hand, as the number of cluster elements could be very large. I've looked into EasyXML and contacted the rep for the add-on.  Unfortunately, this capability has not been created yet.  Has anyone done something like this before? Thanks in advance for the help.  
    Message Edited by PhilipJoeP on 04-29-2009 04:54 PM
    Solved!
    Go to Solution.

    smercurio_fc wrote:
    Is this something you're trying to do at runtime? Clusters are fixed data structures so you can't change them programmatically. Or, are you just trying to create some typedef cluster controls so that you can use them for coding? What would your clusters basically look like? Perhaps another way of holding the information like an array of variants?
    You can try LabVIEW scripting, though be aware that this is not supported by NI. 
     Wow!  Thanks for the quick response!  We would use this cluster as a fixed data structure.  No need to change the structure during runtime.  The cluster would be a cluster of clusters with multiple levels.  There would be not pattern as to how deep these levels would go, or how many elements would be in each.   Here is the application.  I would like to be able to autocode a Simulink model file into a DLL.  The model DLL would accept a Simulink bus object of a certain data structure (bus of buses), pick out which elements of the bus is needed for the model calculation, and then pass the bus object.  I then will take the DLL file and use the DLL VI block to pass a cluster into the DLL block (with identical structure as the bus in Simulink).  To save time, I would like to auto generate the C header file using Simulink to define the bus structure and then have LabView read that header file and create the cluster automatically.   Right now I can do everything but the auto creation of the cluster.  I can manually build the cluster to match the Simulink model bus structure and it runs fine.  But this is only for an example model with a small structure.  Need to make the cluster creation automated so it can handle large structures with minimal brute force. Thanks!  

  • Automatic PO creation of free text PR

    Hi!
    We have all our PRs in free text since we are not yet using material master. One of our purchase organization will only order from one vendor and they will enter that vendor and price in the PR. Is it possible to create a PO automatically from that PR without a material or source list?
    Sincerely
    Anders

    Hi
    Thank you very much. Is it possible to restrict the automatic creation to a certain purchase organization?
    If I understand you right:
    1) Create PR with item category D Service
    2) Activate automatic PO creation in ML91
    That will create POs for all PRs created as a service?
    Sincerely
    Anders

  • Problem during automatic PO creation

    Hi,
                I have run MRP for a certain material using MD03 .Message shows MRP run successfully.Then I checked the status of this by using transactions MD04 and it shows the PR no for that material.But when I want to create automatic PO through ME59n using that PR no , message shows no suitable PR exist.I have also set the Automatic PO indicator in Material master Purchasing view.
                 What is the reason behimd it.

    Hi,
    For automatic PO creation follow the below points.
    1) Material Master purchasing view tick automatic PO check box
    2) Vendor Master purchasing view tick automatic PO check box.
    3) Maintain Source list for Vendor & Material.
    4) Maintain Purchase Info Record.
    5) Create a Purchase Requisition.
    6) Use T.Code: ME59N & execute for PR for vendor, you will be able to create automatic PO.
    Ensure that Purchase Info Record should be there.
    If you have more than one vendor then fixe only one vendor in source list.
    Did you set source determination during PR creation
    Regards,
    Biju K

  • Error during automatic po creation ME59N

    Dear All,
    Following errors has been shown after automatic po creation by ME59N:-
    Message text Message Class Message Number
    PO could not be created
    PO header data still faulty MEPO 2
    Enter Validity End ME 83
    Enter Latest GR Date ME 83
    Can delivery date be met? ME 40
    Requisition could not be converted
    Please suggest how to solve above .
    with regards,
    Pradeep Bhardwaj

    Hi
    From the messages it seems that system is expecting a Validity end date at PO header & Latest GR date at item level.
    Do you have these two fields as required in the PO??
    If these are required fields then you need to have process to populate them automatically (Programatically) to resolve the error.
    Thanx
    Prasad

  • SRM Classic - Automatic PO creation in R/3 only for PReqs based on catalogs

    Dear Experts,
    in SRM 7.0 Classic Scenario, i am facing the following question w.r.t. automatic PO creation on the R/3 side:
    Is it possible to have automatic PO creation in R/3 only for those purchase requisition items, that are based on shopping cart items from a third party punch out catalog?
    The idea is, that the requisitioner on the SRM EBP side shops in a catalog. Once the the SC is approved and the purchase requisition is created in the R/3 system, automatically a PO should be created based on that PReq. This would save the time for the buyer, who do not need to pay attention to this document, because the purchase from the catalog guarantees the buyer, that the already pre-agreed conditions are getting applied.
    But PReqs that are based on Free Text shopping cart EBP items must not be taken into account for the automatic PO creation.
    Is there a way to distinguish between the catalo-based and the non-catalog based PReq positions?
    Thank you.

    Hello Ashutosh,
    thank you very much for that idea!
    I would have the following question w.r.t. to such configuration:
    If i configure that the PO creation for complete SC should happen for a certain purchasing group, would it be somehow possible to arrange that when a Catalog item is put into the shopping cart, that only that certain purchasing group gets defaultet? (the idea behind this is, to leave the free text shopping carts to already known purchasing groups and to keep the purchase requisition as the backend object for this configuration. And additionally to create new purchasing groups, that should be linked to the catalog purchases and to POs as the backend objects).
    Thanks again for the help!

  • Error  during automatic PO creation by PR (ME59N)

    Dear All,
    Following errors has been shown after automatic po creation by ME59N:-
    Message text     Message Class  Message Number
    PO could not be created                   
    PO header data still faulty        MEPO               2
    Enter Validity End        ME              83
    Enter Latest GR Date        ME              83
    Can delivery date be met?        ME              40
    Requisition could not be converted     
    Please suggest how to solve above .
    with regards,
    Pradeep Bhardwaj

    Hello,
      to check the errors issued I suggest to try to create the PO converting the PR from transaction ME21N.
    I guess that some fields, mandatory for the PO creation, were not filled in the Purchase Request and could not be determined in any different way. If you can't maintain them on the PR you should set them as optional, if possible, in the customizing for Screen lay-out of transaction ME59N, under "Materials Management --> Purchasing --> Purchase Order --> Define Screen Layout at Document Level".
    Hope to be useful.
    Best regards,
    Andrea

  • Automatic PO creation

    Hi,
    I would like to know if we can process a PR with acct assignment K and item category D having limits by using ME59?If yes what are the pre-requisite conditions that will allow this?

    Hi
    Automatic PO creation
    automatic po
    Regards
    Ram

  • Automatic PO creation from SC

    Hi Experts,
    I am using SRM 7.0 with extended classic scenario and I have issue in the automatic po creation. For some Shopping Carts the PO is not automatically created. The SC is having Source of Supply Assigned and all the approves have completely approved the SC.  The latest status is  I1111          Item in Transfer Process.
    I checked in RZ20, ST22 and could not find any error or dumps.
    For the SC item under BBP_PDBEI the BE_OBJECT_TYPE is BUS2201 and BE_OBJECT_ID 1, once I trigger the PO creation manually the PO object id is reflected here.
    For such SC I am running the report BBP_ALERT_SB_NOTTRANSFERED manually which puts the SC in I1112 Error in Transmission Status and later I can trigger the SC creation from the alert monitor.
    For POs created in this manner the PO is created in Held Status without any line items, is this normal?
    I have two questions which I want to understand, how is the automatic po creation from SC setup, is there any customizing involved for the po creation from SC to happen automatically?
    What else should I check to find the reason why the the SC was stuck in I1111 status and PO was not created?

    You need to configure the Purchasing group and this will take care of automatic transfer of Doc to sourcing cockpit. Make sure you also maintain the customization for sourcing always carried out for Prod categories.
    Regards
    Saurabh

  • Automatic Po creation With MB01 i am getting Error

    Hi ,
    While doing goods receipt for  Automatic Po creation i am getting error
    MM activated Automatic Po
    VM activated Automatic Po
    101 Mov Type is also activated
    Item 00010 of purchasing document 9999999999 does not exist
    Message no. ME706
    Diagnosis
    Purchase order 00010 with item 9999999999 was not found.
    Procedure
    Enter a different purchase order.
    i given  the Vendor and quantity  after entering error is coming
    Please help
    Manjunath

    HI,
    Pls ceck the points mentioned below.
    Define one of the purchase organizations as Standard Purchase Organization
    Assign your plant to Standard Purchase Organization
    Maintain purchasing information record with price
    Maintain the indicator for movement types 101 & 161
    Define Default Values (MB01) for Document Type
    Now you can enter a goods receipt without entering the purchase order number, a purchase order will be created automatically when you post the goods receipt. All such goods receipt will be valuated at the price maintained in the purchasing information record.
    First you can try this with T. Code MB01 if it is working then try with T. Code MIGO, if you face any error or functionality is not working check with your basis consultant some authorization or some patches may be missing. Ask him to apply all relevant patches.
    Thanks
    Chandru

  • Automatic PO creation (ME59)

    Hi,
    1) source list and purchase info records both are mandatory for automatic PO creation ? with missing data in either of one, can I proceed ME59
    2) if i have mentioned one material for two or more vendors in ME01 and ME11, which vendor will be assigned to PO
    regards

    Hi,
    Just to add make sure your material master IS TICKED for automatic PO creation and vendor record is also ticked.
    You should have a valid info record that consist of valid conditions.
    Thanks
    Silas

  • Automatic po creation third party order

    Hello Gurus,
    In case of automatic po creation from third party order we have attach purchase organization and vendor to sales organization. This restrict only one vendor against sales organization.
    Is any BADI available which we can use which to change vedor dynamically ?
    Best Regards,
    Vasant

    Dear Vasant,
    For automatic PO at the time of GR following are the prerequisites:
    1) In Customizing
    a) Auto PO generation must be activated in Mov. Type 101 & 161
    b) the plant for which GR is entered must be assigned to standard Pur. Org.
    c) Default Document type for PO must be specified in GR ( MB 01)
    2) Application - Front end side
    a) material must be valuated material
    b) Purchasing Info record must exist for vendor , material & standard Pur Org.
    c) Conditions in Info Records must be valid.
    d) Applicable for stock items & not consumable items
    e) you cannot enter any movement in GR block stock
    f) Material Master & vendor master records must.
    If you ensure all above settings then it is possible to have auto PO during GR.
    Please try,
    Vivek

  • Automatic PO creation - only for PRs based on catalog SRM/EBP items

    Dear Experts,
    i am facing the following question w.r.t. automatic PO creation:
    Is it possible to have automatic PO creation in R/3 only for those purchase requisition items, that are based on shopping cart/EBP/SRM items that are from a third party punch out catalog?
    The idea is, that the requisitioner on the SRM EBP side shops in a catalog. Once the the SC is approved and the purchase requisition is created in the R/3 system, automatically a PO should be created based on that PReq. This would save the time for the buyer, who do not need to pay attention to this document, because the purchase from the catalog guarantees the buyer, that the already pre-agreed conditions are getting applied.
    But PReqs that are based on Free Text shopping cart EBP items must not be taken into account for the automatic PO creation.
    Is there a way to distinguish between the catalog-based and the non-catalog based PReq positions?
    Thank you.

    Auto PO transaction ME59N comes with huge selection crieteria. If you can distinguish between catelog vs non catalog requisition then it very easy to set up variant to filter non catalog based requistion. you can also think about ehnacement of polulating text fields like Requisitioner or Requirement tracking number  with unque idetifier  in case of non catalog based PR then you can set variant to filter out those requistions..

  • Automatic TO Creation and Confirm for the 321 Mvt type

    Hello Experts,
    Like to know the customisation invovlved for automatic TO creation and confirmation for the 321 movement type in which QM is activated.
    I have already activated in OMKZ as below
    1.Automatic TO for 321 mvt ytpe
    2.TO item to be confirmed immediately
    3.Propose confirmation
    Table T333 -AUTTA
              T333-SQUIT &
              T333-VQUIT is activated.
    Please let me know any other settings to be performed
    Regards
    Krishna

    Hello Experts,
    I am trying to create the Automatic TO and TO confirmation for the mvt type 321.
    I made the below settings
    I have activated in OMKZ as below
    1.Automatic TO for 321 mvt ytpe   -"A"
    2.TO item to be confirmed immediately  - tick mark
    3.Propose confirmation   - tick mark
    Table T333 -AUTTA
    T333-SQUIT &
    T333-VQUIT is activated.
    I have activated in OMKX as below
    Table T321-TBFKZ Immediate TO Creation with "A"
    T321-TAFKZ TR creation with "X"
    After doing the settings i am not able to see the Posting change number in the Material document created for the mvt type 321.
    Please let me know how to create the Posting chnage notice for the material document and how to convert the Posting change notice to automatic TO and confirmation.
    Thanks & Regards
    Krishna
    Edited by: Hariharan krishna on May 25, 2011 8:01 AM

  • Automatic TO creation

    Hi i need a help for following question,
    In warehouse movement type customization we can set a indicatior for automatic TO creation(background processing), but where to define this indicator and interval for this background processing like after every day or after 'xyz" hrs. Again how to see the report "RLAUTA10" (The transfer order for  transfer requirement is created by report RLAUTA10, which is scheduled as a regular job)
    Thanks in advance,
    Kamlakar G

    Hi Kamlakar,
    The program RLAUTA10 creates the TOs in the background. This is a program and you can execute through SE38. This can also be scheduled as background job with different frequencies.
    Now, You want to have different TO generation frequnecies for different movement types. This can be controlled using the 'Configure the automatic TO' indicator at followign location
    LE -> WM -> ACtivities -> Transfer -> Setup auto TO creation
    in the option 'auto TO creation' control data, create the indicator for your warehouse
    assign the indicator to movement type in 'assgin control' option.
    go to movement type and assign the indicator to movement type in 'background processing' Auto TO field.
    Now you go to SE38, execute the program 'RLAUTA10', enter warehouse and the indicator, save the variant.
    this program and variant can be used to setup the background job in SM36. while scheduling the job, you can specify the start conditions, frequency etc.
    Bottom line is, you control the background job (RLAUTA10) frequency while defining the job in SM36. you can have different variants for the same program and schedule to run at different intervals. hope this helps.

Maybe you are looking for

  • HP mini 110

    We have had the mini for quite some time. We bought the laptop, PC, and mini combo in 2009. After some years, someone changed the password and not the hint, so we cannot get into the mini. Can you help?

  • Funded Program In WBS Field Is not appeared

    Hi I want to derivate funded program from wbs field. But I cannot find this field in wbs master record. Please kindly tell me activation steps for funded program. Regards Yashar Edited by: Yashar Farzaneh on Apr 12, 2011 1:38 AM

  • Why won't my Airport Utility/Time Capsule Work any longer?

    Time Capsule has not completed a back-up in over a year. Prior back-ups appear to be incomplete.  Once started, Time Capsule gets hung up during attempt to connect and eventually fails. All efforts to reset, unplug, have failed to help. It is connect

  • Acrobat window minimizes to a line

    Acrobat 9 pro MacbookPro. When I open a PDF on an external monitor, then detatch the monitor and view the file from the laptop screen, the PDF shrinks into a single line like 'l' or to just the top little bar with the three window buttons on my dashb

  • Fixing Virtual PC 7 on Corporate LAN with Outlook

    I was having problems getting my new Quad with 10.4.3 and VPC 7.0.2 to work properly at home to connect my Outlook using my VPN into work. I tried a bunch of stuff and ran across the following post at Microsoft: http://support.microsoft.com/kb/824440