Update Switch Configuration from Switch Executive 2.1 to 3.5

Hi everybody,
I tried to update from Switch Executive 2.1 to 3.5 and had to find out, that my configurations have stoppped working. To me, it looks like 3.5 doesn't like my IVI configuration for the switching modules.
The Verify function in MAX tells me that the PXI cards are not accessible. The frontpage of the switch configuration shows no configurations / terminal blocks.
Since the configuration consists of nine matrix cards with a lot of hardwires, I'd really appreciate a way to properly import the old configurations (xml files are available)
Any ideas?
Cheers
Oli
Programming languages don't create bad code, programmers create bad code....
Solved!
Go to Solution.

Hey Oli,
Background:
By default, NISE 3.5 and later use the DAQmx API (instead of IVI) to directly control switch modules.  This is different from previous versions, which required setting up an IVI session for each NI Switch module.  You can still use IVI with NI Switch modules in NISE 3.5 and later, but this is not the default behavior.
The KB Sebastian referenced lists three different upgrade paths to use exported IVI Virtual devices in NISE 3.5 and later.  As you've discovered, NISE 2.1 has fewer export formats, so we'll need to take the following steps:
Assumptions:
You have virtual devices created in NISE 2.1 (file format doesn't matter).
IVI Sessions and Logical names haven't been setup on your NISE 3.5 machine:
Action items:
Create IVI sessions and logical names.  You could manually create the IVI sessions (as mentioned in the KB), but there's a MUCH easier method:
Right click on the NISE Virtual Devices tab and select 'Create New':
Click the 'auto create IVI devices' button.  A dialogue will pop up... just click yes:
The NISE Create Virtual device window should now look like this:
Notice that we now have IVI devices.  Sweet!  So now just click cancel (yes, cancel)... we only used this dummy virtual device to simplify the IVI creation process.
If you look in MAX, it'll appear as if there still aren't any IVI devices:
Fear not, all we need to do is refresh.  To do this, hit F5, and voila!:
So now all you need to do is change the IVI Logical name to whatever your old IVI Logical name was and then import as normal. 
At this point, you should be operational using IVI devices in NISE 3.5 (if not, post up).  If you'd like to go one step further and upgrade to purely DAQmx calls, just follow the steps in the 'Upgrading from IVI to NI-DAQmx' section.  Note that once you've upgraded to DAQmx, you'll only be able to use exported Virtual devices with NISE 3.5 and later.
Have a great day!
-John Sullivan
Analog Engineer

Similar Messages

  • HT201413 I have restored and updated my ipod from recovery mode however I still have the usb cord and itunes icon on the ipod when it is switched on. How can I get my ipod to work again?

    I have restored and updated my ipod from recovery mode, however I still have the usb cord and itunes icon on the ipod when it is switched on. How can I get my ipod to work again? I have updated and restored 5 times! When connected to itunes it only shows the summary page saying ipod in recovery mode.

    Fixed it!
    1. Made sure itunes software was up to date
    2. Pressed and held 'home' button and 'on-off' button at the same time for about 10 seconds till ipod reset (I hadn't done this step previously)
    3. Connected to itunes
    4. Pressed restore and update ipod
    Update successful and ipod taken out of recovery mode

  • Best way to remove CSM configuration from a switch

    have a redundant pair of CSM , would like to move slave CSM to a new switch, what is quickest way to eliminate all configuration from this switch so the same can be installed on the new switch , without reloading the switch or causing any downtime to already existing connections through the master CSM.

    HI Imre,
    Kindly read the following section for the required :
    http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/csm/4.2.x/configuration/guide/redun.html#wp1047388

  • Switch Executive with SCXI "an error occurred while attempting to access device"

    I get "an error occurred while attempting to access device" when trying to validate or use the test panel for my current configuration:
    PXI-1010 (PXI/SCXI combo chassis)
    PXI-4060 in the PXI rightmost slot
    SCXI-1129 in slot 1 of the SCXI portion
    Clean install of all NI software (2012 DS1 developer suite) and a reset of MAX configuration data after not getting this resolved previously.
    Because the SCXI-1129 is being controlled by the 4060 (legacy), I can't use DAQmx in NISE 3.5. So I'm stuck with IVI. I've configured everything in IVI so that I can at least add my device (SCXI_1129) into a new NISE virtual device. But when I go to validate or make a connection in the test panel within NISE, I get the above error.
    Am I configuring something incorrectly?
    Attachments:
    max_report.zip ‏93 KB

    Frank,
    Thanks for continuing to look at this issue. Here are my responses to your questions.
    1) You get an error when your driver setup string in in the General tab of your Driver Sessions is "1129/2-Wire Quad 4x16 Matrix"? Are you using a
    PXI-4060 in the right-most slot of a combo chassis. If you're using a DAQmx device, it's a whole different ball game. If you're not using a PXI-1010
    combo chassis, it's a different story too.
    2) I can't seem to find a way to cleanly export my IVI configuration files. Even the VI you wrote (Programmatically Export All Virtual Devices & IVI
    Configurations for NI Switch Executive) didn't copy the IviConfigurationStore files. So I manually copied them over and attached them. When I create
    my driver session, I type 3 things: the topology ("1129/2-Wire Quad 4x16 Matrix") in the driver setup string, "SCXI-1129" and "SCXI1::1" in the
    hardware tab (It would be "SCXI0::1" if the dip switches on the PXI-1010 were set to address 0, which is the default), and niSwitch in the software
    tab for the software module.
    3) The error I'm getting is the name of the post. "An error occurred while attempting to access device". It get this when validating my NISE virtual
    device when simulation is not checked. It's also peachy-keen for me when I simulate.
    4) See the screenshot.
    5) Production line down is par for the course for this lab due to how many people have messed with this station in an effort to bandage it over the
    years to keep product flowing. Long story, but there has one problem after another on this machine for a while with no owner. I'm now responsible for the automated tests on it. I'm adding new devices because I'm essentially starting from scratch so I know what's going on and can trust it. But apparently I'm either getting the same error they had before or it's a new one. I suspect it's the same one but it "used to work". I had another coworking here yesterday and he opened a phone SR, gave the information, and was told they'd get back to him. I haven't heard anything yet.
    Attachments:
    IVI export.zip ‏34 KB
    SCXI-1129 adding to NISE.JPG ‏36 KB

  • Switch Executive Error -1074130544

    An operation is getting the following error when attempting to make a NISE connection. He is running a sequence in TestStand 4.0 and using the switching properties of the step.   This is the first switching operation in the test sequence.
    An error occurred while performing the switch operation 'Connect' for the following device '265869_T45_LED_Driver'. Could not perform the switching operation: Details: (IVI Error Code: BFFA1190) [Device: NI_PXI-2532_ivi](Error = -1074130544) [Error Code: -17500, Operation Failed.]
    I cannot find any information on any of the above error codes.  What exactly does this error relate to?
    I am using TestStand 4.0, and NISE 2.11
    Thanks,
    Paul Holzrichter

    Hey kwseitz3 and Paul,
    After doing some more testing on
    our end, we believe that this might be a separate bug and would thus
    warrant a separate CAR to be filed. Do you still have the NI Spy
    captures from: 1. using Reset and 2. using Single Pass?  You also
    mentioned that it worked just fine when you ran your test without
    hardware so it would also be helpful if you could get us NI Spy
    captures for Reset and Single Pass for this scenario as well.
    One last piece of the puzzle that would help us would be your Switch
    Executive and IVI configuration information. For Switch Executive you
    could just export your configuration from MAX and for IVI you can copy
    the IVI configuration store file. Both of these should be .XML files.
    NISE Configuration: In MAX, right-click Switch Executive Virtual Device, select Export.  Send this file.
    IVI Configuration: Click on IVI Drivers to find the Master IVI
    Configuration Store Location.  Send the IviConfigurationStore.xml file.
    I went ahead and attached screenshots of where you can grab these files.
    Do you think either of you could get us these files so we can further isolate the
    cause of this issue?
    Attachments:
    NISE Configuration.JPG ‏65 KB
    IVI Configuration.JPG ‏49 KB

  • Deploying Switch Executive configurat​ions.

    I read the "How Do I Deploy My Switch Executive Configuration to Target Systems?"
    However, I can not find the following in the help file. Where am I going wrong?
    Exporting IVI Configuration
    The "Switch Executive Help >> System Deployment >> Preparing a Target Computer" chapter (see link below) says that to quickly export the IVI configuration, users can copy the IVI configuration file from your deployment computer to the target computer.
    thanks
    Scott Youngren
    Northrop/Grumman Navigation Systems
    [email protected]

    The mentioned help states:
    To export the IVI configuration to the target machine, copy the IVI configuration file from your deployment computer to the target computer. If you have IVI Engine 2.0 or higher, the IVI Configuration (including IVI Driver Sessions and IVI Logical Names) is saved in the IVIConfigurationStore.xml file usually located in the folder \Program Files\IVI\Data.
    What you need to do to deploy the system is to make a copy of the IVI configuration file (IviConfigurationStore.xml) and put it in the IVI Data folder on the target machine AFTER you have installed switch executive there. If you are not changing any of the directories between the installations on the development and deployment machines, then this method should work just fine.
    What specifically is not working for you, or what specifically would you want to have better explained?
    Thank you for your feedback!
    -Serge
    Srdan Zirojevic

  • How can Teststand have Switch Executive dynamicall​y change a route.

    I have created routes in Switch Executive and when I try to connect these routes thru Teststand via Action Properties under the Switching Tab.  I get an error saying:
    Details:A reserved for routing channel required for connecting this route is already in use by another route.(Error = -29031) [Error Code: -17500, Operation Failed.]
    I am trying to connect two different routes by the following syntax in the "Routes to Connect"  section:
    "Route1 & Route2"
    It seems that in Switch Executive Route1 and Route2 are both using the same reserved for routing paths.  For example:
    Route1:      [C0->MatrixA/r1->C2]
    Route2:      [C1->MatrixA/r1->C5]
    So my question is then...How can Teststand make Switch Executive change the route path?  I have r0, r1, r2, and r3 set as reserved for routing.  Thanks for your help.

    Thanks for your help.
    For situation 1: 
    When I use this method Switch Executive dynamically chooses a route but its always the same route.   What I need to do is have a set of pins that use only one route and another set of pins that uses a different set of routes.  You can think of it as c1 is one lead of a multimeter and c2 is the other lead.  I need to be able to connect c1 on any other column besides c2 and also c2 to be able to connect to any other pin besides c1.  Since in Teststand I need to connect c1 and c2 simultaneously as a step I get an error because both are trying to use the same route.
    Also when I change the route from: 
                                                      ​        channelA->matrix/r0->channelB
                                                      ​   to: channelA->matrix/r1->channelB,
    then when I save and close Switch Executive and I reopen it the channels automatically routes itself back to channelA->matrix/r0->channelB.
    Is there any way that I can save these routes to my configured route?

  • Cannot connect to com1 using Switch Executive

    I have a PXI2530 configured using Switch Executive 2.10.  The first 60 Channels are setup with my signal names on ch0 - ch59.  Com0, 1, 2 and 3 are my Instrument connections.  The IVI Driver Sessions has Driver Setup set to Topology:2530/1-Wire Octal 16x1 Mux. 
    When I try to configure either a Channel, Route or a Group, there is only a com0 pin and no com1, 2, 3, 4, 5, 6 or 7.  There is no way to connect to any pin beyond ch15.
    The configuration looks like it is setup for a 128:1 mux, but when I try to connect ch16 to com0, it cannot complete the route.  Ch16 cannot be connected to com0 or any channel in the list.  Any idea what I am doing wrong?
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

    Michael,
    What probably happened is that originally the NISE vd was created using the 128x1 topology. If the driver session is changed to another topology (like Octal 16x1 Mux) and saved the linked from the NISE vd and the old topology still exists until you close MAX and reopen it. When MAx opens it establishes a link between the NISE vd and driver session which remains in memory until MAX is closed and reopened.
    Guy Ferraro
    Switch Product Support Engineer
    NI - USA

  • Why do I get "Evaluation Expired" message in MAX with Switch Executive

    Why do I get �Evaluation Expired� message in MAX with Switch Executive on a PXI rack, which has a �Ghosted� image from and identical PXI rack(no problem with this PXI rack), when logged in as USER in Windows2000, but not when logged in as a Local Administrator. When logged in as Administrator in Windows2000 running a TestStand sequence, using a �C� code action step calling the nise.dll is ok, but not when logged in as local user. The alias switch name is unknown.

    1.0.4.109 is a dll version number where as 1.0.2 is a NISE version number. The dll version number does not always line up with the product version number.
    NISE 1.0 has a dll version of 1.0.1.109
    NISE 1.0.1 has a dll version of 1.1.4.1
    NISE 1.0.2 has a dll version of 1.2.4.7
    NISE 2.0 has a dll version of 2.0.0.45154
    The best way to find the product number is to launch the application and click on Help and About. You NISE version is probably 1.0 and NISE 1.0.2 will fix your licensing problem.

  • Connecting two 1-wire channels to a 2-Wire channel in Switch Executive

    I have a custom IVI 24x16 matrix and will be using the channels in groups of 2 and 4.  I would like to connect these 2 and 4-wire signals to the AB0 and AB1 inputs of a PXI-2503 multiplexer.  In Switch Executive all the signals of my matrix are characterized as 1-wire, but the PXI-2503 multiplexer inputs are characterized as 2 and 4-wire when in those respective modes. I can't figure out how to configure these as hardwires or buses so that Switch Executive will allow me to select one endpoint as the matrix and one as the multiplexer output.
    -Andy

    Andy,
    At this time, Switch Executive does not have support for creating
    routes that span channels with different wire modes. As a work around,
    you could create routes for individual legs of a route that have
    uniform wire mode, and then group them into route groups. This way you
    will lose some of the auto-routing otherwise available to you when you
    have uniform wire mode, but you will still have the flexibility of
    having named routes in your application.
    I hope this helps,
    -Serge
    Srdan Zirojevic

  • Select Switch Executive Route based on Socket Index

    Hi,
    I have a sequence set up in TestStand which simultaneously tests up to 4 UUT's. In order to run a current measurments, I need to be able to switch each device through the DMM. I have the routes properly configured in Swith Executive, and everything runs fine when I switch manually using the Test Panel feature. What I need to do now though, is choose which device is routed to the DMM based on its test socket number. 
    So, for the "Measure Current" test step on "Test Socket 0", I go to the Properties>Switching window and just select "Connect_UUT0" route group. This works fine for a single test socket, but how can I dynamically switch route when I have more than one UUT?
    I'm aware of the "RunState.TestSockets.MyIndex" variable, but I can't seem to select a route based on this. ie: In "Routes to Connect" I typed "Str(Connect_UUT)+Str(RunState.TestSockets.MyIndex)" after I read a similar solution on this forum, but I just get an error.
    I'd really appresciate some help on this,
    Thanks,
    Kevin
    Solved!
    Go to Solution.

    Hey Kevin,
    You shouldn't need to do Str(Connect_UUT). You're likely getting the error because it's trying to interpret Connect_UUT as a variable instead of a string. Try this instead:
    "Connect_UUT"+Str(RunState.TestSocks.MyIndex)
    I think that will work, but let us know if you run into any more trouble!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Cannot connect to com1 in PXI2530 using Switch Executive

    I have a PXI2530 configured using Switch Executive 2.10.  The first 60 Channels are setup with my signal names on ch0 - ch59.  Com0, 1, 2 and 3 are my Instrument connections.  The IVI Driver Sessions has Driver Setup set to Topology:2530/1-Wire Octal 16x1 Mux. 
    When I try to configure either a Channel, Route or a Group, there is only a com0 pin and no com1, 2, 3, 4, 5, 6 or 7.  There is no way to connect to any pin beyond ch15.
    The configuration looks like it is setup for a 128:1 mux, but when I try to connect ch16 to com0, it cannot complete the route.  Ch16 cannot be connected to com0 or any channel in the list.  Any idea what I am doing wrong?
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

    http://forums.ni.com/ni/board/message?board.id=320​&message.id=633
    Duplicate threadMessage Edited by Berto on 02-28-2006 12:15 PM

  • Switch executive stops working after labview 2009 installation

    Hi,  After I've installed labview 2009 my old switch executive virtual device routes stop working in such a way even if I try to set a route from switch executive test panel the attached error message pops up.
    I am using:
    Labview 9.0.1 
    TestStand 4.2.1
    Switch Executive 4.6.2 
    Many Thanks in advance
    Mehran Fard
    Mehran Fard
    Attachments:
    niSE.png ‏11 KB

    Hi Fardm,
    I might try doing a repair on LabVIEW, TestStand and Switch as it sounds like a dll might have become corrupt.
    Kind Regards,
    Owen.S
    Applications Engineer
    National Instruments

  • Switch Executive Libraries for LabVIEW 8.2

    My company uses LabVIEW, TestStand, Switch Executive, and more.  I'm in the process of setting up a new PC with LV8.2, TS3.5, and SE2.1.  It seems, however, that this version of SE does not have libraries for LV8.2.  There are directories on the CD for LV7.0, 7.1, and 8.0, but not 8.2.  When I install, as expected, there is no option to get support for LV8.2-- only the other versions I listed.  I need the nise.llb file but am not sure if I should just install the 8.0 version into my LabVIEW 8.2 directory.  It just seems strange to me that the libraries for 8.2 are not there.  Can someone please provide me some direction here?
    I'm new here so please keep your responses at the "new college hire" level .
    Thanks,
    Greg

    Hi TekGreg,
    The attached file was written in the format of a KnowledgeBase document and details how you can use Switch Executive version 2.1 with LabVIEW 8.2.  The workaround is simply to copy files from 8.0 to 8.2, but you want to make sure you copy them all.  Let me know if you have further questions or if this does not resolve your issue!
    Chad Erickson
    Switch Product Support Engineer
    NI - USA
    Attachments:
    Installing NI Switch Executive For LabVIEW 8.2.pdf ‏20 KB

  • NI Switch Executive error when attempting to add NI PXI-2566 switch to new virtual device.

    I just loaded Switch Executive and am wanted to explore its capabilities. I have a PXI system that I am setting up. Currently I have PXI-2566 cards in slots 8 and 9.
    I was following the NI Switch Executive help documentation "Creating a Virtual Device" and attempted to create a virtual device with the 2566 modules and I got this error;
    Error xBFFA000A occurred.
    Failure loading driver module.
    The driver for the DAQmx switch is not loaded.[DeviceXI1Slot9_ivi]
    Attachments:
    SwitchExecutiveError_01.bmp ‏229 KB
    SwitchExecutiveError_MAX.bmp ‏364 KB

    I had not loaded the "NI-DAQ 7" software that came with the 2566 switch card. I assumed that since MAX showed that I had version 7.2 of DAQmx that I was already up to date.
    I received a new PXI-2532 switch, and when I got a "driver not found" error in Switch Executive when I tried to add the 2532 to a new virtual device, I had second thoughts on running the setup/install from the new discs.
    After running the software install, I was able to add the 2566 switches to a virtual device in Switch Executive. However, the 2532 failed.
    Error xBFFA4B4A occurred.
    DAQmx Error -200181 occurred:
    Channel name specified is not valid for the switch device.
    Device: PXI1Slot10
    Channel Name: r4
    Attachments:
    SwitchExecutiveError_02.bmp ‏35 KB

Maybe you are looking for