Two controllers controlling single motor

I have a problem in connecting two controllers with a single motor
I am using two sbRIOs from which I get a  pid output varying from 0volts to 5volts(between AO & AOGND of same board)
I want to give this output to a fan whose speed is under control through a BNC  cable
how can I switch the output from one controller to the other in order  to drive my motor without manually changing the terminals....

Hi Stephen,
Thanks ever so much for getting back to me about this. Sorry that it's taken me a little while to reply.
Basically the idea of my project is to produce a particle detector capable of detecting the direction of a radiation source.  The aim is to mount a 'scintillator crystal' within a PVC container so that it can be rotated by the motor.  The scintillator is a material that produces light particles when exposed to radiation.  The theory is that as the crystal rotates the depth of the crystal, relative to the radiation source, will change.  This, in turn, will alter the quantity of light photons produced and this will be measured by a photomultiplier tube which will detect and count the light photons and convert them to a current.  My intention is to convert this signal to a digital output that can be returned to the computer and logged, ideally within Labview. 
The data should be quick to recover so I don't need to leave a long delay between movements, neither do I need the crystal to move quickly.  I just need to  know it's position at any particular time.  I was hoping to initially reach a situation where the motor can be controlled.  This would allow me to complete the project and log the data manually if necessary, and then alter the program later to provide a data logging function. 
Thanks again for all of your help
George

