What function is used to read Angular Position form a Task?

I have created a DAQmx task in MAX. This task configures a counter on a PCI-6259 to take the A and B counts from an encoder and give the Angular Position. What function do I use to read the value since I am no longer reading counts I am reading the position?
Thank you in advance for any advice!
John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA
"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
Solved!
Go to Solution.

Hi Izzy,
I have Created the task in MAX. The task takes input into the counter from an encoder and converts it to angular position. Do I still use the DAQmxReadCounterF64 function to read the counter? I am guessing that I do and that the function returns the angular position rather than the raw counts. Not sure though.
Thanks for taking the time to respond.
Regards-
John O'C
John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA
"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"

Similar Messages

  • I try to open a PDF file but it will not. What can i use to read a PDF file.

    What can i use to read a PDF.

    1. Install free Adobe Reader App.
    2. Hold down attachment and "Open In" Adobe Reader
    http://i1224.photobucket.com/albums/ee374/Diavonex/fb20a68a.jpg

  • What do you use to read .stn files on mavericks?  Genuine fractals doesn't work any longer?

    What do you use to read .stn files on mavericks?  Genuine fractals doesn't work any longer?  I get an error message that adobe photo shop 5 cant open it because the modules? arent right.  I assume that it is because I now have an intel machine. I know other people have used this file format and so how do you open your photo files?

    When I try to open in Adobe Reader is says, "Adobe Reader could not open 'Blank-AF 77-LOE.xfdl' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."  Now what.  I didn't email it.  I transferred from an external hard drive.  The file opens just fine on a Windows PC.

  • Use Adobe Reader to Save Form Data

    I use Acrobat 8 Professional to create several forms and enabled usage rights in Adobe Reader so that my users can save the form data locally using Adobe Reader 7 or higher. My questions are: (1.)Is there a limit to saving the form data? For example, the form can only be save 500 times per form or is it unlimited. (2.)If there is a limit to saving the form like 500 times, can the same form be recreated and the limit of 500 starts all over again? (3.)Do I need to purchase a license to save these form data? (4.)How many forms can have enable usage rights in Adobe Reader per Adobe Acrobat professional? The reason why i'm asking these questions is because I want to be in compliance with the Adobe license. My users don't have Adobe Acrobat Professional, but would like to use Adobe Reader to save the form data.

    >(1.)Is there a limit to saving the form data?
    It is my understanding that you can harvest data from a form 500 times whether that be from one user of 500 users.
    >(2.)If there is a limit to saving the form like 500 times, can the same form be recreated and the limit of 500 starts all over again
    You'd probably be walking on thin ice by trying that. Could be a loophole but maybe not.
    >(3.)Do I need to purchase a license to save these form data?
    Not if you stay within the limit that is stated in the EULA.
    >(4.)How many forms can have enable usage rights in Adobe Reader per Adobe Acrobat professional?
    Different forms? As far as I know there is no limit to the amount of different forms you use.
    In my opinion, if you think you are going to go anywhere near the limitations of the EULA, consult with your attorney before proceeding. The form enabling function was never intended for large business use. Adobe has another, more costly, solution for that.

  • What functions to use in oracle sql

    how to convert a decimal of 15 to decimal of 10
    and decimal of (15,2) to decimal of (12,2)

    876801 wrote:
    how to convert a decimal of 15 to decimal of 10
    and decimal of (15,2) to decimal of (12,2)Change the actual data type? If data type needs changing, the CAST() function can be used.
    E.g.
    SQL> create table footab(
      2          n       number(5,3)
      3  );
    Table created.
    SQL>
    SQL> insert into footab values( 99.123 );
    1 row created.
    SQL>
    SQL> select
      2          n,
      3          cast( n as number(5,1)) as N51
      4  from       footab;
             N        N51
        99.123       99.1
    SQL>

  • What function to use

    I'm trying some information in numbers spreadsheet. I have the following columns:
    F/D (foundation or donation) Deposit Donation Balance
    I'm trying to get the sum deposits when (foundation) is selected in the F/D column. Any help would greatly appreciated.

    Ceddie,
    The SUMIF() function should do the job:
    =SUMIF('F/D',"F",Deposit)
    pw

  • Angular position measurement

    how to used encoders to angular position measurement of rotating shafts 
    Attachments:
    IRC305.pdf ‏303 KB

    Hi Sabry,
    what is your question? Good starting point is to open LabVIEW Example Finder and check code examples located in Hardware Input and output » DAQmx » Counter Input section. You can also try to search at NI Developer Community web. This table shows Default NI-DAQmx Counter Terminals on your C-Series module NI 9401 - http://zone.ni.com/reference/en-XX/help/370466W-01/device_pinouts/9401cdaqpinout/
    I also recommend you to read this White Paper which can give you good outlook on Encoder Measurements.
    Regads,
    Ondřej K.
    NIEE AE

  • Hw-trigger​ed angular position measuremen​t

    Hello,
    I'm trying to measure wear "on the run" by calculating mass difference from increasing flank tolerance.
    Therefor, I'm using hw-triggered angular position measurement (position of the pinion at a certain position of the gear).
    I tried the DAQmx task on the M&A Explorer (18.000 increments,4x,A High,B High), triggered by the square pulse (+5V) from the incremental encoder of the gear.
    I've got some noise on the signal, but nothing that would hurt.
    With a gear transmission ratio of 41:2 I should get two results each differing with 180deg at an constant interval (depending on the number of revolutions).
    But what I get are senseless results at no visible interval.
    I used another DAQmx task to count the flanks of the trigger signal which works very well (at a constant interval) so obviously the trigger signal is all right.
    I'd be very glad to hear of any ideas or another possibility to solve that problem.
    Thanks in advance,
    A.Monz

    Sounds like a tricky app.  There tend to be a lot of frequency components in rotational measurements on geared shafts.  These will influence your measurements.  Also, inferring wear mass via flank tolerance sounds like a very subtle measurement requiring very high signal to noise.  So I think you've got your work cut out for you from a physics standpoint.
    In the data acq world, however, maybe I can help.  First, the terminology.  It sounds like you've got some reference position that produces 1 pulse per rev.  You'd like to grab 1 sample of position on each of these pulses.   You're calling this pulse the "trigger."    However, in the data acq world, that sort of operation would usually call the pulse an "external sampling clock."  
    Step 1: Make sure you're treating that 1-per-rev pulse as an external sampling clock, not as a trigger.
    Next, how's your resolution?  An 18k incremental encoder is pretty high-resolution, but is it really enough to detect the small angular difference caused by mass loss through wear?  Have you worked out the geometry to know the linear distance (at the pitch diameter) represented by 1 encoder count?  For good trending and measuring, it's typical for the measurement device to have 10x the resolution that you need to discriminate.
    A different approach to try to gain resolution might be to measure time between pulses.  Depending on your board, you can get either 20 MHz or 80 MHz time resolution.  Then, depending on your linear speed at the pitch diameter, you can figure out how much linear distance is represented by 1 time count.
    -Kevin P.

  • Read Encoder Position Error -70012

    I am using the "Read Encoder Position" and I keep getting error #-70012.  There are no errors up to this point and it does not SEEM to affect the way my program runs.  Does anyone know what this error is? 
    I did try to look up the error # to no avail.
    Thanks.

    Have you seen this?

  • Cannot complete form using Adobe Reader - Mac OS X 10.6.8

    I have been using Adobe Reader to complete forms for my Bank for more than 9 months without any problems.  I'm using Adobe Reader 10.1.1 for Mac.  I recently upgraded my OS from 10.5.8 to 10.6.8 and this is the first time I've tried to use Adobe Reader since the upgrade. Today when I opened my form using Adobe Reader I cannot select and type in any of the text fields.  Trying to click inside a text box simply seems to 'select' the entire page. 
    I checked online but could not find any compatibility issues.  I'm hoping that I've overlooked something very simple that I should have done but have no idea what that could be.
    I would be very grateful if someone could advise me what my problem might be.
    Cheers
    Tricia

    Thanks for responding Ankit.  No, I saved the form to a folder on my desktop and I open it using the Adobe Reader app.  It has always worked without a problem before.  I checked my husband's iMac (which has the same saved form on his Desktop).  He is also running OS X 10.6.8.  On his machine it opened without a hitch so I used his computer to fill in the form and print it out.  Obviously, if it works on his computer and he's also using 10.6.8 it's not related to the upgrade.
    I trashed my copy of Adobe Reader and have re-downloaded the app.  Will install it and see whether it now works or if the problem persists.  Will post back the results.'
    Cheers
    Tricia

  • Reader extend pdf form in designer?

    is it possible to reader extend a pdf form in designer?
    i did it in adobe acrobat pro trial version, via advanced/extend features in adobe reader  but the form is not sending anything to my SOAP endpoint..
    it works fine when opening the pdf in adobe acrobat pro, but not in adobe acrobat reader.
    E

    Hi,
    It is not possible to reader enable a form in LC Designer.
    LC Designer is part of a suite of server components (LiveCycle Enterprise Suite). Adobe have a component called LC Reader Extensions ES, which can be used to reader enable a form and maintain full functionality. But it is expensive (being intended for large organisations).
    Here is a summary of ways to deploy a form and the limits on functionality. It covers not reader enabling a form / enabling it using Acrobat / enabling it using LC Reader Extensions ES.
    Now if you reader enable a form using Acrobat, certain functions are turned off, including communications to and from databases.
    Hope that helps,
    Niall

  • What is use of Read-Text  command in Sapscript  plz replay

    What is use of Read-Text  command in Sapscript  plz replay
    i m geting problem with read-text command in sapscript as will as
    perform and endperform .

    Hi Majid,
              It's a function module to read the texts from a text file. Generally it is used to retrieve the long texts.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ´
    ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:  
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Br,
    laxmi.

  • What functionality are you successfully using in your EO SuperClasses?

    Hi Everyone:
    We are very new to JHeadstart/JDeveloper and have just established the method we are going to use at the Entity Level to convert input to Uppercase by putting the following code into a superclass and extending the .xml files of the entities from EntityImpl to this superclass which we called UWEntityImpl.
    What I am wondering is what other ways is this functionality being used by you more experienced JHeadstart Developers? I am trying not to re-invent the wheel and utilize methods that have worked well for you.
    Of course I can think of toLowerCase, what else are you using?
    Thanks so much in advance.
    Mary
    U of Windsor
    Example Code:
    package its.sis.BusinessModel.model;
    import oracle.jbo.AttributeDef;
    import oracle.jbo.server.EntityImpl;
    public class UWEntityImpl extends EntityImpl {
    public UWEntityImpl () {
    // This code converts the inputted string to Uppercase in the database.
    // April 27, 2007 mb
    protected void setAttributeInternal(int i, Object object) {
    Object value = object;
    AttributeDef def = getEntityDef().getAttributeDef(i);
    if ("true".equalsIgnoreCase((String)def.getProperty("UPPERCASE"))) {
    if (value != null && value instanceof String) {
    value = ((String)value).toUpperCase();
    super.setAttributeInternal(i, value);
    }

    to)? I was curious because it seems to store them in
    a proprietary format, and before I get into moving
    hundreds more images I thought I would ask. I have
    2-300 gigs of usable space but Aperture seems like it
    could get huge with image adjustments.
    Hi Eric,
    I'm not a pro, but I wanted to clear up one of your issues. Aperture does not store or convert your files in a proprietary format. The image files that you store in the library will remain in their original format and untouched. The "Library" is a Mac OS X entity called a package. A package appears as a single file, but it's an illusion. If you ever needed to extract your image files, you can do so in the Finder (without Aperture) by option-clicking on the "Library" and selecting "Show Package Contents". Now you can navigate the file and folder structure to get at your originals. Of course, a much faster and easier way is to have Aperture export the originals. However, my point was to clear up the "proprietary" structure misunderstanding.
    Also--as was mentioned--each adjustment doesn't create a new image file. Every new version of your original is merely a list of instructions or "recipe" used to apply adjustments to the original to recreate the version for screen and print. This is done dynamically, on the fly. A finished version of the original is never created and saved to a file until you tell it to export a version. Thus, every version is a very small addition to the database. This is very unlike iPhoto, where every new version of a file creates a new image to store...all the more reason to move to Aperture.
    Hope that helps.

  • What function would you use instead of "IF" when referencing durations from a pop-up menu. Ie; if c4 equals 1h enter 280, if c4 equals 30m enter 160, etc. IF works fine if c4 is formatted as text but returns 0 when formatted as pop-up.

    What function similar to IF would one use when the reference cell is a pop-up menu of items in duration format?
    Example: if C4 equals 1h enter 280, if C4 equals 30m enter 160, etc
    i can get it to work fine if I format the cell to text but I not only need it pop-up, I also need it to be written in duration format because it's used as duration in other functions.
    thank you for your help in advance
    Christina

    Hi Christina,
    A screenshot is always helpful.
    C4 is your popup? You want to chose a duration there and have 280 or 160 show up somewhere else? Are they the results of a mathmatical formula or do you want a lookup table to show them?
    I suspect something else is going on in your table. I have no trouble having a popup recognized as a duration:
    The formula in C2  =DUR2MINUTES(B2) displaying "60" as expected. Note that "60" is not a duration. If I want C2 to be a duration I need the formula to read:
    =DUR2MINUTES(B2)&"m".
    I hope this helps, if not, post a screenshot including relevant formulas.
    quinn

  • What is the use of To_date, to_char functions?

    what is the use of To_date, to_char functions?
    while i am using these in my day to day activities but never able to know the exact working of tehse.
    Message was edited by:
    437022

    Dates are stored and manipulated as coded (binary) values that always contain "century, year, month, date, hour, minute second"
    We don't want to see the date as stored. We want to see the characters (digits) that make up the date. So we use to_char(the-date-value)
    We want to tell the system a date, but have a heck of a time entering the binary. So we input the characters (digits) that make up the date and tell the system to convert that to a binary 'date' using to_date(our-string-that-respresents-dates)
    The magic Oracle has added is the format codes (see chapter 2 of the SQL Reference manual for the complete list). We can get the system to print out dates and times, including day of week (and so on) using format codes.
    The default format is to show us the date but not the time. Which leads a lot of people to believe that the time is not stored.

Maybe you are looking for

  • Black border around dialog box, buttons, and everywhere

    It's just started behaving bit crazy. Suddenly black borders started appearing everywhere with Leopard. I have tried to restart the machine a few times but no luck. They appear with OS dialog boxes, around buttons, Safari, Most of the applications, t

  • Integrating SAP-ERP system to SAP-SCM system via SAP-XI

    Hi All, My requirement is to make a scenario for Integrating SAP-ERP system to SAP-SCM system via SAP-XI,Sender side is IDOC Adapter and Receiver side is Proxy.As iam not aware of the scenario procedure can any body could explain briefly step-by-step

  • Startup script error-newbie needs guidance

    I am seeing a new error from my startup script...can anyone give me assistance... mac os 10.4.3..... error with adobe file...........adobelibrary2.jsx line 220: throw localize ($$$/was/store/err3=errr reading storage information: file not found") to

  • DB Version Error when install SOA Suite using with DB 10G 10.2.0.1

    Hi, I am trying to install SOA Suite 10.1.3.1.0 in Windows XP environment where an Oracle 10g database 10.2.0.1 is pre-installed. When I try to use Advanced Installation, the system says that my database version should be 10.2.0.2 or higher. I couldn

  • Using Encore 3 Under Leopard 10.5.4

    I have recently purchased the Adobe Production Premium package and successfully prepared several Blu-ray and standard definition DVD's using Encore 3. However, whenever I attempt to output any of these DVD's to Flash Video by selecting Build>Output t