Switch Step Scan List

I am using the 2530B with dual 64x1 topology. In TestStand, I want to set up the IVI Switch Step to where it connects a channel off of each bank and then uses the DMM to record. In LabWindows I can use: "ch0->com0 & ch64->com4";
How would I do that using the IVI Switch Step? Under 'configure scan' then ScanList tab, I currently have ch0->com0 then ch64->com4 using No Action so that each set before DMM measures then each will disconnect with there own commands. Is there an easier way for this, although I have not tested this method? Forgive me if this seems common knowledge but this is first time I am using TestStand.

Are you asking about an easier way to disconnect the switch? If you could clarify some more about what you are trying to do, that would be great. Also, are you using Switch Executive?
Jacob R. | Applications Engineer | National Instruments

Similar Messages

  • Keep switch channel selected for multiple steps in a scan list

    Hi,
    I have 3 switches (PXI-2575), one to apply a source to a given line, one to apply a sink, a one to apply a DMM.  I have all three switches triggering off each other as well as a DMM (PXI-4070). I apply a source to any given line with the source switch and then cycle through other lines using the DMM switch. Problem is i want to keep the wear on the relays of the source switch to a minimum (for each cycle through the DMM lines I'm selecting same source pin multiple times!). Is there a command for scan lists or some way of setting up the switches so that this can be done?
    I thought it might be possible to use the debounce command ';' on its own to signify that i don't want to change the channel selection but this does not appear to work, the DMM times out whilst waiting for a trigger on the second reading. Simplified example scan list that i currently have:
    Break Mode: No Action
    Source Switch: ch0->com;;;;~ch0->com & ch1->com...
    DMM Switch: ch100->com;~ch100->com & ch101->com;~ch101->com & ch102->com;~ch102->com & ch103->com;~ch103->com & ch100->com...
    I've also tried selecting the same channel in subsquent scan list entries which flags up error saying explicit connection already exists between the channels.
    So is the only possibility just to needlessly wear out the relays?!

    Hi leon007,
    I can understand your desire to keep the wear on the relays of the Source switch to a minimum.  I have a few questions, but we should be able to get the application working without needlessly wearing out the relays.
    1.  Can I assume you are using NI-SWITCH to program this application?  If you are using the NI-DAQmx Switch API, please let me know.
    2.  When you state "I have all three switches triggering off each other as well as a DMM", can I assume (leaving out the Sink switch for now) the scan advanced output of the Source switch (TTL0) is sent to the trigger input of the DMM switch (TTL0), the scan advanced output of the DMM switch (TTL1) is sent to the trigger source of the DMM (TTL1), and the measurement complete destination of the DMM (TTL2) is sent to the trigger input of the Source switch (TTL2)?
    3.  If you are still having troubles after this post, I would like to know the following so I can assist in testing the issue:  What versions of NI-DAQmx and NI-SWITCH do you have installed?
    OK, that's it for my questions.  Now for yours.  Unfortunately, the debounce command ';' didn't work because it is simply a dummy entry - without creating a connection no scan advanced signal will be sent.  I've noticed this is not documented well in our help file, and I apologize for that.  However, attempting to create a connection where one already exists should be an error.  Either the user is attempting to redundantly connect channels (which shouldn't happen if niSwitch Get Relay Position is used), or there is a driver issue.
    To keep the relay wear to a minimum, I want to suggest a couple of ideas. 
    1.  Use only one trigger line for the DMM's measurement complete and one trigger line for all the switches scan advanced outputs.  To use this option, it cannot matter in your application which switch operates first, and which operates last.  The switch that always makes a connection (the DMM switch) will send a scan advanced output trigger with a set scan delay (configured in niSwitch Configure Scan Trigger) that should accommodate for all the switches.  This option may add delay in your application, but you will save relay life.
    2.  Use the DAQmx Switch API and the '&&' command between seperate switch connections.  In the DAQmx Switch API, you use just one scan list for all switch modules.  For example, we would perform the example scan list entries you provided with the following scan list:
    /Source/ch0->com && /DMM Switch/ch100->com; ~/DMM Switch/ch100->com & /DMM Switch/ch101->com; ~/DMM Switch/ch101->com & /DMM Switch/ch102->com; ~/DMM Switch/ch102->com & /DMM Switch/ch103->com; ~/Source/ch0->com & /Source/ch1->com && ~/DMM Switch/ch103->com & /DMM Switch/ch100->com...
    The above connects the Source switch CH0 to COM, waits for the relays to settle, connects the DMM switch CH100 to COM, sends the scan advanced output signal, and waits for the trigger input before executing the next scan list entry.  This method will keep an order to the madness, as you will have the power to decide which switch operates first, and which operates last.
    Let me know if I assumed anything incorrectly or if neither option works for you!
    Chad Erickson
    Switch Product Support Engineer
    NI - USA

  • Scan list using Switch Executive

    I have a number of signal routes using multiple switch cards that I have set up using switch executive. I want to create a scan list that will switch each of my routes in turn each time I see a hardware trigger on the trigger inputs of my switches.
    I have looked at some examples in TestStand and can see that if I use the IVI Switch Step using the IVI Switching setting that I can set up a scan list but that seems to be only for one switch card, I have two that I need to route signals to a Digitizer. I can not see a way of using my routes set up using Switch Executive. 
    I can either use LabView2013 or TestStand 2013 to do this.
    Some help would be most appreciated?
    Wayne 

    Hi Wayne, 
    If I have understood your problem correctly, this VI in LabVIEW sound like it does what you are after. 
    NI Switch Route Trigger Input
    Also at the bottom of this LINK are some examples of scan lists, perhaps you will be able to adapt this to your needs
    Please let me know how you get on
    Kevin R
    Applications Engineer
    National Instruments UK&Ireland

  • NI-2530B Switch Scan List

    I am having issues with the 2530B reading in my scan list. I have had no issues until now. In Test Stand I create a scan list, Example: "ch0->com0 & com0->pcom1 & ch16->pcom1;". When I intialize, configure, initiate, etc the switch acts correctly. When I send it a scan list, Example: "ch0->com0 & com0->pcom1 & ch16->pcom1; ~ch0->com0 && ch1->com0;" (With mode using Software Trigger) it does not read anything in the list and does not open/close any switches. I have used this switch for awhile now but some odd reason I am having issues with it right now and can not figure it out.
    To go a little farther, I use GetRelayPosition to step through each relay to check after I initiated the scan. When I use the second example scan, I get a response back of NISWITCH_VAL_OPEN (10) for all relays, but when I use the first scan, the one that works correctly, I get no repsonse back from GetRelayPosition and the return value stays at '0'. Everything seems odd. I have been using the Switch for months now and created hundreds of scan lists of different types but not sure why I am having these problems now.

    Correct about relay position while scanning, but once I abort I can check then also correct? If so, that is what I did and still got the '10' for the one not working correctly and '0' for the one that worked instead of '11'. I am using Test Stand and using niswitch32 dll to call the functions. I have my own dll I create the scan list in. And yes, when I include ';' output signal to wait for software triggers that is the scan lists not working correctly. IIf my scan list just contains one scan through, it works. Which is odd because I have been using this switch, funcitons, and my own scan lists for months and not sure why this is happening now. I can include some code but the only code would be creation of a scan list and I provided what it looks like above.
    InitWithTopology ( "Name", "2530/Independent", False, True, handle);
    ConfigureScanTrigger (handle, 0.0, software trigger (3), none (0));
    Create My Scan List
    ConfigureScanList (handle, list, none(0) );
    InitiateScan(handle);
    Measure from external dmm
    When my scan lists look like:
    com0->pcom1 & com2->pcom3 & ch16->pcom1 & ch32->com2 & ch1->com0 & ch49->pcom3;
    The DMM takes the correct reading and everything works.
    When my scan lists looks like (Or anything involving multiple triggers):
    com0->pcom1 & com2->pcom3 & ch16->pcom1 & ch32->com2 & ch1->com0 & ch49->pcom3; ~ch1->com0 & ch0->com0; ~ch49->pcom3 & ch48->pcom3 &
    It does not work and nothing responds. It does not stop at the first output signal ';' and wait for a trigger as I do not even get a reading like the first scan list.

  • Prblem with Switch step in BPM

    Hi all,
    I have a problem with a switch step in my BPM. The condition on my BPM is that I have an xpath and that should have a particular constant value. If true, then proceed or else passs through the otherwise branch. The success branch has a transformation and a send step. The otherwise has a control step with an Alert category defined.
    So the BPM is like
    Receive message --> Switch (XPath condition a particular node must have a value not equal to zero.) --> if tru then transformation and send step otherwise control step.
    This all works fine as expected when I pass in the correct message format. The problem is, if I send in a message of a completely different structure, it is still going through the otherwise step of the switch case and not erroring out. The BPM is not erroring out no matter what message I pass in.
    Ideally I am expecting it to error out and send an alert message according to the category.
    could somebody please help me on this?
    Thanks
    Karthik

    Thanks for your reply. I already did go through that thread. The switch case works fine for correct conditions and wrong conditions. The problem is, there is no error being generated when the input message is not in a recognizable structure. Switch goes on to otherwise path is I just pass in some random file.
    My question is, why dint the BPM error out when the XPath itself failed..meaning the structure itself is wrong?
    Please reply.
    Thanks
    Karthik

  • BPM: XPath-Condition in Switch Step

    Hello,
    I have the following requirement in BPM.
    There is a switch step with five branches, and I have the following document structure:
    <Root>
    <Segment>
       <Docnum> 12345 </Docnum>
    </Segment>
    <Segment>
       <Docnum> 12346 </Docnum>
    </Segment>
    </Root>
    The switch condition is done based on the last digit of the first Docnum element. So in this case the value would be 5.
    I tried to work with a substring as the total number of digits of docnum is always 5.
    How would an XPath expression look like to retrieve the substring from the first <Segment> element? I tried different combinations but none of them really worked.
    Example what I tried: p1:/root/Segment[1]/substring(docnum, 4,1)
    Any advise on this?
    Thank you very much

    Try this...
    substring(/p1:/root/Segment[1]/docnum,4,1)
    for more info see
    http://www.w3.org/TR/xpath
    Message was edited by:
            Alex

  • Problem with switch step

    Hi,
    I want to proof in a switch step, if the message part 'price' is lower than the 'price'-part of an other message. Dependent from the expression, the corresponding fork is triggered in my BPEL process.
    I know there is an expression editor, but I can't find a lower than and greater than symbol, respectively.
    Are these operands not supported or am I blind
    Best regards
    Sascha

    I donot think you are blind..:)Switch step doesnot provide that....Instead check the condition in the message mapping and add a field in the target message which will contain the result.You can use that check for you to switch...Iam not sure wether am right but this is option I could think..:)

  • Checking condition in switch step of BPM

    hi all,
    i am doing an 1to1 transformation where: i am converting my source into a target. the target has
    header 1
    lineitem 1..unbouneded.
    lets say there are three line items:
    header1
    lineitem
    lineitem
    lineitem
    i am using a send step where i am sending this target msg to a switch step. in the switch step i am checking for a condition.i am checking for the occurence of a field in the line item. but when specifying in the condition editor, it allows only to choose from the root of the structure. how can i check the ocuurence of a particuler field for the lineitem alone??
    is there a way to to do it??
    Any help will be greatly appreciated.
    Thanks

    Hello,
    This is the condition i have currently given: but if i have 2 or more lineitems in the incoming msg does this condition also check for :
    MI_DOC./p1:SRC_ROOT.lineitem/itemfield2 EX
    MI_DOC./p1:SRC_ROOT.lineitem/itemfield3 EX
    etc...
    and in one of the line item the field may EX and some it does`nt. when it doesn`t i am cancelling the process, if the field EX then it is sent to further processing.so if i have 3 lineitems in which two of the line items the field EX and in the other one the field does the EX, are the msgs split accordingly??
    Message was edited by: Aarthi R

  • SWITCH step in BPM

    Hi,
    I am designing one BPM.
    In my incoming payload there is one field,on the basis of this field I have to decide receiver in runtime.
    Please guide me to disgn this BPM.
    I have put switch step ,but I am getting error in BPM.
    Waiting for reply.

    Hi,
    Check this links
    /people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time
    This is really a good document about BPM
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c071d7bb-0601-0010-d6b8-f4e4dc7f1e20
    Thanks,
    Prakash

  • Problem with Switch Step in BPM

    Hi,
    I am using Switch Step in BPM, to check a condition. I created following condition (App_Resp./p1:App_Resp_MT/Response = true). The mentioned is correct and it should succeed but it is failing. Its going thru OTHERWISE branch. Can anybody help me to solve this out?
    Thanks,
    Yaseen.

    HI,
    I checked in the workflow the xml file generated contains value 'true'.
    Its not multiline and looks xpath reflects for the changes made.
    I think it may be problem that needs to deploy any OSS notes.
    Please throw some idea.
    Thanks,
    Yaseen.

  • Switching Step based on Send Step Acknowledgement in BPM

    Hello Everyone,
    We have an inteface scenario to read a file, send the message to an R/3 system, check the return code and generate an email if the acknowledgement is not OK.  NT file -> SAP XI -(asyn ABAP proxy)-> R/3.
    We want to use the standard inbound interface provided by SAP which is an asynchronous proxy interface. We implemented a BPM with a send step and application acknowledgement. Now based on the application acknowledgement we want to send an email to a support group. Is there a way we can check the acknowledgement status and implement a switch step?
    Sathi.

    Hi Naveen,
    Thanks for your response.
    OK I will try transport acknowledgement. I find these acknowledgements are not available in a container. So how can I implement a switch to perform 2 different processing paths based on success/failure status of the acknowledgement.

  • Condition in switch step is not getting checked

    Hi Friends,
    My requirement is to send the input msg to two receivers based on a condition and get the response. If the condition is true it will either goto both or anyone of the receiver.
    I defined two branches in a switch step. In each branch i defined condition using XPath. Under that branchs i defined the sync send step to send the msg to receiver and get response.
    If i give input that is true for any one of the receiver, it executs successfully. But if my input satisfies the condition of both branchs, instead of sending the message to two receivers it is sending the msg to only receiver.
    Pls help me in resolving this issue.
    Thanks & Regards,
    Senthil.

    Senthil,
    Please confirm your process looks like this:
        /-- item name CE 'X' -- [send] --\    /-- item name CE 'Y' -- [send] --\
    Or, if you follow patrick's suggestion
         /-- item name CE 'X' AND item name CE 'Y' -- [send] -- [send] --\
    ---   -- item name CE 'X' -- [send] ---------------------------------   ---
    Kind regards,
    Koen

  • Condition in switch step

    Hi:
    Somebody help me with some information about how to Configurate the switch step (Condition, left operand) in BPM

    Even though this forum says BPM and WF, but for your question XI forum will be right place.
    Regards, IA

  • BMP: Condition Editor for SWITCH Step

    Hi
    Can anyone tell me how I stipulate the following conditions for a switch step in BPM:
    >, <, <=, >=
    The only options that seem to be available are:
    =, !=, Existence check and contains a particular string pattern...which is very limiting?
    Surely SAP has given the options for the greater than, less than etc oprands....hopefully i simply missing a service pack or something like that.
    Cheers
    Yackeen

    Hi
    One way could be to use XPATH expressions & XPATH functions in your condition editor. Chk whether an element has a value greater than or less than some value in the XPATH expression itself.
    The result of this check now can be compared to a true or false(that is your rt hand operand). My 2 cents.
    -Saravana

  • Testing switch step conditions

    Hi
    Is there a way to test conditions in switch step?
    With real data when the process is executed... it seems that the condition does not work... but I can not see more details to investigate what is wrong.
    Has anybody ideas how to test switch conditions?
    Thanks for any input,
    Heiko

    Ok sorry, I thought you were maintaining a Business Workflow, not an XI process..
    I haven't worked with ccBPM or the integration/workflow builder myself, but could you go to the graphical builder, drill down to the switch step and see what's available there? In the business workflow builder you can see a small simulation button in the bottom together with create test data button.
    -Mikko

Maybe you are looking for