Code for electrode switching network

For my project, I have  16  electrodes in a circle. The electrode current switching is developed using Multiplexers. The multiplexers used in
this system are CD4067B  analogue multiplexers. Two 1:16 multiplexers (MUX1 and MUX2) are used to develop an
automatic switching system for current to inject into the adjacent pair of electrodes and take the voltage readings from the remaining electrodes
I have no idea how to write the code for switching the electrode pair (1-2,2-3,3-4.......15-16) and take the readings 
could someone help me with the code 
                                                                      ----thank you-----

You give us no useful information and then ask us to write your program for you. So starting at the beginning: The multiplexer you mention is a chip, an IC.
What are these chips mounted in?
Does whatever they are in have a manual?
What sort of daq do you have in your LabVIEW system?
What version of LabVIEW?
What kind of computer?
Will the LabVIEW be running on the PC?
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • Event Code Error when switching networks

    Although I am running a standalone version of P6 on my laptop, I continually receive event code errors when I switch between two networks.  This often happens when I need to switch from a client network to my mobile hotspot.  Or, if I'm away from laptop for any length of time and it 'goes to sleep' without having closed out of P6, when I return I will have an event code error that requires me to close and then restart P6.
    I'm running Windows 7 SP1, Firefox 24.0, P6 Release 7.0.0 (Build 00000092)
    Any help is greatly appreciated.

    Hi,
    In regards to the problem when the computer goes to sleep, if you look in the event viewer you will see that Windows is dropping the network connection - not sure of any other workaround to this than disabling the sleep/hibernate function.
    As for the problem when you switch between networks, other than making sure you log out before making the network switch the only thing I can think of would be to try and make sure the connection is using 'localhost' or possibly '127.0.0.1' instead - this is in the vague hope that these connections will hold true even when the network behind the scenes is changing (this also assumes SQL Server, changing this for an Oracle XE database would be a bit different)
    Good luck.
    Regards
    Alex

  • Why does the security code for my home network not work with my hp6500?

    I have a HPOfficejet 6500A Plus and am running windows 7 on a Dell desktop.  I've tried to get my printer to connect to a home network and every time I type in the password it won't connect...it fails the security.   I've always used the direct printer cable to connect one of my desktops to the computer and am trying to get the wireless featur to work...it won't. 

    Hi,
    Please refer the link below and download HP Print and Scan Dr utility which will be able to help in installing printer and checking for correct security key.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02271484&tmp_task=useCategory&cc=us&dlc=en&lc=e...
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • Autoselection for a switch between wired and wireless network

    Hello,
    We currently have a VTC codec installed on a mobile cart that can connect via wireless or wired network.  The cart has the Linksys WET610N Dual-Band Wireless-N gaming and video adapter bridge.  If you want to go wireless you will have to unplug the CAT5 that goes into the walljack and plug in the cable from the bridge into the codec. 
    We need a 3-5 port switch. Port 1 will connect to the wireless bridge.  Port 2 would be available to connect to a wall jack.  Port 3 will connect to the codec.
    We need the ability for the switch to autoselect port 1 and 2.  If Port 2 is not connected (no link light), then Port 1 will be active.  If Port 2 is active, Port 1 will be inactive. 
    I need to know how to configure the bridge and a network switch if this is scenerio is possible.  Any help is appreciated.
    Thanks,
    Aaron

    Well, I thought i had tried this before, but I followed another board's suggestion of turning of IGMP proxy and it is now working. I can see my iTunes server which is wired on my wireless devices.

  • What is the network unlock code for my HTC Thunderbolt?

    I want to unlock my husband and I's HTC Thunderbolts. Our contract is up and we bought our phones out right  before we signed a contract. What is the network unlock code for the HTC Thunderbolt phones? 

    Thanks. Apparently Verizon isn't really "sorry to see the customer go".  I'll simply buy an unlocked phone and be done with Verizon for good. Two years is to long to be treated like this by them.  I bought my phone and should be able to use it with whatever carrier I want. It is no longer Verizon's phone. Yes I understand they own some of the stuff they put on my phone but by all means they can remove it. I didn't want their crap on their in the first place. I wish the rest of America would quick kissing their rear.  End Rant
    >>Edited to remove profanity<<
    Message was edited by: Verizon Moderator

  • Hi can you send mee a onlock code for the network

    hi can you send mee a onlock code for the network i can use oder sim cards i going to holideis sou i nide put in diferent sim theks

    No one here can help you, & there is no such thing as a code to send you anyway. Contact the carrier your phone is locked to to see if they offer official unlocking & what the cost/procedure is. There is no other way to get your phone officially unlocked.

  • Error Code:22 when scanning for available WiFi-Networks using CoreWLAN

    Hi ,
    I use the following code to scan for Wi-Fi networks on Mac book pro , 10.6 and above OS
                                  Class pc;
                                  NSArray *interfaces;
                                  framework = [NSBundle bundleWithPath: @"/System/Library/Frameworks/CoreWLAN.framework"];
                                  if([framework load])
                            NSLog(@"Framework loaded");
      else
                                            NSLog(@"Error, framework failed to load\nAborting.");
      return NULL;
    if ((pc = [framework classNamed:@"CWInterface"]))
      interfaces = [pc supportedInterfaces];
      self.interfaceName = [interfaces objectAtIndex:0];
       airportInterface = [[pc alloc] initWithInterfaceName:[interfaces objectAtIndex:0]];
    NSDictionary *argsDict = [NSDictionary dictionaryWithObject:[NSNumber numberWithBool:YES] forKey:@"SCAN_MERGE"];
    NSArray *scanResults=[airportInterface scanForNetworksWithParameters:argsDict error:&scanErr];
    My test software will work fine for about 30 to 40 mins returning the scanned Wi-Fi networks
    After 40 Minutes, i usually get an error stating
    Error code: 22, Error domain com.apple.coreWLAN.error, Error userinfo: (null)
    Can you please let me know the work around or fix for this solution.
    Regards
    Rakesh

    Hi Mike,
    We have had this problem. Please delete the change log table of the ODS in the QA or Prod system (whichever is the target for your transport request) and then reimport the transport request.
    <i>
    534
    if generated ODS InfoSource,
    | 535|* no PSA versioning possible |</i>
    Hope this helps...

  • No Internet Connection, No Claim Code for the T120?

    I am trying to locate the Claim Code for my new T120 printer. The instructions do not lead me in the right direction and shows menu options that are not available.. 
    I have printed the Network Config pages and WS Discovery is enabled and WS Print is enabled. The printer is connected to our LAN. I am able to print from multiple PCs on the LAN. 
    When I press the ePrint button it tells me that Connection is Required. printer must be connected to the network and internet for this feature.
    As far as I can tell it is connected to the network, i can print via the network and the data switch is connected to the modem in our server rack.

    Hi Blathudda,
    I see that there is network issue with your connection. As per your first post i see that there is no connectivity on the printer.
    You might come across any one of these issues listed below:
    1. If you have a proxy settings, please add the proxy settings to your printer. This might get your work done. your Network provider should be able to provide the proxy settings for your network.
    or
    2. You can also try using the Lan cable and Lan Port used for your laptop if your laptop is able to connect to the internet seamlessly. 
    or
    3. Please Check with your network administrator is the lan port is enabled or not.
    Kind Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

  • Source code for "Creating an Extended Web Dynpro Application"?

    Hello!
    I'm a rookie in the field of SAP Netweaver and I'm justing getting started with some tutorials. My problems with "Creating an Extended Web Dynpro Application" are to massive to be posted on this forum in this stage. What I want to have some help with is to find the source code for that tutorial so I can get som guidence from there.
    Following text is cut out of this page:
    http://help.sap.com/saphelp_nw70/helpdata/EN/5d/f42fef2eec724597a03b6bcc670c2c/frameset.htm
    Creating an Extended Web Dynpro Application
    You can download the Web Dynpro project for the current tutorial from the Software Developer Network SDN (http://sdn.sap.com -> Web Application Server -> Web Dynpro -> Sample Applications and Tutorials) in two versions: one skeleton version you can use for exercises and one final version (solution) for an immediate build, deployment and run on the Java engine of the SAP Web Application Server.
    How hard I try I can't find the specific source code on sdn.sap.com
    Does anyone have a clue where it is?
    Thanks!
    Best regards
    /Johan Månsson Lindströ

    Hi!
    I did what you said but I seem to miss the IDE folder. This is what it looks in my Explorer
    C: > Program Files > SAP > IDE > CE > eclipse > (no folder called "examples")
    I also did a search in this eclipse folder for "examples" but I did'nt find the example I'm looking for
    I am running a newer version of NWDS:
    SAP NetWeaver Developer Studio
    SAP NetWeaver 7.1 Composition Environment SP03 PAT0000
    Maybe that's why things don't look the same?

  • Why won't Apple give out the unlock code for an iPhone 3Gs when the contract was honored and I am still an AT

    Why won't Apple give out the unlock code for an iPhone 3Gs when the 2  year contract was honored and I continued to be an AT&T customer with an iPhone 4. I wanted my old 3gs unlocked so my daughter could use it overseas when she is deployed. AT&T service over there *****, the international plan was not worth it. The individual SIM cards per country are much more reliable and cheaper. Teslestial in Iraq and Afghanistan, Telecom in Croatia,Vodafphone in Germany and Italy.  Why Apple will not unlock these phones for our military to utilize is incomprehensible to me.  These young men and women are fighting for these Apple people to go to work every day, safe, to live lives they have become accustom to yet releasing a phone to use on another network they can't do at least for the military.... WHY APPLE??  WHY?   A good excuse not some of the many lame excuses I have received on the phone many times. AT&T states it is Apple that will not allow them to unlock the phones...  Please tell me why?  All I want Is my daughter to have a phone I trust, to be able to call me when she is given the free time to do so and I trust the apple phone.
    Apple, please reconsider your stance on this issue.  I am having a hard time understanding why you will not unlock the iPhone. 
    A simple code could allow me to talk to my daughter while fighting for our country the Great USA.  Apple should be on the front line and enabling those fighting for our life, liberty and pursuit of happiness to use unlocked phones on reliable local GSM networks.
    I honestly hope that someone who has some sort of authority to begin allowing the release of unlock codes, and not forcing people to unlock their phones with some program produced by some hack just to be able to use your wonderful phone.  That is is in a nutshell, People love the iPhone so much that they want the ability to use it on the most reliable GSM carrier available to them.  That should be a major compliment. Even men and women on the front line want your phone. I agree, my service is not the best where I live either, love the GSM technology so stay with it, but if I had the ability to change to the other GSM network that has much better coverage in this area of the country I would change. To change now I would not have my iPhone and that I will not part with. 
    Apple, please reconsider opening up the lock code and allow your gem of a phone to be used by many more people in many more areas and most importantly overseas fighting for our country.  I know if this is really thought about Apple would understand and come to the conclusion to release the unlock codes, and stop the people from hacking in to use the iPhone on other networks.
    I would love for my daughter to be able to use my iPhone 3gs while fighting for our Free country.
    A response would be appreciated.
    Thank you.
    An Apple customer for 10 years, phones and computers.
    P

    Defiled:
    I did sign a two year contract and completed that contract. The 3gs is no longer in service. My daughter is going overseas to protect you and your family. I was attempting to find a way for her to have a reliable phone that could offer her some connection with home as she travels through the middle east.  She travels in missions all over.
    At&T unlocks other phones of theirs why not the iPhone?  AT&T says that Apple will not give them the code, it is not the carrier.  If I would have known this situation would have come up I would have bought and unlocked 3gs phone"Deggie" .  My main complaint is that Apple has not good excuse as to why they will not allow their phones to be unlocked from services well, AT&T .  I bought the phone full price, completed the contract terms, even went for and iPhone 4 with another2 year contract, along with owning an apple computer... I love the product.  My main issue is give me a good answer as to why you won't allow a phone to be unlocked. It doesn't hurt Apple, People still have to buy the phones from them, and use their App store and iTunes.
    Sorry, just upset about my daughter heading over there, boots on the ground, and just pray she will be safe. Would have liked to facetime her while she is in the airports and in specific areas allowed for that.
    Please don't come down on me for asking this question. I understand all the contracts etc.... but to single out the iPhone specifically to not unlock after contract is over does not seem fair.
    Thank you for your responses.

  • The page with the code for my printer has expired and I need to print a new one but can't figure out

    How do I print out a new sheet with code for wireless setup?

    Are you talking about the IP address or the Mac Address of the printer? If you go into the setup menu you can go to reports or the network for the wireless information depending on what code you are looking for......
    Although I am an HP employee, I am speaking for myself and not for HP.

  • RH Automatically Changing HTML Code for Links

    For some reason, RH is doing something to the links I create. In my stylesheet, I have the following code for links:
    a {
        color: #054abc;
        cursor: pointer;
    a:hover {
        color: #336699;
        text-decoration: none;
    a:active {
        color: #333333;
    When I create a link, the HTML code looks like this *at first*:
    <a href="Development_Plan.htm">Development Plan</a>
    But then, after I save the file and switch to HTML view, the code looks like this:
    <a href=" Development_Plan.htm" style="color: #0000ff; text-decoration: underline; ">Transcript</a>
    I am not doing anything other than saving the file, and that apparently causes RH to automatically add the style (color and text-decoration). Why is RH adding that? It's causing my links not to change color when you hover over them.
    How can I make RH stop doing that, so my links display as defined in the stylesheet?

    Hi,
    This is strange behaviour. How exactly do you create a hyperlink? I have seen this behaviour only with links that are empty or contain a single space.
    As a workaround, in your css, add the !important declaration to your hover styles:
    a:hover
    Although this isn't an elegant solution, it will overwrite the inline styling of the link and thus change colour on hover.
    Greet,
    Willam

  • Streamlining the code for the button group with individual links and rollover imgs

    I am looking for a solution to streamline the code for the array of 20+  buttons located inside the scroll pane.
    I know I can make an array if all the buttons would have a unified code executable change, i.e. they would become larger and brighter.
    My problem is that each button represents an product image in the lights off stage, then of rollover it is a lights on stage so I have to import two images in the on and off stage and play around with the opacity.
    Additional problem is that each button has to ling to a different label.
    My question is: is it possible to unify the code if buttons have that much individuality or I have to make each one of them as in the example below.
    // makes a hand cursor appear over a mc acting as a button for all the buttons inside the scrollpnaeBckgrnd_mc.scrollpaneBckgrnd_btns_mc.
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.buttonMode = true;
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.useHandCursor = true;
    ///////////////INDIVIDUAL BUTTONS
              MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLyte _btn.FloraLyte_ON.alpha = 0;
                        var  FloraLyte_btn_Tween:TweenLite = TweenLite.to(MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.F loraLyte_btn.FloraLyte_ON, .5, {alpha:1, paused:true});
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLyte_btn.addEventListener(MouseEvent.ROLL_OVER, overHandler_FloraLyte_btn);
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLyte_btn.addEventListener(MouseEvent.ROLL_OUT, outHandler_FloraLyte_btn);
            MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLyte_btn. addEventListener(MouseEvent.CLICK, onClick_floralytePopUp);
                      function onClick_floralytePopUp(event:MouseEvent) :void {
                                            gotoAndPlay("floralytepp");
    function overHandler_FloraLyte_btn(e:MouseEvent):void{
             FloraLyte_btn_Tween.play();
             trace("you rolled over me");
    function outHandler_FloraLyte_btn(e:MouseEvent):void{
             FloraLyte_btn_Tween.reverse();
             trace("you rolled off me");
    MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLytell_btn .FloraLytell_ON.alpha = 0;
                        var  myTween:TweenLite = TweenLite.to(MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.F loraLytell_btn.FloraLytell_ON, .5, {alpha:1, paused:true});
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLytell_btn.addEventListener(MouseEvent.ROLL_OVER, overHandler);
                        MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLytell_btn.addEventListener(MouseEvent.ROLL_OUT, outHandler);
            MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLytell_bt n.addEventListener(MouseEvent.CLICK, onClick_floralytellPopUp);
                      function onClick_floralytellPopUp(event:MouseEvent) :void {
                                            gotoAndPlay("floralyte2pp");
              function overHandler(e:MouseEvent):void{
             myTween.play();
             trace("you rolled over me");
              function outHandler(e:MouseEvent):void{
             myTween.reverse();
             trace("you rolled off me");

    as ned suggested, plan your flow and code into it. here is one example:
    var buttonArray = [someButton, someOtherButton, aDifferentButton];
    for(var i = 0; i < buttonArray.length; i++){
         //get reference to county movieclip
         var mc = buttonArray[i];
         //then add listeners
         mc.addEventListener(MouseEvent.ROLL_OVER, overMe);
    function overMe(e:MouseEvent){
         var mc = e.target;
         switch(mc){
              case: someButton:
                       someOtherButton:   doThis();
                                                     break;
              case: aDifferentButton:     doThat();
                                                     break;
              default:                            //do nothing;
                                                     break;
    function doThis(){
         trace("do this")
    function doThat(){
         trace("do that")

  • LabVIEW could not generate code for the shared variable.You must open the VI in the project that contains the library where the shared variable resides

    HI
    When I put a network shared variable with fifo RT activated on my diagram, the arrow is broken.and I' ve got this message:
    ""LabVIEW could not generate code for the shared variable.You must open the VI in the project that contains the library where the shared variable resides""
    If I uncheck FIFO RT option for this variable the arrow isn't broken anymore.
    I 've no idea how to correct this weird error?
    Autodeploy is on, and I've check copy / delete in diagram in tool/options\diagram
    regards,
    james

    Hello,
    I don't reproduce this error.
    Could you send your VI?
    Regards
    VéroniqueD
    NI France

  • Has anyone one else had problems redeeming the code for the free onetime download of Star Trek 2009 Movie?

    Has anyone one else had problems redeeming the code for the free onetime download of the Star Trek 2009 Movie?

    dawnfromcabot wrote:
    ITUNES HAS CHARGED MY DEBIT CARD $99.99 FOR GLOBAL WAR RIOT-SOME GAME I DID NOT KNOW WAS LOADED ON MY OTHER PHONE; HOWEVER, WHEN I PULLED UP THIS APP TO SEE EXACTLY WHAT IT WAS WAS I SURPRISED TO SEE I COULD DOWNLOAD IT FOR 'FREE'. I HAVE CONTACTED ITUNES THROUGH THIS REDICULOUSLY CHICKEN SH_T SYSTEM THEY USE SO THEY DO NOT ACTUALLY HAVE TO HEAR HOW UPSET A PERSON IS NOW THAT THEY CANNOT BUY FOOD FOR THEIR CHILDREN BECAUSE OF A MISTAKE MADE ON ITUNES PART.  I DID RECEIVE AN EMAILED RESPONSE FROM STEPHANIE WHO ADVISED THIS WAS PUCHARED ON A PHONE THAT HAS PURCHASED DOWNLOADS IN THE PAST. I WONDER IF SHE THOUGHT TO LOOK AT MY ENTIRE DOWNLOAD HISTORY AND DISCOVER THAT NOTHING HAS EVER BEEN PURCHASED ON MY ITUNE ACCOUNT IN THE AMOUNT REMOTELY CLOSE TO WHAT THEY ARE CHARGING ME NOW.  THAT IS BECAUSE I DO TRY TO MONITOR THIS ACCOUNT AND OBVIOUSLY THIS LAST PURCHASE WAS DONE WITHOUT MY KNOWLEDGE UNTIL I CHECKED MY ONLINE BANKING ACCOUNT, WHICH I DO EVERY DAY.  TO MAKE MATTERS WORSE THE APP STATES IT IS FREE TO INSTALL WHEN YOU PULL IT UP SO NO ONE HAS CLARIFIED TO MY WHERE THE $99.99 COMES INTO PLAY.  I WILL NOT DROP THIS UNTIL MY BACK ACCOUNT HAS BEEN PROPERERLY CREDITED IN THE SAME TIME FRAME IT TOOK YOU TO TAKE MY MONEY. I WILL LAUNCH A COMPLAINT WITH EVERY POSSIBLE ENTITY IN THE ITUNES COMPANY AND BUSINESSES OUTSIDE THAT REGULATE THEIR BUSINESS UNTIL THIS HAS RESOLVED IN MY FAVOR AS I AM THE ONE WHO HAS BEEN VICTIMIZED BY A COMPANY I INVITED INTO MY TELEPHONE NETWORK IN GOOD FAITH!!!!!!!!!!!!
    Reading that is giving me a headache, how about normal type.

Maybe you are looking for