Problem Controlling PXI-2503 Switch through the IVI-C Switch API

Hi,
I'm writing an application to control a PXI-2503 switch in 1-wire mode using the IVI-C Switch API in order to route signals to a PXI-4060 DMM.
According to the programming instructions, I should be able to create a path from the "ab0" channel to a channel like "ch10" by calling IviSwtch_Connect( "ab0", "com0" ) to connect "ab0" to "com0" and then calling IviSwtch( "com0", "ch10" ) to connect "com0" to "ch10". However, after the program makes those 2 functon calls, the DMM doesn't get the correct signal.
When I use the NI Switch Soft Front Panel application to connect "ab0" to "com0" and then connect "com0" to "ch10", then the DMM gets the correct signal. Does anyone know what the Soft Front Panel tool does differently?
Thanks in advance to anyone who can help.
VRMan

VRMan,
Make sure that you have configured your 2503 to be in the 1-wire 48x1 topology...
Other relays that need to be closed for ch10 to make it to ab0
are  "bc01" and "1-wire".  Check out the hardware diagram for
the 2503 which can be found by going to
Start>>Programs>>National
Instruments>>NI-Switch>>Documentation>>NI Switches
Help, then browse to Devices>>2503>>PXI-2503 Hardware
Diagram.
When you use the SFP or program with LabVIEW, you have the option to
initialize a switch with a certain topology.  For the 2503 1-wire
48x1 mode, this automatically changes "bc01"," bc02", "bc03", and
"1-wire" to the correct positions.  Check to make sure that the
same is done when using the IVI-C driver you are working with.
Let me know if this doesn't solve the problem, or if you have any more questions.  Best of luck on your application.
Regards,
Travis W

