Activating a switch in a slave loop to active a send button in another while loop

Hello:
I am using a master loop with a slave loop to perform a sequence test. I added a Can Bus it runs outside the slave loop I can send commands out through the can bus as long the slave loop is not running the sequences. How can I send commads through the can bus while the slave loop runs, I try using variables and network variables.

Hello:
I have attach some pictures hopefully it help to explain my self.
I added the Can Bus out side the slave loop so it can run continuously, if I place it inside the slave loop it only runs once, it needs to run continuously so to talks back and fort with the control getting or sending commands.
My file is to large our network does not allow large files to be send
Attachments:
Can bus.JPG ‏284 KB
Slave loop.JPG ‏169 KB
Slave loop Plus.JPG ‏282 KB

Similar Messages

  • MASTER/SLAVE PATTERN: how to stop slave loop without stop main loop

    Hi All, I am studying the master/slave loop and saw an examples are like this (only master block shows)
    From this case, as I understand, if we click "set" button, slave loop will run. If we click this button again to mak it "Flase", the slave loop will be stopped as well as the main loop will be stopped as well.
    Now if I have a multi-function main loop, I just want to start or stop slave loop when click "set" button, how can I do it? Thank you very much! 

    bhl3302 wrote:
    From this case, as I understand, if we click "set" button, slave loop will run. If we click this button again to mak it "Flase", the slave loop will be stopped as well as the main loop will be stopped as well.
    Your understanding is completely wrong.  There is nothing in the image you show that would stop either loop.  In this situation the "set" button would normally have a latching mechanical action, meaning that when it is pushed, it will stay true until it is read once, at which point it will return to false.  Placing the control terminal inside the event case causes the terminal to be read and resets the button to false.  With a latching mechanical action, there will be only one event generated even though the boolean will change value twice (from false to true, and from true to false).  You'll never have a situation where you push the button once to set it true, and again to set it false.  However, even if the mechanical action is switching, not latching, it still won't make a difference here - the event case does the same thing whenever the value changes, regardless of whether it's true or false.

  • Master and Slave Loops

    I'm having problems with my Master and slave loop combination.  I would like to be able to start and stop acquiring data from individual thermocouples. Please help.
    Message Edited by nicholas03 on 04-13-2008 03:22 PM
    Attachments:
    eight thermo.JPG ‏106 KB

    Dear Nicholas,
    My first advise would be to check the examples on master-slave patterns, and run them step by step, looking at what the data does...
    In a master-slave system, you use the queue to pass data from the master to the slave.   You're not passing data in the queue... in stead, you're passing data using local variables, which you should NOT do...  
    In the top loops, you should attach the temp array to the enqueue element.   In the bottom loop, you should remove the temp local, and instead get your data from the dequeue vi.
    Also, you have to create a queue with the proper variable.   You can create a queue from any variable type, but it has to know beforehand, and the init vi.  
    Assuming you want to queue the temp array, you're basic structure should look like this:
    It does help if you add your own code, so we can easier edit it for you...  Otherwise we need to use photoshop on your design...
    Message Edited by Anthony de Vries on 04-14-2008 11:30 AM
    Attachments:
    master-slave1.JPG ‏24 KB

  • Active page Menu button hover styling

    I having a bug / issue with the 'Active' state on the menu buttons. Even though the Active state on the buttons are correct in Muse when designing, whenever I publish, then hover over on the active page menu button.. the styling switches to a white font with a white bg. I need the white bg but the font color is supposed to be black.. like I have set it inside Muse.
    Here's what I mean clickhere
    Each page's own menu item on (hover state) goes to white on white. Here's also a screen of my Muse 'states' clickhere so you know I have it correct.

    Hello,
    In HTML, whenever a link is in active state, no other states work on it. Here in your case, the link is on the Menu item (Button) and not on the text inside that button.
    Which is why, the colour of text changes but the colour of the Button does not change when it is in Active state.
    I would here suggest you here to use some other color combination so that it is displayed properly to the users.
    Regards,
    Sachin

  • Error while activating DSO after loading from another DSO..Production issue

    Hello Gurus,
    I got an error while activating DSO2 after loading from another DSO1.
    DSO1 load and activation was sucessful but while loading from DSO1 to DSO2 load was fine but got error while activating...
      >Error when assigning SID: Action VAL_SID_CONVERT table ZWEEK_NUM
      >Value u201809u2019 of characteristic ZWEEK_NUM is not a number with 000004 spaces
    this theard was posted after searching for related post in SDN.
    and i tried Function Module RSODS_CHECK_RSODSACTUPDTYPE but it is not available .. but I used this in BW 3.10u2026..
    is their any similar Function Module in BI 7.0 please advice.
    We are using SAP NetWeaver BI 7.0
    Release- 700    Service level- 017
    Thanks in advance
    Sandy

    sloved the issue......
    it was due to wrong data for the related field...
    it  must be "0009 "
    Thanks for ur support. closing the ticket
    Regards
    Sandy

  • During audio messaging the send button does not switch to  a microphone after selecting a contact

    During audio messaging the send button does not switch to a microphone after selecting a contact

    Actually, this problem is the same as the one described in your other thread, and should be fixed as well after following the procedure described there.

  • SMS Send button NOT active

    The send button in the SMS/MMS app isn't active - I can't send texts. I've tried various contacts and restarted my phone but still nothing - anyone got any ideas?

    The third troubleshooting procedure is to restore your phone: http://support.apple.com/kb/HT1414
    The backup you make before you restore includes information such as mail settings, text messages, notes, call history, contact favorites, sound settings, widget settings, certain network settings, and other preferences including settings and data from third-party applications purchased from the App Store will be restored from the backup. Your music, videos, and applications will be reloaded by iTunes as they were before the restore.

  • My iphone offers no "SEND" button when I'm reading regular inbound email and I want to respond or forward...something got switched off and I don't know how to fix it...

    my iphone offers no "SEND" button when I'm reading regular inbound email and I want to respond or forward...something got switched off and I don't know how to fix it...

    Close out of the mail app, then double tap the home button and completely close out of the app.
    Then do a reset, no data loss.  Hold down the home/sleep button together until you see the apple logo and then release, then wait for the phone to boot back up.
    Then check your email again.

  • 8127: Cannot create ACTIVE STANDBY PAIR scheme because another replication

    Hi All,
    I am trying to define ACTIVE STANDBY PAIR replication scheme on the Datastore which have already bidirectional replication is defined on few tables ,
    Datastore1 ,Datastore2 are with Bidirectional replication defined on few tables , i want to have Active/stand by replication scheme between datastore1 and Datastore3, while trying to define ACTIVE STANDBY PAIR replication scheme on Datastore1 , i am facing below error
    8127: Cannot create ACTIVE STANDBY PAIR scheme because another replication
    Could you please is this how to achieve this Configuration

    This configuration is not possible. You cannot mix classic replication (CREATE REPLICATION) with active/standby pair replication (CREATE ACTIVE STANDBY PAIR). They are mutually exclusive.
    Chris

  • HT1688 Activation server can not be reached while updating my iPhone software.

    Why is my phone not activating the new 7 software on an iphone 4s.
    Here is part of the message I have beengetting...
    Activation server can not be reached while updating my iPhone software.

    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to a known-good Wi-Fi network if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Apple for assistance.
    http://support.apple.com/kb/ts3424

  • I use iPhone 4S .earlier with ios 6 and now ios 6.while I connect the charger for charging my phone network lost while midway in charging.that problem always while 3G connection is active.but this problem not arise while 3G mode off.please help me.

    I use iPhone 4S .earlier with ios 6 and now ios 6.while I connect the charger for charging my phone network lost while midway in charging.that problem always while 3G connection is active.but this problem not arise while 3G mode off.please help me.

    reset all settings
    settings-general-reset-reset all settings
    now reconnect to wifi
    settings- wifi- click network name- enter password - join
    if issue persists back up and restore as new via iTunes
    Peace, Clyde

  • My iphone 4 will not switch on and i have Press the sleep/wake button

    My iphone 4 will not switch on and i have Press the sleep/wake button for more than 20secs. i have also connected the iphone to Itunes but the computer or itunes doesnt recongise the phone is connected. HELP

    If it isn't responding to any of those steps it might prove difficult to extract data from the phone.
    So again your best bet may be the Apple Store, they would be able to help retrieve it I expect.

  • Question in switching for STP and loop

    hi ,
    i have a question in loop issue , will it occur in this case or not
    i will describe my scenario as below :
    now i have 4 switches connected with full mesh.
    =================
    3 of them has stp protocol enabled
    only 1 of them is un manged and dont support STP protocol
    ====================================
    the question is :
    if i connected the 4 switches full mesh  , will  the loop occurs ??
    as i believe , stp loop prevention depend on the switch itself not on their neighbour ,  but not sure from my understanding
    wish to help
    regards

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    If there's only one or two non-STP switches, in a full mesh, you'll be okay.  Once you have at least three non-STP switches, in a full mesh, you have a loop between them.

  • How to switch booleans whithin a loop to 0 when stop is hit

    I am trying to write a program than can send digital signal to an external oscilloscope. I am using NI-USB-6008. The program runs but when I hit "STOP" button (while the On/Off signal's boolean switch is on) the oscilloscope still shows an ON signal.
    The problem: How to switch the boolean to Off immediately when I press STOP?
    I tried using "Clear Task" and "joining the STOP button with the boolean switch but nothing change. Please find attached my program.
    Solved!
    Go to Solution.
    Attachments:
    DigOut.vi ‏18 KB

    altenbach wrote:
    Jeff Bohrer wrote:
    since you are looking at error status in the loop conditional logic I would recommend putting a second write outside the loop to garantee the write happens when exiting on error. Additionally, add an error handler after the clear task .
    Depending on what the error was, the last write might fail inside or outside the loop,   Exactly- and the most compelling reason to add an error handler
    so there is no real difference to my suggestion.  Except the user is notified of the error and that the hardware may not be in the expected state
    You would also need to clear the error before the last write outside else it would not do much anyway..Pssst it was or more correctly the write outside was not passed the error out from the loop and a merge errors is used to pass on the error information
    Jeff

  • How to include limit switches into my control loop and how to access them through Labview

    I'm developing a six degrees of freedom machine with servo motors,UMI flex6 and Labview-5.1.I was unable to access the limitswithes.So I would like to know the connections diagram,UMIflex6 board settings and the Vi's to be included in the program.please help me out in solving this problem.

    Hi Kolakanuru,
    Thanks for using our discussion forums. How you connect your limit switches depends on what type of motion board you are using. For example, if you look at the connection diagram for a PCI-7344, you can see that Forward Limit switches connect to pins 39, 45, 51, and 57. These will then pin out directly to the UMI. For the connection diagram for your particular motion control board, you can go to www.ni.com/manuals and pull up the necessary information. In regards to reading this in LabVIEW, the first thing you will want to check out is Measurement and Automation Explorer. In the interactive windows for your board, you can check the limit switch status there- Press your limit switch on and off and make sure that it changes the LED in MAX. Once that i
    s all set, then you can go into LabVIEW and use the "Read Limit Status" VI which you can find in Functions>>All Functions>>NI Measurements>>Motion>>FlexMotion>>Motion I/O palette. Good luck with your application.
    Regards
    Dan
    National Instruments

Maybe you are looking for

  • I need urgent help for the logic

    hi all, Initially, the requirement was to create PO regardless the Purchase Requisition based on the formula If (Open Qty + Current Stock) < Safety Stock ==>> THEN A PO NEEDS TO BE CREATED This is absolutely fine, this created the PO as per the above

  • INSERT or MoDIFY statement

    hi, I have to insert a data for my ztable,for 1st time it is updating the data,but for the second time (since all the key fields are same as 1st record),it is going to modify the data in my table.(since i have used modify statement),But i want both t

  • OPM Error: Integration Object Mapping Report

    I am trying to generate IO mapping report in OPM. but when i try to import data maaping XML in OPM it gives me follwoing wierd error: "Could not load file or assembly "oracle.determinations.siebel.IO, version=10.4.1,culture=neutral" here is what i di

  • Is it possible to call module component's function through interface function

    Hi,      I see this in the livedocs. "In general, if you want to set properties on controls in the module by using external values, you should create variables that are bindable. You then set the values of those variables in the interface's implement

  • Stretch Flash movie to fit web browser.

    I can't achieve doing this simple thing : I have a flash that resolution is 800*600, on small displays it's okay, but on an HD screen it looks very small. Web browser resize function is not good, it's badly stretched and runs very slowly. After searc