How to read out a RPM signal in labview using UMI 7764 and PCI 7330

Hi
I have a problem getting a encoder signal into a labview program. The encoder is connected to a UMI 7764 motion device. This device is connected to a PC trough a PCI 7330. I heard rumors that I can't have more than two axis on a PCI 7330. But can I have more than 2 encoders on it?
The big problem is that I am new to the motion system and I don't know where to begin.
I'm going to finish a uncompleted system, but when I look at the VI, I get nervous. So you are my last hope.
I have taken screen captures of the VI and uploaded it.
My task is to implement a new encoder signal to the already-made VI.
Question is:
How do I add and read out a RPM signal from a new encoder?
VI download:
http://www.mediafire.com/?k1ckbozeppffv1z
Best regards
Henrik Myhre

From your post it seems like you wants to read back the RPM value of a particular move based on your encoder. There actually is a specific VI that you can use that does exactly this. The Read Velocity in RPM.VI should output the RPM of the current move that you are doing.
In the code that you posted, it looks like you are performing a two axis move. Therefore you will need two instances of this VI, one for each axis. You should utilize these VIs within the while loop and after the move has been started that way the RPM values are continuously updated.
It also seems like you have inherited some code that looks very complicated. We would highly recommend that the you begins experimenting with basic motion to get familiar with it.

