Is there a way to determine exactly where a breakpoint?

Hello all: I can't get my head around this problem I have, so I hope that someone here is facing something like this and has a tip for me.

I have a PXI-7354 I use for the control of gear to a rotating floor that has an encoder of lpr 8000 and a 10:1 reduction, so I 80 000 lpr effectively.

I use the 7354 to generate a pulse of breakpoint each 100 encoder account, so I should get 800 pulses per revolution.  (I use breakpoint impulses to trigger a second device and aPXIe-5122 acquisition card data to synchronize the production and acquisition of a data record.)

However, and here is the problem:

When I turn at 1 lap, I see 799 impulses

When I turn at 2 laps, I see impulses of 1598

When I turn to 3 rounds, I see impulses of 2397

etc.

I'm losing 1 pulse per turn. I did not understand this yet, because I use the periodic breakpoints with a whole number of breakpoints as a period.

The problem is that I have to "count" the number of pulses of breakpoint I receive in order to calculate the angular position, where the breakpoint occurs.  By example, if I start at 0 degrees, and I have 0.45 degree spacing between breakpoints, after 10 pulses, I should be at 4.05 degrees.  After 100 impulses, I should be at 44.55 degrees.

As Miss an indictment by rev, however my derived angular position is incorrect.

I need a way to determine the actual each breakpoint location.  The most obvious way to do this is to use the functionality of capture of HS of the Board of Directors, and I was able to share (yet) the pulse of breakpoint at the entrance to Capture HS on motion capture HS to map, but is possible to do internally on the 7354?

Thank you to look at it, any help is appreciated.

Wes

The problem is solved, but the solution wasn't crazy direct, so I'll write my lessons leared here:

Short version:

I was looking for a way to make a Capture of HS at the same time that the generation of BP.  It is redundant since the ERA really only occur anywhere where tell you them to occur.

Between the development of the servo-drive and parameters of BP in MAX, we were generating less need BP pulse at the end of the movement.  Once the disk has been defined so that the excess is less than the readjusted BP 'window', the BSP has started to behave perfectly.

The disc has been adjusted so that it is just this side of "excessive".  I then called the amount of overtaking I see normally, and in the settings 'Compare and beneficiaries' MAX for my 7350, I put breakpoints Position 'Window' to a value that was comfortably longer than this overrun.

Thus, the lesson learned: make sure that the servo system is set (not only at the output stage), and the configuration of BP is appropriate to your system.

Moreover, the credit goes to Daniel to NI AE who helped me through this problem.  THANKS DANIEL!

Tags: NI Hardware

