Switch Executive error: -1074126826

The following error occasionally occurs when executing a Disconnect All TestStand step, Switch Executive:"Filename",Connect/Disconnect.
I Need a solution
Error, Error executing substep 'Post'. An error occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types' An error occurred while executing the step. Unexpected Error: Switch Executive failed to initialize for virtual device 'NLAWQAT_Rev01'. Details: NLAWQAT_Rev01_init returned an error: -1074126826 (0x%3). Source: TSIviStepTypes [Error Code: -1074126826, User-defined error code.]

Hi Ken,
   does this occur if this switch is simulated too?
That error can sometimes point to a timeout error in trying to connect to the device itself.
Is there anything else going on at that point?
Does it occur even if you step your way through the sequence?
Does it ever occur on a cut down sequence?
You say a "Disconnect All" step. Do you mean you have a step type that does this (i.e. the IVI-C switch step type) or you have this set on the switching tab of another step type (i.e. using switch executive)?
What version of TestStand are you using?
What is the model and manufacturer of the switch? Can you provide the driver install for that switch?
Does it happen in the sequence editor, the operator interface or both? If both, which one does it happen in more?
Which IVI compliance package do you have installed, and what's your version of VISA.
Any other information you think is pertinent would also help.
Thanks
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer

Similar Messages

  • 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

  • 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

  • Switch Executive Error

    Dear All,
    I get the following error when trying to create a new Switch Exec Virtual device. I also get similair errors reported when trying to use current virtual devices that have been working for some time with no issues.
    Can anyone shed any light on why this has occured and what I can do to resolve it? All other Labview code and functions operate as expected.
    Many thanks
    Matt
    Solved!
    Go to Solution.

    Matt,
    can you try running NI Spy while attempting to create virtual device? That may shed some more light about what's going on. A few more questions:
    - are other devices (already created ones) using the same underlying instrument driver?
    - can you create a virtual device using (only) the simulated sampleSwitch IVI device provided with the NISE installation?
    - if some other devices are using the same driver, can you use those in LV without errors?
    - can you use LV, for example, to call IviSwtch Init and pass the same logical name you use for virtual device ("EAGLE_AUDIO_MATRIX")? What happens? NISE will try to do exactly that - open a session to your IVI virtual switch device using the IviSwtch_init function. I suspect that this is where it's failing... 
    please let us know if you were able to get any new information!
    best regards
    Srdan Zirojevic

  • Switch Executive Setup error

    When I Install NI Switch Executive 2.1,it report the following error,I do not know why.
    Structured Exception number 0xC0000005
    Exception code: C0000005 (ACCESS_VIOLATION)
    Fault address:  C4830003 117E60C:0000000E
    Registers:
    EAX:02F0277C
    EBX:0117F9C0
    ECX:0046007B
    EDX:7C923804
    ESI:00000001
    EDI:00539208
    CS:EIP:001BC4830003
    SS:ESP:00230117E9F8 EBP:0117F9CC
    DS:0023 ES:0023 FS:003B GS:0000
    Flags:00010202
    Stack Trace
    Address  Frame    LogicalAddr    Module    SymbolName + Offset
    C4830003 0117E9F4 0000:00000000 
    0042B20C 0117F9CC 0001:0002A20C F:\distribution\setup.exe
    004232DD 0117FBD0 0001:000222DD F:\distribution\setup.exe
    004226BF 0117FCC8 0001:000216BF F:\distribution\setup.exe
    0046AE02 0117FD74 0001:00069E02 F:\distribution\setup.exe
    0046AEF8 0117FD9C 0001:00069EF8 F:\distribution\setup.exe
    004732D1 0117FDE4 0001:000722D1 F:\distribution\setup.exe
    0047338E 0117FF18 0001:0007238E F:\distribution\setup.exe
    004F8939 0117FF80 0001:000F7939 F:\distribution\setup.exe
    004D81DE 0117FFB4 0001:000D71DE F:\distribution\setup.exe
    7C80B683 0117FFEC 0001:0000A683 C:\WINDOWS\system32\kernel32.dll GetModuleFileNameA + 436
    Attachments:
    Switch Executive Error.jpg ‏31 KB

    Hi yiweihua,
    I apologize for the delay in providing a reply to your last post.  Can you attempt updating your installer to the newest setup.exe?  I've attached the two needed files in mif24.zip.  The procedure is to replace setup.exe and NISysInf.dll in your distribution with these newer parts, and then try again.  Please acquire the specific error message if another one appears during this updated installation.
    Thanks!
    Chad Erickson
    Switch Product Support Engineer
    NI - USA
    Attachments:
    mif_24.zip ‏1000 KB

  • Error -1074126826 occurred at niSwitch Initialize.vi

    I'm getting an intermittant error with my switch card:
    Error -1074126826 occurred at niSwitch Initialize.vi
    Possible reason(s):
    Max time exceeded.
    Device: SWT1-DUTSwitching
    Status Code: -200221
    It happens about 25% of the start-ups (fixed with a restart).  I can't find the error codes in any documentation - has anyone got any ideas please?
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

    G'Day Chad - thanks for your answer: after several weeks of testing I haven't had the error message since I upgraded to 3.3.1!  Well done
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • 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 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

  • 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?

  • Switch Executive 2.0 and Deployment 3.0

    I have Switch Executive 2.0 on my development computer producing the exported [switch].XML file.
    Are there any problems or issues with importing this switch configuration file into
    NI-Switch deployment version 3.0?
    Background:A previous project using 2.0 into a 2.0 deployment worked fine.
    Now my attempt to deploy into a deployment computer with a recently purchased NI-Switch deployment 3.0
    does not configure the same switches properly.
    The switch configuration Validation process does not work. It gives a cannot find IVI switches errors.
    Scott Youngren

    Hi Scott,
    This error is common when the IVI configuration does not match on the development and deployment machine.  
    1. On the deployment machine, verify the IviConfigurationStore.xml file has been copied to the correct location.
    The IVI Configuration Store XML file includes the IVI Logical Names and Driver Sessions information that can be seen in MAX.  With IVI Compliance Package 2.1.2 (which is installed with NI Switch Executive 2.0):  
    C:\Program Files\IVI\Data\IviConfigurationStore.xml
    With IVI Compliance Package 3.2 (which is installed with NI Switch Executive 3.0): 
    C:\Documents and Settings\All Users\Application Data\IVI Foundation\IVI\IviConfigurationStore.xml
    2. If you are using NI switches, then additionally verify the DAQmx device names in MAX (under Devices and Interfaces) match on the development and deployment machine.  
    Each IVI Driver Session configures a hardware asset, and the hardware asset is basically a pointer to the DAQmx Resource Descriptor (also known as a DAQmx device name).  If the listed Resource Descriptors shown on the hardware tab of the IVI Driver Sessions do not match the DAQmx device names under Devices and Interfaces, you will get an error.
    Let me know if this does not resolve your issue!
    Chad Erickson
    Switch Product Support Engineer
    NI - USA

  • Conflict using simultaneously IVI Switch and Switch Executive ?

    Hi,
    I use IVI Switch and Switch Executive libraries in an Labwindows CVI project, and I meet some problems :
    I call SE lib for InitSession/CloseSession/FindRoute and Connect/Disconnect (apply to any switch devices in the SE configuration).
    I call IVI Switch lib for SelfTest and Reset (apply to a single device).
    But when I do an IVI Switch Reset then a Switch Executive Connect or Disconnect, an error occurs : Switch Executive seems to ignore what IVI Switch operations do to the device ?
    Also, can you tell me if :
    niSE_OpenSession performs a self test for the devices in the config ? A reset ?
    niSE_CloseSession performs a reset for the devices in the config ?
    Thanks.

    Hello,
    the niSE session talks to underlying IVI drivers using the IVI Switch session underneath, so any additional opening of IVI Switch session to the same device will cause the two driver sessions (that keep the information about the state of the hardware connections) to be either one or both out of synch with the actual hardware state). Because of the architecture of the underlying IVI drivers, niSE session cannot know if and what someone did to the instrument using IVI Switch session.
    Therefore, it is not adviseable to use IVI Switch session while having another session open to the same device. If you need to use the invasive operations - which is anything that changes the state of the device, such as Reset and possibly self-test (self-test may be implemented as an operation that cycles relays and it may not but you can't be sure), you must make sure that one session is open and closed before another type of session is open.
    The ni Switch Executive Open Session calls IviSwtch_init (with ID Query and Reset set to true) and CloseSession closes the IVI Switch sessions with the call to Close. The niSE session does not make calls to either reset or self-test explicitly.
    Always attempt to perform all the operations on the same piece of hardware using the same API. If you need to reset switches, use the niSE_DisconnectAll function. If you need to perform the self-test operation, open a session to IVI Switch and perform the self-test, and then close it before opening the session to niSE virtual device.
    There is also a back-door possibility that you can obtain the IVI Switch session that has been open for the constituent devices by niSE, but you must make sure that whatever you do with that session leaves the state of the switch intact when you get back to making calls to the niSE session. If unsure, you can always call niSE_DisconnectAll() as the first thing coming back to the niSE session to ensure that the state stored in niSE session matches the state on the actual hardware.
    Again, it is best not to use both sessions, but rather pick one and try to perform all operations with it before switching to another type of session.
    Srdan Zirojevic

  • 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.

  • I get a Pre-execute error message when importing from Excel using the wizard.

    Hello, I get the following pre execute error message(see below) when I try to import a table from Excel when using the wizard. I wrote my own code in the edit window. i noticed after writing it that the data types did not appear changed in the mappings window.
    Can anyone explain what these errors mean and how they can be solved. Thank you.
    Operation stopped...
    - Initializing Data Flow Task (Success)
    - Initializing Connections (Success)
    - Setting SQL Command (Success)
    - Setting Source Connection (Success)
    - Setting Destination Connection (Success)
    - Validating (Success)
    Messages
    * Warning 0x80049304: Data Flow Task 1: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator,
    or on the system's console.
    (SQL Server Import and Export Wizard)
    - Prepare for Execute (Success)
    - Pre-execute (Error)
    Messages
    * Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Unspecified error".
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "The metadata could not be determined because every code path results in
    an error; see previous errors for some of these.".
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Invalid object name 'dbo.PriceTable$'.".
    (SQL Server Import and Export Wizard)
    * Error 0xc0202040: Data Flow Task 1: Failed to open a fastload rowset for "[dbo].[PriceTable$]". Check that the object exists in the database.
    (SQL Server Import and Export Wizard)
    * Error 0xc004701a: Data Flow Task 1: Destination - PriceTable$ failed the pre-execute phase and returned error code 0xC0202040.
    (SQL Server Import and Export Wizard)
    * Information 0x4004300b: Data Flow Task 1: "Destination - PriceTable$" wrote 0 rows.
    (SQL Server Import and Export Wizard)
    - Executing (Success)
    - Copying to [dbo].[PriceTable$] (Stopped)
    - Post-execute (Stopped)
    frustrationmultiplied

    Hello,
    Are you willing to try other ways to do the same?
    http://www.excel-sql-server.com/excel-import-to-sql-server-using-linked-servers.htm
    http://support.microsoft.com/kb/321686 (Distributed queries)
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How do I associate switches in a four layer relay tree using Switch Executive

    I have a three layer relay tree, controlled with a PXI-2567, to route an instrument input to 16 DUT channels. How do I create aliases in Switch Executive to turn the appropriate set of three relays on and off to route the input signal to one of the channels?

    Bob,
    Here is what you need to do to be able to call 2 end channels and create a route though 3 layers.
    1) You have to tell NISE how the independent relays are connected to each other. You will do that by creating Hardwires.
    2) You need to tell NISE that you want the channels connected to the hardwires to be used for routing. You will do that by marking the connected channels as "Reserved for Routing".
    3) You can name the end channels according to your topology. COM for the single input channel and CH0 to CH15 for the output channels by creating aliases.
    In the route editor, you will only need to create a route between COM and CHx and NISE will find the appropriate relays to close. In the route editor, if you only want to see the channels with an alias (COM, CH0, CH1 etc...) select in Options "Hide channels without aliases"

  • 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

Maybe you are looking for