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

Similar Messages

  • BI UDI data load conflict using MS SQL Server and date fields

    Hi BW Experts!
    We have found some unexpected problems when we are trying to perform a data extraction process from an SQL database (non-SAP application).
    We are using the BI UDI tool (JDBC Driver/Connector).    The basic data extraction works properly, however we have some specific problems to work with SQL Server fields defined as “Date Time”.
    The JDBC driver automatically intermediate the communication and translate these fields splitting the original SQL date time field into two separated fields with suffix “_D” (for date) and “_T” (for time).
    It works perfect for extraction, but it doesn’t work well when we try to restrict the data selection based on these fields.    
    When we put a date selection into the infopackage data selection area (we already have tried several date formats), the system simply ignores these selection parameters and send a SQL statement without “WHERE” clause to DBMS.   
    Please, anybody has experienced anything like this or know somethings that could help us? 
    This is a standard limitation from SAP BI UDI?
    Thanks in advance and best regards,

    Hi Matt and Thomas
    Many thanks for your replies.
    Yes I have to do the join. Even worse I have to write an Aggregate query like this!
    Select o.F1,o.F2, m.F1,m.F2, count(*)
    from
    table@oracleServer o,
    table@microsoftSQLServer m
    where o.F1=m.F1
    group by o.F1,o.F2, m.F1,m.F2;
    These are 2 different systems (hardware & software) which actually do the same job, they produce transactions for a common business entity. Kind of, both sell tickets for the same ABC ferry company.
    I can not put them side by side on the dashboard, as I need to aggregate the data and present it maybe in a Oracle BI Report for Accounting and Financial reconciliation purposes.
    The truth is, as it is. I can't change it, is too late.
    I have to device a way to harvest both systems as they are. I don't want to move around data. I thought looking at Oracle BI I could write SQL against multiple Data Sources. I am struggling to find a way. As it seems that it can "SQL query" 1 data source at a time.
    I have been hinted on another forum (OracleTURK) to use Oracle Transparent Gateways and Generic Connectivity. http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
    Shame, I have to pay licenses for OWB and Oracle Transparent Gateways. I thought DB vendors can do better. Why do I have to pay to access the other 50% of the market.
    I can understand the performance implications this might have. Because of it I might even be forced at the end to move data (ETL) into a separate database, slice it into partitions and manage it that way. Pitty because currenlty I only need one report out of these systems but seems like will be dear to get.
    Thank you for all your help.
    Kubilay

  • I was working with vijay in support but i lost him. anyway my problem is with tools in ps 2014. when i click on the delta, it doesn't reveal the tools underneath. im using a mac btw, and switched from a wireless mouse to a wired. doesnt help?

    I can't get the tools under the tool icon to reveal. I plugged in a wireless mouse and doesn't help. It works for support on a shared screen but not for me. What do i do now?

    I have a macbook running Mavericks and CC 2014
    You do not single-click on the tool's triangle. You hold down the trackpad or mouse button on the tool itself (in the Toolbox) until the tools menu flies out.
    Also Shift + tool shortcut will change tools for you. Shift + M for the different Marquee tools.

  • Using simultaneous 30" Cinema *AND* internal 17" laptop screen

    I did look on the forum first, but I want to do this w/my 17" MBP 233:
    * Hook up my 30" Apple monitor
    * Use the k/b mouse on the laptop
    * Use the display from the laptop lcd *at the same time* - in other words, two displays at once
    If I can use them at the same time, which one gets the "desktop" environment? (menus, icons etc)?
    Is there enough memory on the video card to do both? That 30" is like 2600x1600 or so.
    Can I switch the "main" screen between the two?
    And finally, how do I drag from one screen to the other? I remember Windoz had a feature like this, I'm assuming the Macs do also...
    Thanks in advance

    No problem. You can do all that stuff. Just hook it up, & pay a visit to the Displays Preference Pane, where it will all become obvious. I know, because I just tried it recently with my new MBP.

  • Can I use simultaneous lightning connection and bluetooth for sound?

    i bought a brooks mini beamer and a bluettot speaker. The speaker can also be connected using a jack. Why do this if there is bluetooth available.
    Unfortunately my Iphone will only direct the sound to either the lightning connector (to the beamer) or to bluetooth speaker (and disconnects even the video send to the beamer).
    any solutions?
    I can plug the jack in the beamer as a plan B though.

    Whether the device supports bluetooth or not has nothing to do with plugging an audio cable in and sending audio to it.
    The iPhone will direct audio where the user instructs it to do so.
    Swipe up from the bottom to bring up Control Panel.
    Select the output option and direct audio where you desire.
    For what silly reason would anyone connect a bluetooth audio transmitter to an iPhone?  They have bluetooth built in.

  • Cisco 3850 Switch and Windows 7 IP Conflicts

    Team,
    Last evening (Christmas eve) we setup a pair of Cisco 3850 with IP Base version 3.3.35SE (recommended) and 3.7.0E (very latest).
    We got these to replace a very old switch that had died. Attached to this network are windows 7 PC's with all the standard patches, service packs, etc.
    with standard port configs - no PC would work - and in fact on each screen we got the windows 7 IP Conflict pop up box.
    This seemed very odd to us, as we know these IP's are all static (no dhcp on this segment at all)
    we went with a very vanilla config on each port
    interface g1/0/1
    switchport host
    that is it - nothing special at all.
    well, after hours of research we found the 3850 has a problem where its "ip device tracking" (even though disabled, by way of NOT being enabled on any interface) will effect the windows 7 PC's ip address in use detection port start up phase!
    This is a very big problem. I am frankly SHOCKED Cisco would release a major switch that is going to not work when connected to the average network with windows 7 PC's.
    we tried 3+ hours of prescribed work-arounds found when researching this issue -
    ip device tracking probe delay 10 (global config)
    ip device tracking max 0 (disabed, on interface)
    finally,
    nmsp attach suppress (interface, however this appears to be a default command in all IOS-XE versions we tried, as the command did NOT show in the show run) . this effected many different nic card vendors (laptops, desktops) and nic card drivers levels from old to very recent.
    Finally,
    we compared a 3850 in another location to this one - and we never got HIT by this problem before because that 3850 only as TRUNK ports and no windows 7 hosts directly attached.
    Doing more research, I found out this also can effect vmware guests running windows SERVER.
    this is now a huge issue as we have a scheduled deployment of 3850's throughout our network which is going to be put on hold.
    the work-around I came up with which is not great is -
    Make ALL the "access" ports connected to PC TRUNK ports and leave the NATIVE vlan (untagged) as the vlan you want the PC's to be in
    interface g1/0/1
    switchport mode trunk
    switchport trunk native vlan 1
    this is NOT an acceptable workaround as this presents security issues even with
    switchport trunk allowed vlan 1, etc. as the only allowed vlan.
    Note: this issue manifested itself and windows 7 PC's were UNABLE to use the network. if you do "ipconfig /all | more" you would see
    192.168.0.140(duplicate) and the interface would actually use 169.254.0.239(duplicate) so the duplicate message appeared twice in the output.
    1) With and without an SVI interface on each 3850 for the vlan where the windows 7 machines had a duplicate
    2) when we had an SVI and the command ip device tracking probe use-svi (or whatever the hidden command is I forget now, but it took it)
    3) when we had aaa new-model configured - and not configured - thinking this was some artifact of having aaa turn on something like 802.1x port state
    4) when could confirm NO DHCP SNOOPING
    5) when we DID not use static IP's - and had the switch assign DHCP addresses - the Windows 7 PC's STILL had duplicates and didnt work for their "Just leased" ip's.
    6) when we could confirm ios-xe ip device tracking = disabled with show ip device tracking status, etc.
    This is a major problem for this 3850 and unless we get a definitive answer on why this is happening and how we can rectify we are going to have to return our 3850's and get HP Procurve's something I would rather avoid doing. There is NO REASON I can imagine other than older switches who's ports default to ROUTED ports (i.e.. no ip switchport) where a switch should not at least function as a bare switch with essentially a default configuration out of the box.
    Any ideas? I'm working well now with the ports ALL in trunking mode with vlan 1 native, but this is not a scalable workaround we can live with as we have security risks of a port not blocking certain vlans from going out ports to pc's, etc. that attackers could send tags on at that point, etc.
    thanks,
    Joe Brunner
    #19366

    thanks for replying - i'm not onsite (its a standalone network) - but here is what it is -
    Answers in line -
    This all stems from a switch replacement correct?
    yes a 10 year old Allied Telesyn switch was replaced that had no config - like a hub, just used for connectivity.
    Are these 3850's in a stack?
    >yes, tested all aspects of the stack many times.
    Does it have a managment ip address -If so, is it using the old switch ip address
    >old switch had no ip - i made a "management interface" on vlan 1 - BUT no ip on the built-in management interface on the switch.
    What are they connecting to? (a router/L3 switch/anohter switch- cisco-HP etc..)
    >various other devices - only 1 link back to a single 3750x stack. that switch is "hardened" so to speak to reveal or propagate very little by design.
    How are they connected( L3 interface/L2 trunk/access port)
    >all ports are left in trunk mode with vlan 1 as the active and untagged port. this was the workaround done to ever get the switch going. in "out of the box" or default mode as we initially wanted (no config) links to windows 7 PC's didnt work. links to linux or other devices non-windows did work!
    Are thse switches performing inter-vlan routing or just acting as host switches?
    >dumb flat network, no routing.
    Is ip routing enabled?
    >not unless enabled on 3850 by default. I didnt type "ip routing"
    Do you have multiple vlans in your network and if so ar ethe being propergated to these new switches?
    Your 7 pcs = are they just client pcs not servers?
    client PC's - no servers OS per say.
    can you confirm something like ICS isnt enabled (Internet connection sharing)  on any of them?
    >yes not enabled.
    Are the just using one NIC each?
    > one machine is dual homed - but we know where its "second nic" goes - to another cisco network which is NOT connected back to this one. we traced all our ports a few times thinking even perhaps some small hub was "reflecting" traffic back to us - like a blackbox. Strangest thing -
    default config out of the box - with ALL ports SHUTDOWN EXCEPT the single windows 7 facing port - the windows 7 machine STILL registered an IP CONFLICT when connected to the 3850 - even when it had NO SVI's!!! (i know mind numbing). if you disconnected the pc and connected it to an old cisco switch - it worked fine!!! wow.
    sh switch
    2 identical 3850's in working stack. power and network stacked. both at same version, etc - upgraded each time with "software install file flash:<long ios name>.bin
    tested all power and general 3850 stacking. saw no issues.
    sh int trunk
    >all ports are now trunks (hence the workaround used to get it up).
    has 20 trunks to PC's and some single connected switches (far away on fiber) - all allow only vlan 1 - no other vlans were created - very very simple network. vlan 1 is native
    sh vlan brief
    >just vlan 1 - no vlans created, checked this many times - had vlan 100 at one point - made sure it was gone over a period of hours.
    sh vtp status
    not setup - left complete default; no vtp domain set - connected to all switches in transparent model if a switch connection exists.
    sh cdp neighbours
    cant post (for god and country LOL) but there is one link back to our "core" so to speak - that switch is hardened not to allow any settings to slip over to new switches so hence no vtp, cdp is one to help troubleshooting.
    sh ip route
    just the L and C routes for the vlan 1 ip address 192.168.17.1/24
    no static routes
    no vlan interfaces other than int vlan 1
    no ip address on g0/0/0 -> the default 3850 management interface hard assigned to the 3850 VRF you cant remove.
    int g0/0/0
    ip vrf forwarding Switch_Mgmt
    i can get over there if you think of anything else key to show the group.
    thanks,
    Joe

  • IVI questions with DMM and SWitch

    I am trying to simulate an NI-4060 DMM and numerous SCXI-1129 cards using the IVI drivers in CVI.
    Of preference I want to setup the simulation in MAX rather than programmatically in my application. I have numerous questions:
    Is there a document that shows you how to setup MAX to simulate an IVI instrument??? Everything that I have read so far talks about the architecture, how wonderful IVI is what you can do etc, but NOT EXACTLY HOW you set-up MAX - one document briefly touched on this but with no detail whatsoever. There seems to be a lot of assumed knowledge in all the docs.
    If I try and configure in MAX I can get the DMM working, but the exact same steps give an error for the switch cards in my application. An
    y ideas?
    How do I use Soft-panels from my application?
    If I am programmatically using an InitWithOptions which seems to be the only way to get the Switch cards to simulate what is the expected syntax or options for the "DriverSetup" string????
    I am using NI-DAQ 6.9.0f7 and IVI 1.61 with CVI 5.5 on NT 4.0

    Ricardo,
    There is a document on our web site on how to configure your IVI system in MAX and also how to simulate your hardware in LV and CVI using IVI drivers:
    ni.com>>Resource Library>>Instrument Connectivity>>Instrument Driver IVI
    or
    http://zone.ni.com/devzone/devzone.nsf/webcategori​es/5FB594A1C20D93E3862569FD0071D18A?opendocument
    This should point you in the right direction. I will continue to gather information and post what I find!
    Best Regards,
    Chris D
    Applications Engineer
    National Instruments

  • HT5012 I am having difficulty XMIT/REC text messages to family members using Android phones?  I have a 3GB data plan and all switches and buttons are set properly.  Any suggestions?

    I am having difficulty XMIT/REC text messages to family members using Android phones?  I have a 3GB data plan and all switches and buttons are set properly.  Any suggestions?

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • How do I use switch and case statements to fill more than one other field?

    Hi all,
    I'm new to the community.
    I'm trying to make an existing form more user friendly for my coworkers. I want to use a switch and case approach in a drop-down list field so that the selection fills two seperate other fields with different info related to the selection.
    I can already do this with one field, but if I add a second target field under an existing case the text doesn't appear there when I make the selection from the dropdown.
    Basically, I'm asking if I can do this:
    switch 
    (sNewSel){
       case "1": // Selection 1    Row2.Field1
    = "text for field 1";
        Row1.Field2 = "text for field 2"; 
        break;
    etc.
    It works if the "row1.field2" option isn't there, but not when it is present.
    Any takers?

    I'm not sure if I will be able to send you the form. There may be too much to redact.
    Would this last bit of code in the cell affect anything?
    if 
    (bEnableTextField)
    {Row2.Field1.access
    = "open"; // enable field
    Row2.Field1.caption.font.fill.color.value= "0,0,0"; // set caption to black
    That is, do I also need to repeat the same thing for the second target cell (Row1.Field2)?
    What would be possible hang ups that would prevent it from working correctly?
    Dave
    By the way, I'm not sure if my other attachment posted. I am trying again.

  • I tried to update the App that I purchased but the message told me that my Apple account is not valid for use outside of US and I must switch back to US store to able to do it. How can I switch the account from foreign countries back to US?

    I tried to update the App that I purchased but the message told me that my Apple account is not valid for use outside of US and I must switch back to US store to able to do it. How can I switch the account from foreign countries back to US?

    On your phone (from http://support.apple.com/kb/ht1311):
    Change your iTunes Store country
    Sign in to the account for the iTunes Store region you'd like to use. Tap Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region.
    Follow the onscreen process to change your region, agree to the terms and conditions for the region if necessary, and then change your billing information.

  • TS1702 when i try to update an application it tells me that my account is not valid for use in the UK and have to switch to the australian store to update?how do i switch stores/countries for the applications?? Thanks.

    when i try to update an application it tells me that my account is not valid for use in the UK and have to switch to the australian store to update?how do i switch stores/countries for the applications?? Thanks.

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311

  • I just downloaded Firefox 5 and it said that my Yahoo toolbar will not work with it. Is this true? If so I will not use this new version and will switch to another browser if Firefox stops supporting the Yahoo toolbar. Thank you.

    I just downloaded Firefox 5 and it said that my Yahoo toolbar will not work with it. Is this true? If so I will not use this new version and will switch to another browser if Firefox stops supporting the Yahoo toolbar. Thank you.

    Add-ons contain a range of compatible Firefox versions, and Firefox honors the listed range by disabling the add-on if you are trying to run it on an unlisted version.
    I'm sure Yahoo! will update its toolbar eventually, but not every add-on maker supports beta versions of software.

  • I switched to mountain lion and from Acrobat pro 9 to 10.  now safari will not open pdf files.  acrobat preferences says it is trying to use version9 to open and i removed version 9.  any ideas?

    I switched to mountain lion and from Acrobat pro 9 to 10.  now safari will not open pdf files.  acrobat preferences says it is trying to use version9 to open and i removed version 9.  any ideas?

    Make sure you have updated Acrobat X to the latest version 10.1.3.  They updated the PDF plug-in in 10.1.1:  http://kb2.adobe.com/cps/837/cpsid_83708/attachments/Acrobat_Reader_ReleaseNote_ 10.1.1.pdf#page=4

  • Went to use my ipad tonight and the screen is blank except for a little circle going round and round and I ccant switch the device off

    Went to use my ipad tonight and the screen is black with just a small circle in the middle going round and round.  I thought i would switch it off but it wont let me do that either.  HELP

    Try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds, after which the Apple logo should appear and it should reboot - you won't lose any content, it's the iPad equivalent of a reboot.

  • Use wireless router with existing network and switch?

    I have an existing network using a T1 into a switch; all the computers and the server are connected to the switch. Some distance away, via ethernet cable to the switch, I would like to connect a wireless router, one computer wired to that router, and other computers connect via wireless. Our server provides DHCP. Is this possible? How best to do it? Which Linksys router would be best for the purpose? Thanks for the help!

    The "correct" device to use would be a wireless access point like the Linksys WAPs and not a WRT router. WRT routers are supposed to connect to the internet on its own.
    You can set up a WRT router as simple access point. see here for the setup.
    The best router is the one which best suits your needs. All wireless routers and access point provide wireless access. It depends on what you want (802.11n, 11b, 11g, range, speed, etc.). The newer routers are better from the specifications but usually also have more firmware bugs. But that's pretty much all one can say based on your generic requirements.

Maybe you are looking for

  • Error message while using Photoshop Elements 9

    While using Photoshop Elements 9 I received the following error message: Font Capture: PhotoshopServer.exe application error. the instruction on 0x103e8453 refers to memory on 0x00000a74. The read & disk instruction ("read") on the memory has failed.

  • Text-selection mechanism all screwed up in KeyNote 6.2

    Trying to select text with shift + arrowkeys,  or shift + alt + arrowkeys,  is all screwed up in KeyNote 6.2 (OS X). The text selection often jumps forward in an erratic manner (much too far ahead than usual, often skips entire words). Trying to de-s

  • I need to deauthorize all 5 of my authorized computers

    i recently restored my computer and i wanted to connect my ipod touch into it. when i clicked transfer purchases it said you need to authorize it. so when i went to authorize it it said you already authorized 5 out of 5 computers and.. i only have 2

  • Traffic Generator with Statistical Capability

    I am looking for a traffic generator that I can use to simulate Video traffic (Qos, Packet Size, Continuous Streaming, etc.) across the network. IP SLA UDP jitter is close but it is not a continuous stream and from viewing the documentation I'm not s

  • Help with Shockwave player reinstall

    I recently updated my system (PC, Windows 7, updated to IE 11), and the shockwave player needed to be updated. Tried to do that, but won't work. My system is 64 bit, but the IE 11 running is 32 bit version.  Tried numerous ways to update, then I remo