How many motors are connected?

Hello,
I am using two similar experimental set-ups with two motion controllers MID 7604/7602. The only difference between the set-ups is that there are 2 motors connected to one controller and 3 motors connected to the other controller. I would like to have the same software for both set-ups that could recognize whether 2 or 3 motors connected to the controller. Is there any way for me to find out using LabView programs how many motors are connected to the motion controller?
Thank you very much.
Evgueni.

Hi Evgueni,
there is no direct way for the controller to detect if a motor is
present or not, but depending on your system setup there might be some
options:
If you are using a closed loop system (with encoders), you could
do a short test move. If the encoder position changes accordingly you
know that the motor is present.
If you are using limit switches (forward and reverse), you should
make sure to use switches that are normally closed. If you configure
the limit switch inputs correctly, the board should report "both limit
switches are active", if no limit switch is connected. This should
indicate, that no motor is connected, too.
If there are no encoders and no limit switches, you could use a limit switch connector that shorts the limit inputs to GND on the 760x and make it mandatory to use this connector for all axes, that should be active.
If none of the above methods work for you, you should think of a configuration dialog for your software and ask the user how many axes he wants to use.
There might be some more options but in general you will have to identify a signal that changes it's state depending if an axis is connected or not.
I hope this helps,
Jochen Klier
National Instruments