Similar Messages

  • Problem on installation of linux through the vmware software on compaq CQ60

    Problem on installation of linux through the vmware software on xp operating system. My laptop is Compac CQ60.
    The error message is no device found compatable for the installation.

    user12190571 wrote:
    The error message is no device found compatable for the installation.The question after this kind of information is usually : What is the exact error you got, from who and when you were doing what.

  • Controlling PXI-2501 Switches in C#

    What is the best - prefered - way to control a PXI-2501/2503 Switch Matrix in C#.
    I have only been able to find examples showing SCXI switching units. Is it done in the same way?
    Code examples would be nice.
    Thanks

    I am assuming that the examples you are using are the DAQmx C# examples (Program Files\National Instruments\MeasurementStudio70\DotNET\Examples\DAQmx\Switches).
    These examples work for all SCXI and PXI switches that are supported in DAQmx. NI-DAQ 7.1, the currently released version of NI-DAQ driver software, does not support PXI-2501/2503 under DAQmx. These modules will be supported in DAQmx in the next version of the driver.

  • *Problem controlling what is sent to the FOH speakers*

    I use a Presonus Firestudio Project as my audio interface, and I have been having trouble sending different audio tracks to the correct places.
    My overal goal is to send my bands intro, bass drops, inbetween song sampling, and outro to the front of house...
    While sending audio tracks of our recordings (with click) to my headphones (I use Logic Pro 9 as my DAW).
    After searching every online support discussion I could find...
    I read that in order to send a click to just the drummer (me), and a separate backing track to the front of house you need to create 2 busses.
    Send all the audio tracks you WANT the audience to hear (front of house) to Bus 1, and set the output to Stereo Out.
    Next you are supposed to send everything you DONT want the audience to hear (click/recordings) to Bus 2, and set the output to 3-4.
    Now this is where I get confused...
    I have gone through on Logic Pro 9 and set all this up correctly (I think).
    -First I set up an audio channel for everything I WANT the audience to hear (intro, bass drops, inbetween song samples, and outro).
    I clicked 'send', and selected Bus 1 (On my logic mixer I made sure to select Stereo Out).
    So at this point my Main Out (in the back of my Firestudio) is being sent to the front of house.
    Next I created an audio channel for everything I DONT want the audience to hear (click/recordings) and clicked 'send' to Bus 2.
    I selected Outputs 3-4.
    From my Firestudio (in the back) outputs 3-4 are being routed to my personal mixer (Berhinger Xenyx 1202).
    I plug my headphones into the 'phones' plug... and I hear all the tracks fine.
    This is where the problem comes in.
    *For some reason, all the tracks on Bus 2 keep playing through my Stereo Output!
    *Although everything is set up to separate the tracks, every time I hit play both bus 1 and 2 are sent to my main output of my Firestudio!
    I don't know if has something to do with the I/O Assignments (mine are set to default) or what... but I can't for the life of me get JUST the intros, bass drops, sampling, and outro to play through the FOH speakers. Instead it plays everything... even though the tracks I DONT want to be sent to the FOH are supposed to only go to Outputs 3-4.
    Someone please take the time to read this post and help me out!
    It has been a heavy burden for quite some time now.
    Thank you for your time.

    So I ended up going a different route to solve my problem, but thank you both kcstudio and seeren for providing useful information.
    Here is what I ended up doing instead:
    In Logic I created two audio tracks, one with my FOH mix (what essentially was my bus 1)
    and another audio track with my personal headphone mix (bus 2).
    Next I panned my FOH channel 100% Left, and my headphone channel 100% Right.
    I bounced the file and saved it to my itunes, in my "Live Set" playlist.
    From there I can simply download the playlist to my ipod, and connect to a stereo splitter cable.
    Both L and R (Tip and Ring) outputs on the splitter cable go into my Berhinger mixer on seperate inputs (where I can EQ, and control volume).
    On the physical mixer I pan my FOH mix 100% left, and my headphone mix 100% right.
    Then I send it all through the main out of the mixer and to the house PA.
    And everything works perfectly!
    (The click track/recordings only play through my headphones, while the FOH mix can be heard by the audience)
    *This makes for a faster setup on stage, and gives me control over the different levels*

  • Problem reading PXI-2503 channels above 23 in 1-Wire 48x1 Mux mode in Linux

    I'm having trouble getting relay positions above 23 in the 1-wire 48x1 mode
    % nilsdev | grep 2503
    NI PXI-2503: "Dev1"
    The topology is set to "2503/1-Wire 48x1 Mux" via the following API, using device "Dev1"
      DAQmxSwitchSetTopologyAndReset(device,topology)
    In theory that means there are 48 inidividual relays than can be read, however, the following fails:
     switchname = "/Dev1/ch47"
     DAQmxSwitchGetSingleRelayPos(switchName, &pos)
    The error returned is:
    DAQmx Error: Relay name is invalid.
    Relay Name: ch47
    Status Code: -200202
    which is
        #define DAQmxErrorInvalidRelayName   (-200202)
    I am unable to get the relay position for anything above relay 23  ( /Dev1/ch23 )
    Is that the expected behaviour, or is there a driver or hardware issue ?
    Solved!
    Go to Solution.

    When using this switch in "1-wire" mode, we are essentially breaking each (+)/(-) pair into their own channels.  Since this topology utilizes double pole, single throw switches whose individual terminals cannot be switched independently, another switch is introduced to decide which side of the switch is being accessed as what point in time, (+) or (-).
    Instead of having 48 single pole single throw, we can have 24 double pole single throw and one single pole double throw to decide which polarity we're referencing.  You can still utilize this topology in a 48x1 1-wire mode.  
    To manually switch using DAQmx relay commands, you will have to specify the channel switch and the polarity switch as Maggie mentioned.  When you call "DAQmxSwitchConnect /Dev1/ch47 /Dev1/com0", the driver knows to close the ch 24 relay in addition to "HLSELECT" AND "1WIRE" to route only the positive terminal (effectively ch.47).
    The NI Switches Help document contains a more detailed explanation of the topology if you navigate to Devices >> NI PXI-2501/2503 >> 
    1-Wire 48×1 Multiplexer Topology.
    National Instruments

  • I have a problem to download Mountain Lion through the AppStore.

    Hey,
    I use MBP Late 2011. Currently I have OSX Lion installed. I decided to do the upgrade through the Appstore. I bought the new version of OSX yesterday evening, around 6pm, left my computer ON overnight and now, at 8am it is not even in the middle of the transfer and it is not downloading even though it says in the AppStore that it is. Activity Monitor shows me that there is no data downloading at all (my Internet connection is 4 MB/sec. and is working just fine). OSX was downloading yesterday night for about 2 hours with the speed around 500 kbps and it stopped. No progress overnight at all. Where is the problem?

    Looks like it worked! Cheers!

  • Im having a problem reverting to snow leopard through the usual tried and true methods.

    i have a mid 2010 imac that originally came with osx 10.6. since i upgraded to mountain lion two years ago, ive been unable to use pro tools 9. i have about a terabyte of sessions and recordings that i need to reopen so i want to make a partition and install snow leopard there. i made the partition and flashed a legit copy of snow leopard 10.6 to a sandisk 16gb usb drive. the bootable drive shows up fine in my current install of yosemite, as does it show up when i restart and hold option to bring up the partitions and other media connected to the usb hub and superdrive. when i click on the bootable drive it goes to the grey apple logo and hangs indefinitely. thinking it may have been the usb drive itself i got a legit copy of 10.6 on disc and tried it in my superdrive. my superdrive however, like many 5 year old superdrives, is a bit fickle and plays certains discs and spits others out immediately, the snow leopard disc being the latter. i got an external disc drive to run the disc and it also popped up in yosemite and at the reboot after holding the option key down, just like the bootable usb drive. it too hangs on the grey apple logo indefinitely. my question is this: do you think that im having with my usb controller? every method ive tried so far is going through the usb ports on the rear of the imac. since i cant boot using the internal drive and i dont have another mac to use the Target Disk mode method, this is the only thing i can come up with. ive literally been trying to reinstall snow leopard since december 2013 without any luck. ANY help would be appreciated. thanks in advance!

    Can you boot normally?
    CD/DVD Loading Problems                        
    CD/DVD Drive - Troubleshooting See troubleshooting section.
    CD/DVD Drive - Troubleshooting (2)

  • Connect problem with DV video-camera through the new thunderbolt to firewire adapter?

    Hi
    I got a JVC DV camcorder with firewire 400 output and I've got a Macbook Air 2012 with 8gb 1600 MHz DDR3, intel i7 2GHz, 256 ssd harddisk and intel HD graphics 4000 512 mb. It has thundebolt but no firewire port.
    I wanted to connect these two item and then bought the new "thunderbolt to firewire 800" and the "800 to 400 firewire adapter cable".
    I then connect both cables to each other and pluged it in to the JVC DV. I started up iMovie and pressed play on the camcorder, but the signal can't get through and the Macbook Air does not find the camcorder at all? What have I done wrong? Please help..
    Best regards,
    Jonowitz

    Hi,
    have you managed to solve your problem? I deal with the same issue using Panasonic MX500 DV camera. Any help would be appriciated.
    Martin

  • My friend has a macbook and is having problems controlling he mouse/trackppad. The problem started with snow leopard and continues with Lion. The mouse moves at random across the screen and is difficult to control. Adding a separate mouse cures the proble

    My friend has a Macbook running Lion. She uses the trackpad for her mouse. The mouse can't be controlled, except with great difficulty. It hops all around the screen at randon. The problem can be mitigated to some extent by using an external USB mouse; however, when this mouse is not is use, it keeps jumping at random around the screen. 

    My friend has a Macbook running Lion. She uses the trackpad for her mouse. The mouse can't be controlled, except with great difficulty. It hops all around the screen at randon. The problem can be mitigated to some extent by using an external USB mouse; however, when this mouse is not is use, it keeps jumping at random around the screen. 

  • I have problem with cancelling my membership through the chat.

    I have been trying to cancel my CC membership by going through their chat service. I have tried 2 times but they never did contact me, I have been wanting to cancel the membership for months but it hard to get in contact with them unless I make a phone call to them, which it very hard due to the different in timezone.

    This is an open forum with a mix of program users and Adobe staff, not Adobe support... you need Adobe support
    Adobe contact information - http://helpx.adobe.com/contact.html may help
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • I am getting an error when talking to my TDC001(whi​ch controls a Z825B stage) through the active X window

    Dear All,
    I have scoured these user posts to check to see what may be wrong - why labview isnt recognizing my servocube (and thus not moving my stage) so I have checked
    1. the serial number is in fact the same serial number as on the APT gui interface that came with the cube.
    2. "enable simulation mode" box is unchecked - the APT gui interface does not work if that mode is checked
    3. the stage does move when i use the APT gui interface (the software sent with the cube)
    Does anyone have any other ideas why labview cannot see the cube/stage?  Any help would be much appreciated!  Thanks
    Attachments:
    test-motor1.vi ‏25 KB

    Sorry - wrong file!  this is the correct one!
    Attachments:
    testmotor.vi ‏10 KB

  • Hello, I can no longer access my gmail account through the mail icon.  When I use the icon gmail tells me my password is invalid, however when I log in through Safari I have no problems.  Any suggestions?

    Hello,
    I had no problem accessing my Gmail account through the mail icon until two weeks ago.  I can still access my Gmail account through Safari, but when I attempt to access my Gmail through the mail icon, Gmail tells me that my password is invalid.  Any Suggestions?  Any help would be greatly aprecieated.
    Thanks,
    Frank

    I see you are using LastPass. Could that add-on be interfering with your login?? You could try disabling it temporarily under Tools > Add-ons to test that theory.

  • Volume control for video playback through Apple TV2

    I am trying to configure the volume settings used on airplay through apple TV2 and a macbook pro and Iphone4 all with most recent updates.
    I am using the apple remote app on my iphone to control the apple tv.
    Whats working:
    Using the pandora app on my iphone through aiplay to the apple tv, I can control the volume using the plus and minus buttons on the side of the iphone for volume control. Very cool and easy.
    Using the apple remote app on my iphone I can control the itunes volume of different speakers by clicking on the airplay icon and using a slider.  Not as cool as using the hard +/- buttons but still works.
    Whats not working:
    Controling volume on appleTV2 through the iphone remote app for video playbacks like netflix, and youtube.
    Why I want this: RIght now I can control most of the multimedia right from my iphone including cranking the music up:) But when I switch over to video(Netlfix, Youtube) I have to get out another remote (stereo reciever) to control the volume. It seems we are so close to being able to control everything off the iphone, the only thing missing is volume control for video playback.
    Is there a setting that can be changed or a solution I havent found?
    Thanks

    Same problem with TV3. HDMI volume output is not adjustable, neither with the original Apple remote nor with any universal. Why ? Every simple settop-box is able to be volume adjusted. And a Mac Mini too ?!!!
    I use a flatscreen TV. it has 3 HDMI inputs and one optical out for the audio going to an amp standing behind it. The sound of the TV is switched to go to the optical out.
    HDMI 1 is connected to the satellite settop box with its  own remote control ( channel +/-, volume +/- etc. ) it work s fine.
    HDMI 2 is connected to the MacMini HDMI out with its own remote control ( channel/music +/-, volume +/- ) it works fine too.
    HDMI 3 was connected to Apple TV3 with its own remote control ( channel/music +/- but no volume ). I sent the TV3 back to Apple.
    What's going wrong in the mind of Apple ? Why is the HDMI volume output of the MacMini adjustable with the Apple remote, and the TV3 not ?
    I want not to discuss, wether a 4th remote control is useful or not. I don't want it. I want to adjust the volume with the originl remote control of the specific unit I use, because I need it anyway. It worked since years, but not with Apple TV3.
    How can we help Apple to open the volume +/- function on their own remote control ?

  • Issue in connecting sub VI programs through the main program

    Sir/Madam,
                       I have made a few sub VI  programs of 'Keithley 2400', but I am having problem in connecting them together through the main program. Actually the created sub VI programs are not showing  any activation button when I connect 'action.vi' file in 'read.vi' file (attachted). 
    Please give suggestions.
    Regards
    Yachika Manglik
    Solved!
    Go to Solution.
    Attachments:
    action.vi ‏24 KB
    read.vi ‏14 KB
    write.vi ‏24 KB

    Hello
    Thanks for your suggestion.
    I have successfully implemented connections in my code according to your given suggestion .
    Now I am facing problem to link a file named 'control1.ctl'(attached) that I have made for selecting option 'select type of action' and need to add' control1.ctl' in  'read.vi' file. It is showing  following error( below).
    Error: " required input ' GPIB action' is not wired.
                     OR
               "Enumeric conflict"
    So can you please suggest how this error can be removed?
    Attachments:
    Control 1.ctl ‏5 KB
    read.vi ‏13 KB

  • Do I get English language versions when I purchase through the Latin America website?

    Earlier in the year I upgraded to Photoshop CS6 and  LR5.  I've always used the English language versions and am considering moving to the Creative Cloud, but, as a resident of Puerto Rico, I must purchase from your Latin America website.  My questions is:  are all applications in English or am I forced to use the Spanish version?

    Hi Liliord,
    I am showcasing a similar issue of another Puerto rico resident:
    16.Eric H,
    Aug 28, 2013 7:23 AM
    For anyone in Puerto Rico who wants Creative Cloud I have a work around and have discovered the problem.  First the problem: When I could not order CC online the reason was that the address in my profile had the country listed as Puerto Rico and you cannot change country as it is based on your address.  After many calls to customer service and the help here online from Beverly, I noticed my country had been switched to United States (which is correct as Puerto Rico is not a country) and my State/Province was now PR.  That allowed the logic on the ordering page to process that I was in USA and it provided me with the proper order form. Adobe really should run an Update Query on their database and move all the IDs that have Puerto Rico as their country to USA and their state equal to PR.
    For the work around:  Log on from a US recognized network.  My friend had the same problem but instead of going through the hassle of all the calls and emails that I did we just used her iPhone on the AT&T 3G network.  The website logic recognizes this as a United States network and the proper order form appears.  Likewise if you have access to a Federal network and can surf the web on their system it will produce the order form.  If you use Onelink or PRT/Claro and probably the local ISPs the website logic assumes you are logging on from outside the USA and the form doesn't appear and you are prompted to call Sales, who will NOT sell to PR over the phone.
    The above excerpt is from http://forums.adobe.com/message/5629534
    Another useful link can be http://helpx.adobe.com/x-productkb/policy-pricing/adobe-stores-online-order-payment-faq.ht ml#find_store
    These information can be useful. Feel free to inbox privately too.
    Reagrds,
    Rajshree

