Switch executive to relay information

The IVI driver, I create and I want to show to relay information in the table of NISE Virtual Device relay Information. Is it possible that do or is this avilable only options OR switch?

Hello

you are referring to the list under the Executive virtual device switch where it evokes the table to relay Information for each selected unit.

Most of the switches OR have an on-board EEPROM, which maintains a list of switches and their number of interactions. The driver of the IVI for material OR is niswitch, and the function to retrieve the number is niSwitch_GetRelayCount.

Unfortunately, this isn't a standard appeal IVI - C (more than one extension), so unless you try to do that within your DLL (according to the standard the prefic name IVI) then it will be limited to how works the OR material and its API.

Sorry

Thank you
Sacha

Tags: NI Software

Similar Questions

  • OK to mix 'of connection to the switch"and"close relay switch?

    Hi all

    I'm developing a test sequence using the card multiplexer 2527 to the track signals.  To configure the card, I use DAQmx switch functions.  In my application, I have a Subvi routine that imports the data from a spreadsheet Setup and run a loop for to set the configuration for each step (each iteration of the loop contains the channel for 2527 card information).  The topology is set on the first iteration, as well as the configuration of the path to the first string.

    My concern is this: I need to close the extra channels/relays without changing the topology or resetting the device.  In the first round, I use "connection to the switch" function to set the initial path, (ch0 to com0 for example).  Then in subsequent iterations of the loop, I use "Relay close switch" function to close the additional channels individually (for example k2).  In the end, when the measure is taken, both ch0 ch2 must be closed and routed to com0.  This implementation is so sure, or am I somehow to make the adjustments to the initial loop?

    I would like to test this with the hardware, but it is not yet available.

    Also, I realize that I could use independent topology and configure all relays individually for each step, but I hope that my approach will be easier and safer.

    Please notify.  Thank you.

    GSinMN

    Hello GSinMN,

    It's OK to mix 'of connection to the switch"and"Close relay switch"If you understand what's happening below. "Switch Connect" connects two channels by closing a path of relay between the channels, then "Close relay switch" can be used to change the State of the individual relays. If you are not careful you can mess up your connection by activating / deactivating relays that are part of the route connecting your channels.

    "Also, I realize that I could use independent topology and configure all relays individually for each step, but I hope that my approach will be easier and safer."

    I would recommend the topology independent if you want to stick with connections to channels only. http://zone.NI.com/reference/en-XX/help/375472G-01/switch/2527_independent/

    Initial connection:

    CH0-> pcom0

    pcom0plus-> icom0plus

    pcom0minus-> icom0minus

    icom0-> com0

    In each future iteration just connect to the next to pcom0 channel (which will be indirectly connect it to com0):

    CH1-> pcom0

    CH2-> pcom0

    ...

    ...

    Jarrod

  • Problem with NI Switch Executive - test Panel

    NI Switch Executive - Test Panel, I connect routes I created previously, which are then displayed to connected, without error. However, the corresponding relay is not activated (what I mean by monitring DMM). Using NOR-SWITCH Soft Front Panel, I can make the same connections and everything works fine, no idea why connections are not deployed in the Test Panel?

    Here is what I use:

    PXI-1033 on a PCIe bridge

    Matrix 4 x 32 PXI-2530 switch on slot 3

    PXI-4071 DMM on slot 2

    Hi DeadMeat,

    Looks like the NI PXI-2530 is simulated in the IVI configuration.

    OR Switch devices Executive virtual peripheral references by their logical names.  Each logical name to a Session links pilot Max (Measurement & Automation Explorer).  A setting in the pilot Session allows you to simulate a device.

    I recommend to open MAX, expand the IVI Drivers > driver and check the general tab that the fake it with the drop-down list selection is set to do not simulateSessions.

    I hope this helps!

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • Virtual Excel file import NI Switch Executive device problem

    When I try to import OR switch Executive configuration to a file .xlxs error

    "An error occurred trying to read the file. Invalid device name «THIRD _PARTY_MATRIX» IVI "An error occurred while trying to access primary device _PARTY_MATRIX error THIRD: (Hex 0xBFFA4001) unknown status code.

    is displayed. I have no problem importing OR switch configuration Executive in .xml format! Can someone tell me why? Please, I beg you!

    I use a switch

    Executive 3.0

    Measurement and Automation Explorer worm 4.5.0f0

    LabVIEW 8.6.1

    Thank you very much

    Hi Mehran,

    Thanks for providing the attached files.  I have determined that the cause of the problem may be due to a setting of simulation of IVI.

    Currently, your IVI Driver Max sessions are configured so that simulate attribute is set to False.  This means that real hardware must be connected when opening a session IVI instrument.  If you do not have the hardware attached, then the call to initialize IVI fails (and potentially bad, depending on how the IVI specific driver manages an init call without hardware).

    Import the NI Switch Executive configuration in .xml format does not cause a problem because simulate is always set to true in the call to initialize of IVI.

    We will consider changing the import Excel in the future to also have always simulate the True value.  Time, you can a) check the hardware is connected when you import Excel, or b) set the value "Simulate with" Max to 'Specific Driver' applicable IVI pilot sessions.

    Example of setting "with"to simulate 'Specfic Driver' of MAX:

    Let me know if you have any other questions!

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • Connecting two pxi-2527 with NI Switch Executive

    Hello world

    I want to build a test equipment to measure the resistance of the wires. My stock of material contains two cards-MUX pxi-2527 and a pxi-4070 DMM. Each pxi-2527 is connected (via a TB-2627) of a cable harness of the 26 son (name of the harness "6YDA" and "6YDB", see photos).

    The two beams is absolutely equal in the Assembly and naming (for example the sons are named from A to Z).

    First of all, I want to set up a self test function. For this purpose an adapter was built to connect the two cables to driver.

    The adapter connect cable A to the first harness with cable A second son, the first B b to the second and so on.

    For the auto test, simply measure the resistance of adapted connections 26.

    Now I tried to create a virtual device with roads and routegroups via Switch Executive and insert it in my LabView 2009 program.

    But I m not sure if my virtual device is correct. (See pictures attached)

    Unfortunately I have not found an example on the connection of two cards-MUX pxi-2527 together, I need your help.

    I would be very happy to get help from you!

    Thank you very much!

    Greetings,

    E Tec

    Hi E-Tec,

    Looks like you have already setup the roads and the routegroups in SwitchExecutive.  Now let's launch LabVIEW and make some magic; Some examples of code that will test each routegroup:

    The first thing we need to do is log on to your virtual device:

    Then, you must configure our DMM and call certain route groups:

    I made many assumptions on what we are trying to accomplish.  My code does the following:

    1. opening of the session for your named virtual device.

    2. the opening of session for DMM... it has more parameters I have hidden for clarity.  See DMM examples in help"Find examples | "" Material input and output"modular instruments and devices" NOR-DMM ' unique measures ' measure resistance if you want to see the entire feature set.

    3 close your RouteGroups one at a time, measurement of resistance, opens the Routegroup, then measure resistance again.  I put only the first 5 routegroups in this code.

    Which should help you get started.  Sorry to expect if a long time keep .  Have a great day!

    John Sullivan

    Switch Product Support Engineer

    National Instruments

  • Switch Executive stops working after LabVIEW 2009 installed.

    I just installed LabVIEW 2009 and now Switch Executive 3.0 does not work.

    NISE open session vi returns 0 instead of the valid session ID. It does now with LabVIEW 8.6.1 too.

    Everything looks OK in MAX.

    Any suggestions?

    Hi Pirkola,

    I'll try to replicate that.  I understand it is a returned 0 for a session ID.  Is there an error returned as well?

    Thank you!

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • Select Switch Executive road based on Socket Index

    Hello

    I have a created in TestStand sequence that tests simultaneously up to 4 of the UUT. In order to run a current measurement, I need to be able to spend each device through the DMM. I have properly configured routes the Swith Executive, and everything works fine when I go manually by using the feature of Test Panel. What I have to do now is however, to choose which device is routed to the digital multimeter based on its test socket number.

    Yes, for the 'measurement current"test step on" 0 "shooting, I go to properties > window and simply select"Connect_UUT0"from the route of switching group.» This works great for a single test taking, but how can I dynamically switch road when I have more than one object to measure?

    I am aware of the "RunState.TestSockets.MyIndex" variable, but I can't choose a route on this basis. That is to say: in 'Routes connect', I typed "Str (Connect_UUT) + Str (RunState.TestSockets.MyIndex)" after that I saw a similar solution on this forum, but I just get an error.

    I was really appresciate help about it,

    Thank you

    Kevin

    Hey Kevin,

    You must make Str (Connect_UUT). Probably, you get the error because it attempts to interpret the 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 encounter any problems more!

  • Is it possible to get programmatically the end points of a Switch Executive road connected in LabVIEW?

    I am writing an application for plotting of curve for evaluation of ASIC devices and should link all of the pairs of pins possible to do this. I use the main switch to load in the roads, there is a specific ASIC and want to get programmatically the end points of the current road for insertion in the logging system. Is this possible?

    Thank you

    Nick

    It can be an adventure, but you can get there.

  • What is the NI Switch Executive advantage? Nothing wrong with using this product?

    Hello

    We are looking in using the software OR go Exec to integrate with our switching matrix. This layer NOR seems to work well with TestStand and many apparent advantages. For our project, this includes not having to write several subsequences in: connect a DMM, read a DMM and tell DMM for hundreds of signals. It could do everything on one step of this exact, main - sequence? How to do that? We would like to know some of the disadvantages of this approach before we get too far down the road.

    Thanks in advance!

    Al


  • OR handset and other relays in the direction of the switch

    Hello

    I am beginner in products OR and now I want to solve a problem.

    If I know the relay and their connection paths. These relays are of NEITHER and some other producers. Can I Switch Executive put first and last point and automatically will join them using IVI drivers? Relay cards and theit drivers can be of different producers.

    Thank you.

    Sorg,

    As crossrulz said if you have a correctly installed and configured (in max) IVI driver Executive OR Switch can manage several types of products. This includes switching modules of NOR and switching of third party modules.

    To implement automatic routing, you may need to do additional things (such as: providing the report to show how the devices are connected, lines reserve for routing, put in place by the endpoints channel configuration, etc..) Once this is set up, then you can create a connection by specifying endpoints and it will automatically route the things for you.

    See you soon!

  • Very slow response OR Executive Panel Test Switch

    Hello

    After you have installed the Developer Suite 2010 we have problems with the Switch Executive Virtual Device Test Panel. The problems has not been seen on old revisions.

    The Test Panel takes about 3 minutes to initialize. This only happens after that MAX was launched and the Test Panel is used the first time.

    In the attached example there is no committed material, the unit is in simulation mode.

    The same slow response happens to TestStand when you try to select the virtual device. Responses of selection after about 6 minutes, means that it takes 6 minutes for a list of all virtual devices available in MAX.

    I have attached the report of support of MAX, the configuration of the IVI, the export file SE virtual device and an example of TS.

    Any help on this appreciated problem.

    Thank you

    Matthias

    Hi Eric,.

    After you run the tool to remove the Corruption of database MAX Test Panel now works correctly and as expected.

    Also MAX launches much faster now than before.

    Thank you very much for your quick help and find the right solution.

    Best regards

    Matthias

  • Update the Configuration of the switch switch 2.1 Executive to 3.5

    Hello world

    I tried the switch 2.1 update Executive to 3.5 and have known, that my configurations have stoppped working. To me, it looks like 3.5 dislikes my IVI configuration for switching modules.

    The function check in MAX tells me that the PXI cards are not available. The first page of the configuration of the switch shows no configuration / terminal blocks.

    Because the configuration consists of nine matrix with lots of report cards, I would really appreciate a way to properly import the old configurations (xml files are available)

    Any ideas?

    See you soon

    Oli

    Hi Oli,

    Yes, there was a major change in the Switch Executive 3.5 - it now uses for switching NI DAQmx calls material. There is a KB document the upgrade process a simulated configuration from an earlier version, but of course, you can try the steps that make sense, too:

    Import of NI Switch Executive 3.0 and previous virtual devices in OR Switch Executive 3.5 and later versions

    http://digital.NI.com/public.nsf/allkb/1D1099A85B156FA68625778500787444

    However, I have noticed that the KB Editor uses a configuration file to .txt instead of the .xml you have. I see two options here: first of all, if you have even an operating system with Switch Executive 2.1, you could probably export settings in the form of text or you can try to modify the .xml file manually to resemble the layout of the text (probably a lot of work, you would have to learn the structure of the text by trial and error using newly created Switch E.g. 3.5 configurations...)

    Best regards

    Sebastian

  • With the help of the Executive trial switch

    Hi Ppl,

    I'm using LabVIEW 8.6 trial. When I installed switch via the drivers, I found switch Executive VI are not there. But the installation program displays the NOR - features of the SWITCH must be installed. When I checked the vi.lib file, SwitchExecutive file is missing. And also there was no switch device not listed in devices and Interfaces of MAX.

    Should I activate LabVIEW for use Switch Executive? What is the procedure for installation?

    Thank you

    Hi Lordsathish,

    According to me, NI Switch Executive 3.0 released before LabVIEW 8.6, so the default installation procedure requires no screws NI Switch Executive in LabVIEW 8.6 file.

    To install NI Switch Executive 3.0 for use with the latest version of LabVIEW, select the default option to install support for the latest version of LabVIEW NI Switch Executive installation.

    In your case, you can change the installation NI Switch Executive (from Add/Remove Programs) and select this option.

    I hope this helps!  Let me know if you have any other questions or it is not solved your problem!

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • With the help of MAX vs Teststand for switching

    Can someone explain what is happening here?

    I went to MAX and gave all my or alias switches (MUX).  This is the tab of channels/exclusions.  According to the diagrams tab is a road named column groups. I can give my Relay connection (as close to relay 2) alias here... like 'Close Relay 2 '.  If I click on relay 2 on the diagram, it shows a link between ch2 and com.  Fine.   Now when I go in Teststand > tab properties > switch > activate the change... I have the 'operation' 'Connect'  Is - this redundant?  I already connected when I called him.  If its Teststand because does not know what I want, when I call this particular alias he "cut" when I select disconnect from the drop down?

    You would say I leave ALL my relay open in MAX and just 'Connect' 'disconnect' in Teststand?

    Can you suggest what should be the other options though:

    I want to connect 1 or several relay for this sequence, do tests, then disconect the relays?  -What connection Liftetime?  So 'Step '?

    What is multimode and when and how to use it?

    Included some screenshots

    Thank you!

    Clint

    Hey Clint,.

    NEITHER Switch Executive exists in MAX and TestStand (and LabVIEW, etc.).  You can program individual routes to TestStand, or you can beforehand create complex route groups to the MAX, and then call the road/route groups TestStand.  Suppose for example that you want to connect A to B, C, D, E and F, you can create a great course called 'channels' band in MAX, then add explicit connections to this group of ranges (from A to B, C, D, E and F).  You simply connect 'great channels' now in TestStand and NI Switch Executive will do the rest.

    While you can connect channels in MAX, the intention is that you create route groups in MAX and then use these groups of road to the test (if for no other reason than TestStand is automated so that MAX is not).  At the end of the day, you can use the SW but you wish to, but we intend to the run-time execution to automate in teststand.  Think that MAX is the debug/configuration environment.

    Connection Lifetime is how long the relays must stay in touch.  For example, inflicting on life 'Step' means that, after this step TestStand is completed, the relay will be disconnected.

    Desktop mode is the concept that a relay can be connected more than once in the software.  Until the connection number is 0, the relay is open.  If the number of relays is greater than 0, then the relay is closed.  For example, suppose that you have two different tests that can run simultaneously, and they share the same relay.  Specifically, 1 tuberculin relay A and B, while the tuberculin 2 relay B and C.  If you are able to run both events at the same time (function of your DUT), then when you connect test 1 and 2 at the same time, relay A and C will be all both have a connection of 1 account (they were connected once), but the relay B will be 2 connections.  Thus, when testing 2 finishes and disconnects its associated relay, test 1 could still be running; Since the relay B will have a connection of 1 account after test 2 'disconnects' relay B, relay B will always be closed and 1 test will not be interrupted.  The concept takes a minute to wrap your head around, but finally it is quite powerful.

    OR Switch Executive is a very powerful program.  Once you've played a little with it for a bit, it is intuitively easy, but there is a curve of rampup higher compared to our other software program switch (OR-DAQmx, OR-Switch, etc.).  OR Switch Executive is particularly well suited for TestStand.

    Let us know if you have any other questions or if my answers are not clear.  Have a great day!

  • SMS relay on iPad gets frozen on "sending...". »

    I can receive and send texts, but the header "send...". "instead of the contact person.

    I tried to reset my network settings and turn power switch iMessages / sms relay or not available.

    Check SMS, especially 'Set up SMS and MMS with continuity' section here that you are configured correctly:

    Continuity allows you to connect your iPhone, iPad, iPod touch and Mac - Apple Support