Similar Messages

  • Find how many users are connected in the Oracle Server

    Hi,
    I am using Oracle 10g. My question is, is it possible to find how many users are connected in the Oracle Server. We are having one Server and we are having many client machines which will connect the Oracle.
    And one more question in the meanwhile i want to take Backup of one database which client as connected. Is it get any problem to the client machine which is accessing the server. And How to take the backup from the server machine. Any commands to process.
    Thank u...!

    Hi there.
    If You run
    select count(*) from v$session where username is not null;you'll get the number of users connected to Oracle server,
    and yes , you could do backup while users are connect to db you are backing up.
    cheers

  • Can I find out how many clients are connected to a server process?

    Hi, I am hoping I can find out how many clients are connected to a server process. This could be either a programmatic lookout number, a number in a log file etc.
    By the way, does lookout have any application (not data) logs? I have noticed that occasionally lookout will crash and I cannot find any logs to determine why, what processes were running, who last accessed it etc.
    Thanks

    Hello,
    There's currently no way to acquire this data. I think that'd be a great suggestion for the product. Please submit your feedback to our developers at the following link: http://digital.ni.com/applications/psc.nsf/default?OpenForm&temp1=&node=
    Best regards,
    Yusuf C
    Application Engineer
    National Instruments

  • How to find out how many users are connected to Exchange 2013 servers in "Online" mode? This is coz, online mode causing server performance issues in our environment

    All, Any script or method to find out how many users are connected to exchange servers in online mode?
    Manju Gowda

    Hi 
    You have to get the "RPC Client Access" log file in your CAS server. There you can see a column called "client-mode" and it has two modes such
    as "classic" and "cached". From there you can get the two different client assess modes and their corresponding users.
    probably take this file openup on excel and filter to see the two modes
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • Ldap - how to check how many users are connected?

    Hi Guys,
    Please help me.
    We have iPlanet installed using LDAP. I want to check in ldap console that how many users are connected currently and monitor that.
    please tell me how can i do it
    thanks

    Hi Noor,
    Thank you for posting in Windows Server Forum.
    From your description I can understand that you want the user name with app they have in their session.
    You can achieve with below command.
    Query process User name
    Displays information about processes running on a terminal server. You can use this command to find out which programs a specific user is running, and also which users are running a specific program.
    More information:
    Query process
    http://technet.microsoft.com/en-us/library/bb490798.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • I want to check that how many users are connected to the wifi which i m using at present

    i want to check that how many users are connected to the wifi which i m using at present???

    Go to Utilities > Airport Utillity
    If you click on your router it should show you the "wireless clients" that are connected

  • How can I tell how many devices are connected my itunes account via icloud?

    How can I tell how many devices are connected my itunes account via icloud?

    I only know what it says in the article.  There it specifically says "iOS device" and it says. "You can view which devices or computers are  currently associated," and, "Next to each device or computer name, you will be able to see when each was associated to your Apple ID."  However, this is all in the context of, "When you turn on iTunes Match or Automatic Downloads, or when you download past purchases on an iOS device or computer, that device or computer becomes associated with your Apple ID."  I guess if somebody simply logs in it won't show.

  • Is there any way to see how many users are connected?

    I was wondering if there was a way to manage the airport express in such a way that you can see all of the current connected computers, and kick one off if need be.

    There is a MacOS utility that can be used to determine the identity (by MAC address only) of all clients connected wirelessly to a Base Station. There is no Windows version of this utility. For information about the MacOS version see:
    flatfeet, "How to see attached devices in AEBS?", 10:02pm Oct 17, 2005 CDT
    The only way you can "kick off" someone is by either implementing WEP or WPA security and a password (which you would need to distribute to all authorized users), or to implement a MAC address based access list (which requires you to enter the MAC address of the wireless interface of all authorized computers).

  • How many users are connected ?

    Hi
    what is the metric that indicates the number of users actually connected to my OAS ?
    I think it's connection.active from .../Apache/ entries but i'm not sure.
    Regards
    Den

    Hi
    Finally my choice is to select the connection.active and request.avg only for the ohs server and compare it on time.
    Result (after text corrections) is
    date;time;connection.active;request.avg
    08/22/07;19:10:03;45925;226
    08/22/07;19:20:03;45799;226
    08/22/07;19:30:03;45674;226
    08/22/07;19:40:03;45550;226
    08/22/07;19:50:03;45427;226
    08/23/07;07:00:04;46210;3
    08/23/07;07:10:03;46228;8
    is it a good way to monitoring oas activity ?
    Regards
    Den

  • How do I kow how many computers are sharing my airport?

    Is there a way to know (from my mac) how many computers are connected and when? I mean how many are using the internet connection, via airport, at a given time? Thanks.. Seba

    This might depend a bit on the configuration of your airport network.
    I just bought a TimeCapsule, and was pleased to find that using Airport Utility 5.3.2, it actually tells you how many wireless clients are connected. To find that, I selected the TC in the utility, and then selected manual setup, and on the Summary tab, right below Channel, the number of Wireless Clients is listed.
    This also seems to work the same with my older (not 802.11n) Airport Extreme base station (AEBS), but might not work with older airport devices.

  • How many users can connect to a shared drive on a non-server workstation?

    How many users can connect to a shared drive on a non-server workstation? We're waiting for our server to arrive and in the interum we're using a Pegasus 2 R6 attached to an iMac running Mavericks as our fileserver. It's been sketchy, the connection to the server being dropped once in a while or the inability to mount the drive after a week of success. The Pegasus we're using now will be attached to a server once it arrives. For now I need to figure what's coausing trouble before I commit to this being our main storage as planned. The data is backed up every night so I'm not worried, its the usability issues. 5-7 people are mounting this drive and opening/saving at the same time. Is there a limit to Maverick's fileserving ability that may be causing this? Understandable if so.

    The file server in the client version of OS X has a default limit of 10 simultaneous connections. That limit can be raised by installing OS X Server, or lowered by setting a hidden preference. Assuming you've done neither, you may be able to solve the problem temporarily by stopping and restarting file sharing in the Sharing preference pane, or permanently by setting another hidden preference on the server to break idle connections quickly.
    defaults write /Library/Preferences/com.apple.AppleFileServer idleDisconnectOnOff -bool YES
    Stop and restart file sharing. To reverse the change, run this command in the same way:
    defaults write /Library/Preferences/com.apple.AppleFileServer idleDisconnectOnOff -bool NO
    Credit for this solution to ASC member suter:
    this file server will not allow any additional users to log on

  • How many people can connect to the mail server 3

    I am looking to grow my business which consist of a growing email base with emails that need to be set up and managed.  How many emails can be hosted on the mac server?

    Hello Thomas,
    "MAXLOGMEMBERS" has nothing to do with the number of users that can connect to the instance. It is a parameter to control the number of files that can be assigned to a group of (redo) log files.
    how many people can connect at Oracle XE?Well, that depends on how they connect. There are parameters controlling the number of sessions in the database. But if you have a technical user, e.g. when using APEX, there may be more users than sessions in the database...
    So you need to clarify what kind of user access you mean.
    -Udo
    Edited by: Udo on 14.10.2011 15:19

  • Having issues finding out how many bytes are sent/recieved from a socket.

    Hello everyone.
    I've searched the forums and also google and it seems I can't find a way to figure out how many bytes are sent from a socket and then how many bytes are read in from a socket.
    My server program accepts a string (an event) and I parse that string up, gathering the relevant information and I need to send it to another server for more processing.
    Inside my server program after receiving the data ( a string) I then open another port and send it off to the other server. But I would like to know how many bytes I send from my server to the other server via the client socket.
    So at the end of the connection I can compare the lengths to make sure, I sent as many bytes as the server on the other end received.
    Here's my run() function in my server program (my server is multi threaded, so on each new client connection it spawns a new thread and does the following):
    NOTE: this line is where it sends the string to the other server:
    //sending the string version of the message object to the
                        //output server
                        out.println(msg.toString());
    //SERVER
    public class MultiThreadServer implements Runnable {
         Socket csocket;
         MultiThreadServer(Socket csocket) {
              this.csocket = csocket;
         public void run() {
              //setting up sockets
              Socket outputServ = null;
              //create a message database to store events
              MessageDB testDB = new MessageDB();
              try {
                   //setting up channel to recieve events from the omnibus server
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             csocket.getInputStream()));
                   //This socket will be used to send events to the z/OS reciever
                   //we will need a new socket each time because this is a multi-threaded
                   //server thus, the  z/OS reciever (outputServ) will need to be
                   //multi threaded to handle all the output.
                   outputServ = new Socket("localhost", 1234);
                   //Setting up channel to send data to outputserv
                   PrintWriter out = new PrintWriter(new OutputStreamWriter(outputServ
                             .getOutputStream()));
                   String input;
                   //accepting events from omnibus server and storing them
                   //in a string for later processing.
                   while ((input = in.readLine()) != null) {
                        //accepting and printing out events from omnibus server
                        //also printing out connected client information
                        System.out.println("Event from: "
                                  + csocket.getInetAddress().getHostName() + "-> "
                                  + input + "\n");
                        System.out.println("Waiting for data...");
                        //---------putting string into a message object-------------///
                        // creating a scanner to parse
                        Scanner scanner = new Scanner(input);
                        Scanner scannerPop = new Scanner(input);
                        //Creating a new message to hold information
                        Message msg = new Message();                    
                        //place Scanner object here:
                        MessageParser.printTokens(scanner);
                        MessageParser.populateMessage(scannerPop, msg, input);
                        //calculating the length of the message once its populated with data
                        int length = msg.toString().length();
                        msg.SizeOfPacket = length;
                        //Printing test message
                        System.out.println("-------PRINTING MESSAGE BEFORE INSERT IN DB------\n");
                        System.out.println(msg.toString());
                        System.out.println("----------END PRINT----------\n");
                        //adding message to database
                        testDB.add(msg);
                        System.out.println("-------Accessing data from Map----\n");
                        testDB.print();
                        //---------------End of putting string into a message object----//
                        //sending the string version of the message object to the
                        //output server
                        out.println(msg.toString());
                        System.out.println("Waiting for data...");
                        out.flush();
                   //cleaning up
                   System.out.println("Connection closed by client.");
                   in.close();
                   out.close();
                   outputServ.close();
                   csocket.close();
              catch (SocketException e) {
                   System.err.println("Socket error: " + e);
              catch (UnknownHostException e) {
                   System.out.println("Unknown host: " + e);
              } catch (IOException e) {
                   System.out.println("IOException: " + e);
    }Heres the other server that is accepting the string:
    public class MultiThreadServer implements Runnable {
         Socket csocket;
         MultiThreadServer(Socket csocket) {
              this.csocket = csocket;
         public void run() {
              try {
                   //setting up channel to recieve events from the parser server
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             csocket.getInputStream()));
                   String input;
                   while ((input = in.readLine()) != null) {
                        //accepting and printing out events from omnibus server
                        //also printing out connected client information
                        System.out.println("Event from: "
                                  + csocket.getInetAddress().getHostName() + "-> "
                                  + input + "\n");
    System.out.println("Lenght of the string was: " + input.length());
                        System.out.println("Waiting for data...");
                   //cleaning up
                   System.out.println("Connection closed by client.");
                   in.close();
                   csocket.close();
              } catch (IOException e) {
                   System.out.println(e);
                   e.printStackTrace();
    }Here's an example of the program works right now:
    Someone sends me a string such as this:
    Enter port to run server on:
    5656
    Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=5656]
    Waiting for client connection...
    Socket[addr=/127.0.0.1,port=4919,localport=5656] connected.
    hostname: localhost
    Ip address: 127.0.0.1:5656
    Waiting for data...
    Event from: localhost-> UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1",424,"9.27.132.139","","Omnibus","Precision Monitor Probe","Precision Monitor","@busch2.raleigh.ibm.com->NmosPingFail",5,"Ping fail for 9.27.132.139: ICMP reply timed out",07/05/07 12:29:12,07/03/07 18:02:31,07/05/07 12:29:09,07/05/07 12:29:09,0,1,194,8000,0,"",65534,0,0,0,"NmosPingFail",0,0,0,"","",0,0,"",0,"0",120,1,"9.27.132.139","","","","dyn9027132107.raleigh.ibm.com","","","",0,0,"","","NCOMS",424,""
    Now my program makes it all nice and filters out the junk and resends the new string to the other server running here:
    Enter port to run server on:
    1234
    Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=1234]
    Waiting for client connection...
    Socket[addr=/127.0.0.1,port=4920,localport=1234] connected.
    Parser client connected.
    hostname: localhost
    Ip address: 127.0.0.1:1234
    Event from: localhost-> PacketType: UPDATE , SizeOfPacket: 577 , PacketID: 1, Identifer: UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1" , Serial: 424 , Node: "9.27.132.139" , NodeAlias: "" , Manager: "Omnibus" , Agent: "Precision Monitor Probe" , AlertGroup: "Precision Monitor" , AlertKey: "@busch2.raleigh.ibm.com->NmosPingFail" , Severity: 5 , Summary: "Ping fail for 9.27.132.139: ICMP reply timed out",StateChange: 07/05/07 12:29:12 , FirstOccurance: 07/03/07 18:02:31 , LastOccurance: 07/05/07 12:29:09 , InternalLast: 07/05/07 12:29:09 , EventId: "NmosPingFail" , LocalNodeAlias: "9.27.132.139"
    Lenght of the string was: 579
    The length of the final string I sent is 577 by using the string.length() function, but when I re-read the length after the send 2 more bytes got added, and now the length is 579.
    I tested it for several cases and in all cases its adding 2 extra bytes.
    Anyways, I think this is a bad solution to my problem but is the only one I could think of.
    Any help would be great!

    (a) You are counting characters, not bytes, and you aren't counting the line terminators that are appended by println() and removed by readLine().
    (b) You don't need to do any of this. TCP doesn't lose data. If the receiver manages get as far as reading the line terminator when reading a line, the line will be complete. Otherwise it will get an exception.
    (c) You are assuming that the original input and the result of message.toString() after constructing a Message from 'input' are the same but there is no evidence to this effect in the code you've posted. Clearly this assumption is what is at fault.
    (d) If you really want to count bytes, write yourself a FilterInputStream and a FilterOutputStream and wrap them around the socket streams before decorating them with the readers you are using. Have these classes count the bytes going past.
    (e) Don't use PrintWriter or PrintStream on socket streams unless you like exceptions being ignored. Judging by your desire to count characters, you shouldn't like this at all. Use BufferedWriter's methods to write strings and line terminators.

  • How many computers are using my sync data

    I would like to know how many devices are utilizing my sync data.
    this seems like it should be in my sync management console online, but it is not.
    my paranoid brain sees a worst case scenario.. someone hacks my machine and somehow gets my sync key or was able to get a code generated to sync the data.
    is there a way to find out what devises are accessing my data ?
    thank you

    Unfortunately there's no easy way to do it, but there's a way to do it (and it's not obvious):
    Go to your Options/Preferences window and select the Sync tab.
    - From the "Manage account" drop-down, select "Reset Sync". (we are not going to Reset it...but is the way to go)
    - Select "Replace all other computers"
    - Press next and you will see the list of devices that are connected to the account.
    After that, close the window (unless you want to complete the process).
    I hope it helps.

  • MAXLOGMEMBERS: How many people can connect at the same time?

    Hello,
    how many people can connect at Oracle XE?
    When I put 32 to MAXLOGMEMBERS,
    oracle xe refuse!
    I can put 5 into MAXLOGMEMBERS.
    I dont understand
    THOMAS Patrice

    Hello Thomas,
    "MAXLOGMEMBERS" has nothing to do with the number of users that can connect to the instance. It is a parameter to control the number of files that can be assigned to a group of (redo) log files.
    how many people can connect at Oracle XE?Well, that depends on how they connect. There are parameters controlling the number of sessions in the database. But if you have a technical user, e.g. when using APEX, there may be more users than sessions in the database...
    So you need to clarify what kind of user access you mean.
    -Udo
    Edited by: Udo on 14.10.2011 15:19

Maybe you are looking for

  • How to create different log files for each of web applications deployed in OC4J

    Hi All, I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know 1. how to create different log files for each of my deployed web applications ? 2. what are the advantages in running multiple instances of oc4j and in what case we sho

  • How can I copy my folders or files in my Ipad?

    I'm a biginner. How can I copy on my iPad some windows files or folder?

  • ITunes songs not playing

    Hello, A few songs that I downloaded from iTunes are not showing up in my iTunes library. They are located on my desktop and when I try to play them, iTunes opens but nothing happens (the songs do not appear). When I try to play the songs using windo

  • View of Txn MM02

    Hello all, I wanted to change the view of BasicData1 in MM02 .Under Basicdata1 tab in  Dimensions/EANS I want fields  length , height and width of the material , is it possible to change the screen ..if so how ? Regards Edited by: BrightSide on Jun 9

  • E 6 Personal Mail setup -- please help

    Hello E6 experts, can you please help me with the steps involved in setting up personal mailboxes in the E6? It's been asked before here... Every time I begin using the mail setup "wizard" I only reach the option for Mail for Exchange. How can one by