Similar Messages

  • Read out from OBD-II Freematic Emulator using ELM327 with USB and LabView

    Hello. I have an Freematic OBD-II mk2 emulator which simulates diagnostics of a real car. I have connected an ELM327 diagnostic device with USB cable to the emulator and a PC. The connection between emulator, diagnostic device and computer works. Now I need to read out parameters in LabView. How do I do it? I tried to use the NI VISA functions, but didn't manage to read out anything sensible. How can I for example read out Engine RPM? Do you have some example code?
    I want to avoid using Automotive Diagnostic Command Set, because it's to expensive for me. 

    Oh yes, I didn't realize what this hardware does.  Some beginners think that a DB9 is a standard interface for a CAN bus, and when they see the DB9 serial port on their computer they think they can just use that.  I was worried this was what you were attempting.
    So yes VISA is the right way to go.  Once you have this device installed and recognized in Windows it should appear as a COM port.  You can open the Windows Device Manager and by plugging and unplugging your device you should see a COM port appear and disappear.  
    Assuming you do launch LabVIEW and go to the example finder and search for Simple Serial.  This is an example VI that can send serial data to a COM port, wait, then read the response.  It can basically work like hyperterminal.  Assuming there are no already made LabVIEW drivers (I haven't seen any) this will be a good place to start.  Using documentation on your hardware you can start to come up with commands to do things like read and write CAN data, by sending the appropriate commands to the hardware over serial.
    http://www.elmelectronics.com/obdic.html
    Depending on what you want to do it might be a decent amount of work.  Of course if you do get anything good and working feel free to post your progress here so others can benefit.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How to find out which sequence a certain column used?

    you konw column C in table T is created by a sequence.
    How to find out which sequence column C is using?

    In the meantime I think it ought to becompulsory to
    only assign sequence values in triggers.
    Why? I can see no good reason for this. I think it's a good idea to have stuff like this
    coded in only one placeI don't like your argument for compulsory using triggers for sequences for exactly the same reason as you, ie that I like to keep my code in one place. If I'm reading some pl/sql code which uses a sequence I like to see the fact that the sequence is used in the pl/sql code, rather than to check to see if theres a trigger on the table and then see which sequence that uses.
    "naming conventions can work, provided they're enforced. Alas, like other standards, they can only be enforced by active policing".
    Thats what code reviews are.
    " there is also the special case of one sequence populating more than one table...."
    This is My Pet hate. I don't think there's ever a case where this is absolutely necessary. Again code reviews
    Unfortunately I have to live with a system which does this.
    and I appreciate we can't all have code reviews, etc.

  • Living in apartment, here it has only wireless (no wired cable in the room). I've  an airport express (new ) so how can I do for extending signal (wireless) for using in myroom

    Living in an apartment, here it has only wireless (no wired cable in the room) signal using for the internet connection. I've  an airport express (new) ,so how can I do for extending signal (wireless) for using in myroom. because the wireless signal is so weak.

    Unfortunately, you won't be able to. In order to do so, you would have to configure both the AirPort Express and the other wireless router for a WDS. Since it will unlikely that the other router is another AirPort, nor will you have the ability to administer it, you won't be able to get this accomplished.

  • How to find out the script for the table using SQL

    Hi,
    Could any one tell me that how to find out the script for the table using SQL.
    Thanks,
    kamal

    Kamal,
    You can find the SQL query in Advanced tab of Answers
    Thanks,
    Balaa...

  • What is the best out door antenna /signal booster to use with Apple Airports?

    I am installing a network at a bed and breakfast that has a cottage that needs wifi. Its a little to far for an airport express. Plus, the owner wants to have wifi available on the grounds of the inn.What is the best out door antenna /signal booster to use with Apple Airports?

    I would recommend that you take a look at antenna solutions provided by QuickerTek. They now have several for the 802.11ac AirPorts.

  • How to find out when data was deleted from table in oracle and Who deleted that

    HI Experts,
    Help me for below query:
    how to find out when data was deleted from table in oracle and Who deleted that ?
    I did that to fidn out some data from dba_tab_modifications, but I m not sure that what timestamp shows, wether it shows for update,insert or delete time ?
    SQL> select TABLE_OWNER,TABLE_NAME,INSERTS,UPDATES,DELETES,TIMESTAMP,DROP_SEGMENTS,TRUNCATED from dba_tab_modifications where TABLE_NAME='F9001';
    TABLE_OWNER                    TABLE_NAME                        INSERTS    UPDATES    DELETES     TIMESTAMP         DROP_SEGMENTS TRU
    PRODCTL                        F9001                                                     1683         46       2171            11-12-13 18:23:39             0                   NO
    Audit is enable in my enviroment?
    customer is facing the issue and data missing in the table and I told him that yes there is a delete at 11-12-13 18:23:39 in table after seeing the DELETS column and timestamp in dba_tab_modifications, but not sure I am right or not
    SQL> show parameter audit
    NAME                                 TYPE        VALUE
    audit_file_dest                      string      /oracle/admin/pbowe/adump
    audit_sys_operations                 boolean     TRUE
    audit_syslog_level                   string
    audit_trail                          string      DB, EXTENDED
    please help
    Thanks
    Sam

    LOGMiner --> Using LogMiner to Analyze Redo Log Files
    AUDIT --> Configuring and Administering Auditing

  • How to read the content of ms-word file use pure java???

    how to read the content of ms-word file use pure java???

    hi,
    check this: http://jakarta.apache.org/poi/

  • How to Read Variable Values in WAD 7.0 Using JavaScript

    I found a how to: How to Read Variable Values in WAD 7.0 Using JavaScript on SDN.
    I get a Javascript error:
    bics.getElementsByTagName is not a function
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    Thats my script:
    function currency()
    var varnm = "SFS_CP_CURR"; // Name of the variable to be read
    root = document.childNodes[0]; // <HTML>
    body = root.getElementsByTagName("BODY")[0]; // <BODY>
    xml = body.getElementsByTagName("XML")[0]; // <XML>
    bics = xml.childNodes[0]; // <BICS_VIEW>
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    varl = vars.getElementsByTagName("VARIABLE"); // gives no. of variable in DP
    for ( i = 0; i <= varl.length; i++ ) // Loop one by one
    vari = vars.getElementsByTagName("VARIABLE")<i>;
    varnam = vari.attributes[0].text; // get variable name
    mem = vari.getElementsByTagName("MEMBER")[0];
    varval = mem.attributes.getNamedItem("name").value; // read variable value
    if (varnam == varnm) //check varname in loop needs to be read
    if (varval == "ZMON") // check for value1 and fire command1
    SFS_CP_M();
    if (varval == "ZKON") // check for value2 and fire command2
    SFS_CP_K();
    break;
    Where's the mistake?

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • HT4623 How do I update to IOS 7.0.2 using my computer and Itunes?  I have upated to V 11.1. and have my Iphone attached to tower but I am unable to install.  "Download and Install" is still grayed out.

    How do I update to IOS 7.0.2 using my computer and Itunes?  I have upated to V 11.1. and have my Iphone attached to tower but I am unable to install.  "Download and Install" is still grayed out.

    This is a concern amoung many corporate users.  It's going to take somekind of policy change with apple.
    Enterprise support:
    Call enterprise support  (866) 752-7753  to create  a case ID number

  • HT3986 how to find out serial no. of imac while using windows 7

    how to find out serial no. of imac while using windows 7

    In Windows open up the Command Prompt and type the following:
    c:> wmic bios get serialnumber

  • I bought an iphone 4 used. I installed ios7 before I realized that the previous owners e mail and password are still in the phone. How can I remove this so that I can use the cloud and "find my phone " features?l an

    I bought a used iphone. I installed ios 7 before I realized that the previous owner's email and password are still in the phone. How can I remove them so that I can use the icloud and "find my phone" feature?

    Thanks so much! It will be kinda weird to contact the person directly, but I guess I will give it a try. Is there anything that I can refer her to in this discussion to let her know I am legit, and not a creeper? Also, I don't know if you can answer this or not. When I plug my phone into itunes, and it says that it is backing up, does that mean that it is going into the other person's cloud, since I cannot access it?

  • How can I set up a guest WiFi network using Time Capsule and Airport Express extension?

    How can I set up a guest WiFi network using Time Capsule and Airport Express extension?

    Sorry, but it is not possible to "extend" the Guest Network using either wireless or an Ethernet connection.

  • 12VDC for Limit and Home Signals for PCI 7334 using UMI-7764

    Can 12VDC be used for Limit and Home Signals for PCI 7334 using UMI-7764.
    Can the UMI 7764 be damaged if over voltage is supplied to it. If so can it be repaired or it has to replaced.

    Specifications for the Limit Switchs (home, forward, reverse, etc) is
    determined by the specifications of your NI motion controller PCI
    board. The UMI functions only as a pass through and breakout for the
    board .
    The valid limit swich voltage for the PCI-7334 is 0 - 5 V. You will have to divide down a 12 V input before running it to
    the UMI and to your board. The 3.3k pull up resistor is only used to
    pull floating voltages to TTL levels and does not protect for high
    voltage signals.
    Please note that the UMI-7774 provides optical isolation for limit switches and extended input levels (e. g. limit switch voltages: On = 3.5 to 30 V, Off = 0 to 2 V).
    Best regards,
    Jochen Klier
    National Instruments Germany

  • My power button doesnt work, jammed. How can i reset my phone if i cant use power button and home key to reset?

    my power button doesnt work, jammed. How can i reset my phone if i cant use power button and home key to reset?

    snystrom wrote:
    my power button doesnt work, jammed.
    Is this an iPhone 5?
    If so, see this -> iPhone 5 Sleep/Wake Button Replacement Program

Maybe you are looking for

  • Hi Sanjeev : Validating PO during the creation of Sales Orders

    Hi Sanjeev, Thank you very much for helping me out in this problem.Still I haven't got the solution. I tested the above mentioned configuration option by putting the Check Purchase Order Number field to 'A' in the transaction VOV8. But while creating

  • Restoring a time machine from an old hard drive

    I recently had a HD failure in my macbook pro.  I sent it back to mac and they put in a fresh new hard drive, i'm trying to use a time machine back up from before the hard drive died but when i go into time machine i can't get the backups to load.  I

  • Use of "setfld" in ddt in 11.4

    My company upgraded to 11.4 from 11.1. We use "setfld" in our DDTs, but it no longer populates the fields. It is my understanding that the syntax was incorrect, but 11.1 was forgiving and 11.4 is not. Here is an example: If;A={!/XMLInput/LineOfBusine

  • REP-0159 when run_product from oracle database

    Hi, I can`t open report from oracle database. I have this products (Windows NT 4): Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production With the Partitioning option JServer Release 8.1.7.0.0 - Production Report Builder 6.0.8.8.3 ORACLE Server R

  • Stop re printing of delivery note

    Hi All, My requirement is to stop re printing of delivery note after it is processed once and printed. The NAST-STAT field is not changing to any value except 0. i am not able to figure out what change it requires. guidance needed. thanx.