Maybe you are looking for

  • M30-832: Questions about memory and DVD player

    Hi all, new to laptops up to have a few questions! First of all, I have a Satellite M30-832.1. He has on the dvd player on the side of the Compact disk with re-writable below image and sign dvd R/RW under. That means it is a DVD burner as well? It do

  • Too loudly CPU fan speed

    Two days ago, the CPU fan runs too fast and VERY strong.  I removed the fan and blew dust on the cooling fins.  When I removed the heatsink and found no dust behind it does not solve the problem. Put all back together and it works still very strong. 

  • x 31 doesn't start after docking

    Hello Yesterday, I inserted my x 31 on the dock station (the laptop is on) and all of a sudden the screen and all of the lights (power, hard drive, etc.) are dark. I can't boot from. When I press start up button completely nothing happens. Can someon

  • TSD210

    Hello I'm not an expert in interface. I have a tektronix TDS210, and Labview 8.51 oscilloscop. I should connect this instrument to my laptop by USB. The best way is to connect the RS232 port, but I'm not if it works and I don't know which driver to u

  • error message trying to reinstall Java. tells me that the windows installer is missing a DLL error #1723

    My Java file must have been corrupted, but all of a sudden I can't play.  I have uninstall and when I try to reinstall I get afficherapres message "#1723 that there is a problem with the Windows Installer package. A DLL required for this install to c