Similar Messages

  • Identifying single motor units from EMG data

    I need to identify single motor units from EMG data and have been unable to find anything on the NI web site that could help. I have identified a third party program, Spike 2 from Cambridge Electronic Design (CED), that is able to do the job however I have already go a large investment in NI hardware and software and do not want to have to buy all the CED hardware. I was wondering if anyone knew if it were possible to control the spike 2 program from inside LabVIEW (in close to real time), or if there was a LabVIEW based solution that I have been unable to find.

    Sorry for the confusion.
    This post is regarding template matching/detection of events from a nosy analogue signal. It is a medical application, not a motor/servo application. The term �motor unit� refers to the action potentials found in electrical recordings taken from muscles (EMG). By identifying the occurrence of these events we can determine properties of the nerves controlling these muscles. However identifying these events is very difficult as the recorded signals are noisy and the shapes of these units change over time. Many researchers have attempted to design computer-based solutions to this problem but is has only been with recent improvements in computer power that a solely software based solution for real time pattern matching has been possibl
    e. Although this application is specific to medical research (and electrical recordings of nervous system activity in particular) the number of research laboratories around the world attempting to perform such analysis is large enough that I though a LabVIEW base solution may exist.
    Barring a LabVIEW based solution I was wondering if anyone knew if it were possible for the data to be acquired in LabVIEW then directed to Spike2 (the most common program used for this application) in almost real-time. I know I can record data in LabVIEW and save it as a text file then open it up in Spike2 but I do not know if I can stream the data into Spike2 online. Online processing of the data is necessary to determine the progress of the experiments.

  • Questions on handling two table controls on one screen.

    Can some people  please share some technology  tips on handling two table controls on one screen . 
    Thanks
    Moderator message - You'll find some cool tips if you search the forum or use Google first - post locked
    Edited by: Rob Burbank on Dec 7, 2009 11:20 AM

    hi
    other Table is in Disable mode.
    check that u have unticked the READ ONLY property of ur UI
    also check if u have binded the ENABLE property of ur table UI to WDY_BOOLEAN in some method
    and u r setting it to 'X'
    in the OnToggle event of ur Checkbox , set this attribute to 'X to make the checkbox ticked
    in the OnToggle event of ur Checkbox , set this attribute to ' ' to make the checkbox un ticked
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   set single attribute
        lo_el_cn_node->set_attribute(
          EXPORTING
            name =  `CA_ATTR`
            value = ' ' ).
    // set attribute CA_ATTR under CN_NODE to ' '
    // this will make the table UI control disabled
    // this is a code generated thru code wizard ( control +f7) , read context node/attribute
    // use SET_ATTRIBUTE method
    regards,
    amit

  • Two Data Controls, One UI

    JDev 11.1.1.6.0 BPM
    andrejusb.blogspot.com/2012_08_01_archive.html
    In the above link, andrejus has explained how to use a single UI for two human tasks.
    I have a similar use case with slightly different. I have to use the same UI with either of the two different data controls available based on some condition.
    That is, the UI components will remains same, but the data will be populated from one of the two data controls.
    Hope I have presented the use case clearly

    Adaptive Bindings (https://blogs.oracle.com/groundside/entry/towards_ultra_reusability_for_adf) should work for your use case.
    Timo

  • Two credit control are at the same sales order.

    Hello Gurus,
    I would like to know how if you can help with the following subject:
    I have two sales area:
    XXXX YY A1
    XXXX YY A2
    And for each sales area it´s assigned two credit control areas, like:
    XXXX YY A1  to credit control area A
    XXXX YY A2  to credit control area B
    Is it possible to create a sales order with these two sales area?
    We need to have credit control limit differents for sales area (customers), but also we like two have only one sales order to manage. Is it possible?
    Many thanks in advanced.
    Luiz Geraldi

    Hi Luiz,
    In sales booking screen VA01 t-code we have the following fields as necessary input.
    Order Type        
    Sales organization
    Distribution channe
    Division          
    Sales office      
    Sales group       
    All these fields need to be unique in order to save this document.
    So we can input any number of materials provided the above details are unique.
    We can have more than 1000 line items, but all these materials need to be in a single sales organization, distribution channel and division.
    As this is a standard SAP functionality, i am afraid there is no customization by which we can change this (as far i my knowledge goes)
    Hope i am right in my approach,
    correct me if i am wrong;
    Let me know if you have further concerns;
    Regards,
    Syed Nasir

  • Controlling Stepper Motor

    Hi All.
    I am pretty new to Labview, and am looking for some advice in controlling a set of two stepper motors.  I have some experience with controlling stepper motors, but previously I used Matlab to create a binary script that was read into Labview to create a motion that I desired for the two motors.  Now I am hoping to control the motors using coordinates read in from another system (not an encoder, but a completely different system).  I basically just want the motors to follow the X and Y coordinates as they are read into Labview from the other system.  Any ideas are appreciated.
    Thanks!
    Jacob

    By LabVIEW driver I'm ssuming you mean the DAQ drivers and I'm also assuming since you're using a DAQ to control the motors you don't have an actual motor controller which means you will have to write the code to perform the function of a physical motor controller.
    Since it sounds like you're starting with a pretty low-level interface, I would say the next step is to write a wrapper that lets you input a) Step Direction and b) No of Steps to make in the direction
    Then you could use that function within what will ultimately be your "motor controller" which will keep track of where the motor currently is based on previous steps, and use that to enable the use of an absolute position your high level input.

  • Powders dosing machine? Direct control of motors?

    Hi Everyone,
    I hope this was not posted below but I begin my worki with nxt and labviev and have some problem.
    I want to build a powder doser which consists of two powder feeders (driven by motors) and laboratory weight controlled by RS232.
    The aim is to be able to make precise mixtures in a way that weigh weights empty box, make tare, then one feeder adds some powder (A) weight checks how much was given- if not enough adds some more etc..etc.. then proceeds with powder 2 and make mixture ..
    The problem is that I know that I can write NXT program on labview to run NXT brick, but this would be quite complicated to use - the best way would be to take direct control over motor via NXT- so when I want motor to move few degrees it doesnt have to start program in nxt brick, just do it from LAbview program level... IS it possible ? Can I use NXT brick as a motor controller itself?
    Thanks
    Marek
    Solved!
    Go to Solution.

    Marek,
    This is possible both in the NXT Module 2009 and earlier NXT toolkits.  In 2009 you simply need to write your NXT code in a VI that is not target to the NXT (e.g. it is targeted to My Computer/Main Application Instance).  The NXT VI's know when they are targeted to the computer and automatically send Direct Commands to the NXT brick via USB or Bluetooth.  
    In earlier versions of the NXT toolkit you will have to use the NXT Direct VIs to accomplish the same task, which isn't as seamless as the new method but works just the same.  Please let us know if you have questions as to how to implement this.
    Cheers,  
    Mark
    LabVIEW R&D

  • Having problem with two Tableview controls.

    Hi all,
    I have two tableview controls in my page. TV1 has list of employees. TV2 is populated with details based on the employee selected in TV1.
    The actual problem is, in TV1 when i goto next page using navigator and select an employee in 15th row, and select a detail row from TV2, TV1 gets refreshed and goes back to row 1.
    How can i avoid this?
    Thanks & Regards,
    Lalith

    Hi,
    you can bind the attribute of the tableView selectedRow = "//model/selected_row"
    to an attribute in your model class
    that way you can always find your selection if working stateful
    grtz
    Koen

  • Have Audigy2 in Vista, why are there two volume control icons in system tr

    Hi,
    I'm running an Audigy2 on a Windows Vista system. There are two volume control icons in the system tray. One is the Soundblaster control, the other is the Windows control.
    Are these two programs supposed to be running at the same time? Do they conflict with one another?
    Thanks for your time,
    Big Al Mintaka

    Hi pgaastra.  I don't know why there are two items in the task bar, but you have identified the
    recommended fix.  The why never bothered me enough to investigate, so maybe we will both
    find out now.
    Matt
    Message Edited by Matthew Williams on 04-16-2008 08:49 PM

  • My iPhone is mixing up the two volume controls

    Hello,
    I have an iPhone 3G, and recently it started to mix up the two volume controls for ringtone and sound effects very often when I launch an application, especially for games. Normally when I launch an app like a game, the volume control would automatically switch to the one that controls sound effects as soon as the game is finished loading, and it is that one that controls the game sound effects/music; however, now lots of my games use the ringtone volume instead, resulting in sudden and extremely loud sounds (since I always keep ringtone volume to maximum) that are not controllable even if I adjust the ringtone bar, forcing me to mute the iPhone altogether. Does anyone know what's wrong and how to fix this? Restarting did not work.

    No one ever had this problem before or know how to fix it? o.x

  • Drag and Drop between the Two Tree controls

    Hi all,
    I am Flex newbie. Can anyone please send me the drag and drop
    example between the Two Tree controls.
    Thank you
    -Nagaraju

    "ndendukuri" <[email protected]> wrote in
    message
    news:gdnbtt$7tt$[email protected]..
    > Hi all,
    >
    > I am Flex newbie. Can anyone please send me the drag and
    drop example
    > between the Two Tree controls.
    >
    http://flexdiary.blogspot.com/2008/07/getting-help-in-flex-builder.html

  • Measuring power at two different point (single phase)

    Hi all,
    I am new user of LabVIEW 2013 with electrical power suite.
    May i know how to measure two different point of single phase system using the same VI such as in DAQ power and energy example?
    As I notice that there are several type of wiring available. Is only one voltage and one current availabe during 1 ph voltage and 1 current selection. Thus, when I select 3ph voltage and 2 current, the value I obtain is not seem to be true.
    From the figure attached, I want to measure the voltage at current at the solar/PV  to obtain the power value. Other than that, I also need to measure the voltage and current at the load such as water heater. This is a single phase configuration network.
    (2 voltage and 2 current measurement at single phase)
    Hope for guidance.

    Hi Lewis,
    Here attached the file.
    Actually I wanted to measure power two different point in a single phase system as shown in the first attachement.
    Since, there is example in power quality measurement(DAQ) as shown in the second attachment.
    since there is two measuring point in my measurement. May i know how to obtain two measurement voltage at the same time in DAQ?
    Hope for guidance.
    Attachments:
    Two measuremernt point (single phase).png ‏7 KB
    power & energy measurement.jpg ‏172 KB

  • Run two Database in single server

    Hi...
    I want to run two database into single server. For that I had created one another database.
    But now I am not able to connect with two database at the same time.
    When I am going to connect to another database i have to shutdown the first one.
    Is it possible to connect and work on two database at the same time?
    Thanks
    pratik

    You should have a good enough to have two or more instances running on the same machine.
    The performance of a single instnace will always be better compared to having two or more instances on the same machine.
    Is it possible to connect and work on two database at the same time?Yes
    Here is an example
    $ ps -ef |grep pmon
    ora101AS 548928 1 0 Aug 06 - 0:31 ora_pmon_orcl
    ora102DB 552974 1 0 Aug 06 - 0:36 ora_pmon_TEST
    ora102DB 1380412 1 0 00:58:49 - 0:04 ora_pmon_LIVE
    testuser 1613946 1691868 0 10:46:11 pts/2 0:00 grep pmon
    Single machine having multiple instances
    $ ps -ef |grep pmon
    ora102DB 4086 1 0 Aug 06 - 1:39 ora_pmon_LIVE10
    testuser 32848 31172 0 10:46:24 pts/0 0:00 grep pmon
    Single machine having a single instance
    The second machine performance is much better compared to the first machine that has mutiple instances.
    Normally CREATE DATABASE is used by advance users while DBCA is relatively easy to use.
    Adith

  • How do you control the motor in the continuous mode ?

    I use the NI 7334, I would like to create the program to control the motor in the continuous mode. please help me.
    Thank you very mich.

    Hellow water2006,
    Thank you for using our discussion forums.  In regards to continuous mode, are you referring to a constant velocity motion?  There are several examples on our website which will give you a good start on setting this up.  In particular the "Constant Velocity Move" example which is found at http://zone.ni.com/devzone/cda/epd/p/id/1206
    I hope this helps.
    Regards,
    Vu D
    Applications Engineer

  • Is it possible to create a sales order in two credit control area

    Hi,experts,
          I have a senario to realize. One customer has two sales area, and has two credit control area correspondingly. And this customer also has one common shared credit control area. I want to realize that one sales order would occupy two credit control area.
          common credit control area limit :  300
           credit control area A limit : 500
           credit control area B limit : 500
    Now I have a sales order for this customer, net value is 400, the sales order will be blocked. Although it does not supass the credit control area A, but supass the common credit control area limit
    How to realize this senario?
    Thanks.

    wayne,
    Sales order has one credit control area, check VBAK-KKBER
    Therefore order should be checked against this CCA.
    TW

Maybe you are looking for