Similar Questions

  • Is there a way to determine if an application is 32-bit or 64-bit?

    Is there a way to determine if an application is 32-bit or 64-bit? To be more precise, I want to be able to determine if a 32-bit application is emulated under WOW64. I am using the function call library and selecting IsWOW64Process in Kernel32.dll file, but I can't seem to make it work. I think I can be implemented to false. I use a builder nodes and invoke for the process and after you call GetProcesses in the invoke node, I send you in a loop to inspect each process separately. Inside the loop is where I am using the function call library. What I read IsWOW64Process has a handle as a starter and a pointer to a Boolean value as output. I may be incorrect in what I saw several varieties of this appeal on the internet. I tried to set this up, but I can't seem to make it work. I'm looking for help on how to correctly use the library call or if someone knows a better way to do it, I'm open to suggestions. Thanks for any help.

    Thanks for the tips of Josh. The link that you sent me was, in fact, where I got the idea of what I'm trying to do. I figured out how to determine if an application is emulated this morning after further research and trial and error. I finally understand mine, but I appreciate all those who have tried to help.

  • Is there a way to determine the representation of a digital control through the property?

    All,

    It is perhaps a silly question.  Is there a way to determine the representation of a digital control of its reference?  For example, U8 vs DBL. I want to fill in the data of a file to a vi and then run it.  I can't seam to find the property that I need.

    Thank you

    Rich

    Hi rich,

    You should find this property where all others are found

  • Manual large editions with sensitive html setting. Is there a way to determine how the entries appear in the table of contents?

    I publish major textbooks with sensitive html setting. Is there a way to determine how the entries appear in the table of contents? If I publish a small section of the manual then 2nd level entries appear as eruptions under the chapter name, but if I publish the manual in its entirety then level 2 headings are not at all. I would like them to appear as the eruptions in the table of contents, but I need to publish the manual as a whole in order to keep the cross references. Any help will be greatly appreciated!

    I think that this would make clearer - and it would skip and tables of contents of books under.

  • Is there a way to determine the pixel size of type displayed in the browser?

    I'm always struggling with is type of line break, as I see it in Dreamweaver.

    "Actual size" in Safari, the type is bigger that I see it in Dreamweaver. I determined that 12px is the proper size, while work in Dreamweaver, but when I find the text online, it is much larger and line breaks do not fall where the author wants well to them.

    Here is the page in question:

    http://www.kgngroup.NET/logos_and_packaging.html

    I guess I'm wondering first, if there is a "sizeometer" that allows to identify real type pixel size as it appears, I can't say how much more it is actually what I am trying to build.

    TIA,

    Ken

    You can download a very popular plugin for Firefox called "Firebug". With this tool, you can inspect the items and view CSS properties on each. On the right side of Firebug, there is a tab for the values calculated , which will show you exactly what you are looking for, the extent of px of the text in question.

    That said, trying to nail line breaks in an HTML document is like nailing jelly to a wall. Users can (and do) change their font size in their browsers. You should address web design so that it accommodates various screen sizes, sizes of police and browsers. What you offer to your customer is literally impossible how you are trying to do.

  • Is there a way to determine the equivalent ANSI C code of a Labview project?

    I'm a complete newbie to Labview.  I have this quite complex Labview project that was used to create a DLL that matlab may call to order my card PCI-6534 without having to know NIDAQmx calls.

    I am trying to find how to make these calls directly from Matlab NIDAQmx, but I do not get the same results when I call this DLL mentioned above, so I thought I would try to give a sense Labview projects live I begins to make sense of the general economy of the screw, but I would like to be able to run the project , step through it and perhaps see NIDAQmx orders (or something equivalent, so I can determine how to call NIDAQmx commands in Matlab).

    Is this possible to do?

    Thank you

    Jason

    Yes. The toolbar allows you to turn on highlighting so that you can run the VI and see the content of the son. You can put sensors on the wires. You can single-step through the code. This is explained in the help of LabVIEW under Fundamantals-> running and debugging screw-> Concepts-> Debugging Techniques.

    In what the question implied in the title of your message, don't you can directly convert LabVIEW C code in the development environment. Yes, there are tools to convert LabVIEW in C, but which is intended for microprocessors.

  • Is there a way to determine if a camera IMAQdx session is still valid or not?

    If it is valid, IMAQdx Open Camera.vi will return an error.

    If it is not valid, IMAQdx Close Camera.vi will return an error.  And IMAQdx close Camera.vi is very slow during the in camera session is invalid.

    I mean IMAQdx Camera.vi open have not yet been called, or IMAQdx Camera.vi Close has been called.

    Although there is no node property for this purpose, other properties, such as the name of provider of camera, are acceptable workaround solutions.

  • Is there a way to determine the current amount of data collected using CounterReader and AsyncCallback?

    I collect a quadrupole encoder using CounterReader and AsyncCallback.  At any time, I would like to know how much value is currently stored/collected before receiving the AsyncCallback and calling EndReadMultiSampleDouble.

    Hi MYR.

    If I understand what you're asking, you should try the DaqStream.AvailableSamplesPerChannel property:

    If you perform a task of counter entry in the buffer, then this property can be used to query the number of samples available in the input buffer that have not yet been read in the application memory.

    Best regards

    John

  • Is there a way to find if PK was created with the index or alter + change?

    Is there a way to determine if a primary key (PK) was created by one or the other method:

    Method 1:
    ALTER table add constraint tab1_pk primary key (pk) tab1;

    Method2:
    create an index only tab2_pk on tab2 (pk);
    ALTER table add constraint tab2_pk primary key (pk) tab2.

    When you remove or disable the PK, then in method 1 the corresponding index is also removed, but in method 2 the index is not deleted. Before a bulk loading, I would like to know if I need to issue another statement to delete the index in method 2

    Thank you

    The column spare1 in the sys.obj$ will be '0' in the method 1 and '6' in method 2.

    select a.name, a.spare1 from sys.obj$ a, sys.ind$ b
    where name in ('TAB1_PK', 'TAB2_PK')
    and a.obj# = B.obj#;
    

    Published by: Lacotte Renaud on December 16, 2009 09:53

  • I have a bookmark in my list, but I can't find the folder it is, is there a way to do this?

    When you search for a bookmark using the Bookmarks Manager, the item is found, but we can't say it's in the folder
    is there a way to determine the file?

    IIRC there is an addon that allows you to do, but I didn't remember what it is.

    Everything I do is open the bookmarked page and click on the bookmark star edition, it then displays folder in which it is in.

  • Is there a way to dynamically determine the number of parameters to a procedure side Server?

    Hello

    This is a helper method used to call a server-side function that traverses the bindVars parameter to fill the PARAMETERS of the function. Is there a way to dynamically determine the parameters input/output based on the procedure name in the stmt parameter? No member of the CallableStatement class looked promising, but the getParameterMetaData() in the PreparedStatement class method seemed it might be useful lead. However, I have not found any (yet) a detailed description of how to use it.

    protected Object callStoredFunction (int sqlReturnType, String stmt,

    Object [] bindVars) {}

    CallableStatement st = null;

    try {}

    // 1. Create a JDBC CallabledStatement

    St = getDBTransaction () .createCallableStatement)

    ("" start?: = '+stmt+ ";" end; ", 0);

    // 2. Register for the first variable binding for the return value

    st.registerOutParameter (1, sqlReturnType);

    If (bindVars! = null) {}

    // 3. Loop on values for the bind variables passed, if any

    for (int z = 0; z < bindVars.length; z ++) {}

    // 4. Set the value of vars binding provided by the user in the stmt

    st.setObject (z + 2, bindVars [z]);

    }

    }

    // 5. Set the value of vars binding provided by the user in the stmt

    st.executeUpdate ();

    // 6. Returns the value of the first variable binding

    Return st.getObject (1);

    }

    catch (SQLException e) {}

    throw new Aexception.getLocalizedMessage (e);

    }

    {Finally

    If (st! = null) {}

    try {}

    // 7. Close statement

    St.Close ();

    }

    catch (SQLException e) {}

    }

    }

    }

    James

    PreparedStatement.getParameterMetaData () subject is exactly what you need for this task.

    Once you have the ParameterMetaData you can ask how many parameters are present, and how they are. Parameters are numbered from 1 to n, and you can use ParameterMetaData.getParameterMode (1); to get the function of parameter 1. The modes are defined as static values of the ParameterMetaData object. Check out the doc at http://docs.oracle.com/javase/7/docs/api/java/sql/ParameterMetaData.html

    Timo

  • Is there a way to disable the function where firefox opens a new tab when you scroll a click in the header bar?

    Is there a way to disable the function where firefox opens a new tab when you scroll a click in the header bar? This feature in conflict with my program of multiple monitors (display fusion) since this program allows you to change your current active window the monitor 1 monitor 2 and vice versa BY clicking the header of BAR SCROLLING (or whatever you call the highest part of your window). With firefox, I can't easily change my active window between monitors because instead, it opens a new tab.

    If the window is maximized, you can then switch this pref to disable the display of the tabs in the title bar:

    • browser.tabs.drawInTitlebar = false

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • When quiting Firefox 3 version you where able to save the tab that opens, is there a way to do this with Firefox 4

    When quiting Firefox 3 version you where able to save the tab that opens, is there a way to do this with Firefox 4

    On a Mac you can find it here:

    • Firefox-> Preferences-> general - > when Firefox starts: [show my windows and tabs from last time-/]

    You can use ' history > restore previous Session "for the previous session.

    There is also a button 'Restore previous Session' the default value: Home home.

  • is there a better way to remove exact duplicates in my iTunes library, clicking on maintain organized the iTunes media folder is not working is not on for me

    is there a better way to remove exact duplicates in my iTunes library, clicking on maintain organized the iTunes media folder is not working is not on for me

    Do not automatically methods automated in the treatment of duplicates. There are several types of duplicates and how they should be solved is different.

    How to find and delete items duplicated in your iTunes library - http://support.apple.com/kb/HT2905

    More posts by turingtest2 on different types of duplicates and techniques - https://discussions.apple.com/thread/3555601 and https://discussions.apple.com/message/16042406#16042406 (Note: DeDuper script is for Windows).

    http://dougscripts.com/iTunes/scripts/SS.php?SP=scanfordoubleentries

    http://dougscripts.com/iTunes/iTInfo/Dupin.php (commercial) There are other similar tools, including a version much sooner this package called "duplicates iTunes Corral", which I'm sure that would reveal a general web search.

    For example, Corral iTunes duplicates a mod. Eric Pugh - http://opensourceconnections.com/blog/2006/11/11/better-itunes-song-deduping/

    May 2014 post on iCloud duplicates - https://discussions.apple.com/message/25867873#25867873

    See the exact replica (Mac and Windows) - https://discussions.apple.com/message/16951281#16951281

  • Is there a way to programmatically determine the use of the 64-bit computer?

    I need to work with files in the path C:\Program Files\ [...].  However, when I run my LV application on a 64-bit machine, the path is C:\Program Files (x 86)-[...].  Is there a way to automatically determine if the application is running on a 64 bit system?  I use LV v.2012 SP2.

    Thank you

    DJ

    dj143 wrote:

    I need to work with files in the path C:\Program Files\ [...].  However, when I run my LV application on a 64-bit machine, the path is C:\Program Files (x 86)-[...].  Is there a way to automatically determine if the application is running on a 64 bit system?  I use LV v.2012 SP2.

    If you want the correct folder, the number of bit OS will not really help you. What to do if windows is installed to X:\Program files id... » ??

    Take a look at "get system directory". In particular, use the entry "application files. See if it meets your needs.

Maybe you are looking for