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.

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

  • How to define a trigger to start a switch scanning task

    I am writing a program in LabWindows/CVI using DAQmx library which handles PXI-2567 card. I have created a new switch scanning task, by the function DAQmxSwitchCreateScanList, that uses the specified scan list. I would like to start this task synchronously with the signal generated on one of trigger line. I thing, that this is possible using DAQmxSetTrigAttribute function where I can define the trigger type to start the task. Unfortunately, it only allows setting the type of trigger but is not clear for me, how can I set the source and edge type for the signal which will start the task.
    Best regards,
    Miroslaw Koziol

    Hi Ion,
    Below I will try, most clearly as I can, present a problem which I was struggling.
    I have a system that consists of 3 PXI modules: PXI-4461, PXI-6653 and PXI-2567. One digital-to-analog channel on PXI-4461 generates sinusoidal signal which supply my DUT. I need to measure 2 voltages on DUT by one analog-to-digital channel on PXI-4461 (I know that PXI-4461 has 2 analog-to-digital channels but for various reasons such an approach cannot be applied). Each of the voltages must be measured by the integer number of periods and it has to be done continuously (for example 8 periods of one voltage and 8 periods of second voltage and so on). Therefore, a DDS on PXI-6653 is used to generate the signal which frequency is integer times smaller than the frequency of the supply signal. This signal is routed through the trigger line to PXI-2567 and controls the switch which alternately joins the measured signals to the analog-to-digital channel of PXI-4461.
    The signal on DA channel must be generated continuously so this task is started and does not stop until the application is closed. Moreover, the generation is started synchronously with the rising edge of the signal generated by the DDS on PXI-6653. It is easy to start this task synchronously to the signal generated by the DDS because on PXI-4461 module a specialized trigger line for analog outputs exists.
    The measurements done by the AD channel on PXI-4461 are started and stopped by the user of application. The start has to be done synchronously with the DDS signal. This is also not a problem because on PXI-4461 module a specialized trigger line for analog inputs exists. Unfortunately, I do not know how to start a switch scanning task in the same moment of time when the measurement task is started. If I do not do start these two task together I do not know which voltage samples I receive in my application.
    Therefore, I need to know if is it possible to assign a trigger line to start the switch scanning task and set the source and edge type for this signal.
    Best regards,
    Miroslaw Koziol

  • Switch Applications List

    How do I edit the items on the "switch applications" list?  Ones that are active are on the list, however when I close some applications, they remain on the list.  Specifically I am looking to remove the "Blackberry Messanger" from the list.  Thanks for your help.

    You don't need to uninstall BBMessenger. It takes up very little space in the memory, and if you are not using it, it won't take up resources.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Adobe Acrobat v9.0, and a HP Lserjet M1212nf with multi-page feeder. How do I switch scan scource?

    Using Adobe Acrobat v9.0, and a HP Lserjet M1212nf with multi-page document feeder.  How do I switch scan source from just the scanner bed to feed from the document feeder?
    {Personal Information Removed}

    Hello MN42
    Printing duplex and scanning duplex are two completely different things and rely on two different hardware components. The back of the printer has a duplexing unit for flipping the page while printing. In order to scan duplexed documents "automatically" you need to have an Automatic Document Feeder (ADF) that supports duplexing as well.
    As per your inquiry, if you scan from the Officejet 6700 software you can flip the pages manually from the flat bed into a single PDF document. See the image below. Let me know if you need any additional assistance.
    Don't forgot to say thanks by giving "Kudos" to those that help solve your problems.
    When a solution is found please mark the post that solves your issue.

  • PXI-6220 And Scan List

    I want to acquire mutiple singnels with PXI-6620, and I see that a Scan List memory of 4095 entries is indicated in the data sheet. I want to program the Scan List with CVI, and what should I do? I cannot find anything about it in the DAQmx mannul.
    Thanks!

    Hello,
    You can take a look at the examples we have that are included with NI-DAQ. You can find these examples in C:\Program Files\National Instruments\CVI70\samples\DAQmx. You can then program multiple scan lists depending on the application you want to do.
    Hope this helps!
    LA

  • Why the scan lister and listener configure/start from GRID home why not from Oracle Home.

    Hi
       why the scan lister and listener configure/start from GRID home why not from Oracle Home.

    > why the scan lister and listener configure/start from GRID home why not from Oracle Home.
    Because Oracle says that's the way it has to be.
    As @MohaAGOU said, starting in 11gR2, the Listeners (both SCAN and traditional) are now cluster resources. Let's start with the SCAN Listener. There are only 3 of them, even if you have 4 or more nodes in the cluster. If a node goes down and a SCAN Listener were running on it, Grid Infrastructure will relocate the SCAN Listener to a surviving node. Much easier to do this if the entire resource were in the GI home. Note that an instance cannot be relocated and it is running on a different home.
    As for the traditional listener. The Listener itself won't be relocated during a node termination, but its VIP will.
    Cheers,
    Brian

  • 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

  • Switch from List of user to username and password fields?

    I have my Login Window to display a List of Users by default.
    Is there is shortcut key that switches to username & password fields so one can type in the username as well as the password?
    I googled it and I found something like "hold opt+return and click on any username", does not work though...
    I know that I can change it in System Pref. but it would be handy to know the shortcut key as well.
    Thanks.

    The "Option"-"Enter" trick should still work from the keyboard - use the arrow keys or type the first few letters of a listed name to highlight a username, then press "Option-Return":
    http://docs.info.apple.com/article.html?artnum=25686
    As I recall, to do the same thing with keyboard + mouse, the modifiers to be used when clicking did change between 10.3 and 10.4 so some of what you find on the web may be out of date.

  • How do I switch to list view in the Pages local directory

    How can I switch from a grid of file icons to a list of filenames in Pages for iPad ?

    I don't believe there is no way to change views. It's something that I wish was there to reduce the real estate taken by these icons.

  • Switch through list one application to another

    Hi,
    i have created four application in workspace and all have same user_id password for login.
    now i have created a list in new application this list has 3 option ,these 3 optios are differenet applications home page.
    after click on this link particular application opens ,when i click on logout button of this application,i want control switch to application where list is specified
    for example
    main application is 104 and home page have a list with these option
    transport application is 103 //application no 103
    meeting application is 102
    mis application is 101
    as i click on transport application control swith to transport application after complition of task as i logout application (transport application) control back to the main application 104 home page so i swith to another application.
    how can i do this?
    Thanks & Regards
    Vedant
    Edited by: Vedant on Oct 13, 2011 11:27 PM
    Edited by: Vedant on Oct 14, 2011 1:51 AM

    Dear Friend,
    Thanks to reply me.
    i am using Customise authentication scheme .
    What should i pass in Cookie Attributes
    1.Cookie Name --------?
    2.Cookie Path --------?
    3.Cookie Domain-------?
    suppose one application path is
    http://apex.oracle.com/pls/apex/f?p=157:68
    suppose Second application path is
    http://apex.oracle.com/pls/apex/f?p=115:1
    and both application are in same Workspace
    i want to switch One application to Second Application .
    How to pass this application information in Cookie ?
    How can i do this ?
    Thanks
    Edited by: Vedant on Sep 25, 2011 11:48 PM

  • Multiple scxi 1127 switches scanning, dmm 4070

    Hi,
    I am using 2 switches SCXI-1127 in a PXI/SCXI combination chassis. The readings are done through a dmm 4070.
    I need to scan 60 thermocouple channels, i.e. 32 on the first one and 28 on the second switch. Now, I found http://zone.ni.com/devzone/cda/tut/p/id/3658 stating that a scanning multiple SCXI switches is using legacy DAQ functions in niSwitch for these specific siwtch cards (1127).
    What version of niSwitch was it? Is it still true now? Why is that? Or should I use the new way using DAQmx?
    thank you
    alex 

    Hi Alex,
    This is still the case with NI-Switch 3.3.1.  Due to hardware limitations, scanning multiple SCXI-1127 modules is not a simple task with the NI-Switch driver.  I would recommend using the DAQmx example "DAQmx Multi Switch Synch.vi" if you are performing synchronous scanning.  I have taken a screen shot of the front panel of a working VI to help get you started.
    In general, it is more efficient to use DAQmx when scanning multiple switches.  When using NI-Switch to scan multiple switches, it is necessary to maintain a session for each switch module.  When using DAQmx Switch, you need only open one task.  Using DAQmx Switch increases programming efficiency, keeping your code neat and maintainable.
    If you need further explanation or if you have further questions, please let me know!
    Chad Erickson
    Switch Product Support Engineer
    NI - USA
    Attachments:
    synchronous scanning.JPG ‏136 KB

  • Multiple channels switch scanning DMM

    Hi,
    I am using DMM (NI PXI  4071) and switch (NI TB 2627). I want to do the measurement by scanning one channel then start to measure, after that go to another channel and start to measure again (so called syncronous).
    But, I have problem in my code to display the output of each channel. I just can show the output of channel 0 only.
    Here I attach my code. Instead of displaying the output of the channels, actually it only can show the output of channel 0 according to how many samples that I want. That's why I try so hard to show output of others channels.
    anyone can help?
    Thank you for your help.=)
    Sorry my code is very messy.
    Solved!
    Go to Solution.
    Attachments:
    try.vi ‏144 KB

    Thanks for the response.=)
    Yeah... that's my bad.. I just notice that mistake.
    But actually I have change the code to become like this. (see attachment)
    I'm pretty sure that if I can handle the error, then I can see the output of each channels based on the physical channel that I want.
    But now, I cant figure out the error. Because it keeps saying that it's channel based task only though I already follow the example how to use daqmx create channel and daqmx read.
    Attachments:
    try6.vi ‏196 KB
    ERROR.JPG ‏117 KB

  • HT1655 my imtunes loaded a set of 4 genius  playlists to my i shuffle..it keeps replaying the same  list ...how do I switch from list to list ?

    My itunes loaded my songs to my new shuffle in 4 sets of playlists....now it keeps replaying same list...how do I switch to other lists to listen to rest of tunes..?

    You must use VoiceOver. See the Changing Playlists section of this Apple support document for more information.
    iPod shuffle (4th generation): Enabling and using VoiceOver
    B-rock

Maybe you are looking for