Maybe you are looking for

  • How can I add graphics and other items to the content manager in PSE 10?

    I am hoping to add some jpg and png files to my content manager in PSE 10 for easy access, but can't figure out how.  Would appreciate any help so I can start scrapbooking with my new software!

  • SQL*Plus: compute sum of tablespaces; incorrect figures

    Hi, I wonder if someone would be interested in checking the below script. It is from Darl Kuhn's book 'Pro Oracle Database 11g Administration' (page 81) , and the code can be freely downloaded from Apress' website, so I guess it's OK to post it here.

  • PRE8 crashes when i try to capture?? (The bride is getting furious)

    Used PRE 4 for long time no probs. Got new computer tried to put PRE4 on. Creashed when tried to capture.  Tech support said old version would not   work easily with Windows 7 so I paid for upgrade to PRE 8. Installed it and the exact same problem: H

  • Digital booklet: PDF, size

    One of my purchased album comes with a digital booklet; it's a PDF file. I would like to print it and put it into a CD case; however, the physical size of the PDF is too large. With which tool (WinXP or Linux) could I scale down the pages? Thanks! De

  • Finding my camera in which iMovie HD?

    First, a break down of events: I upgraded my hard drive from 10GBs (the original drive) to 120GBs to accomodate iMovie. I've loaded iMovieHD on the 10 GB drive AND the 120GB drive and have come to find out that my camera is only recognized by the 10G