Can't configure counter units to give Ticks

Hello,
What I need is:
For my application, I have an external signal pulsing at a random frequency and I want to count the number of pulses between 2 another external signals.
What I use is:
NI-DAQmx library version 7.1.0f1
NI 6624 counter/timers board
My problem is:
Whenever I want to configure my task to give me the result in Ticks, I get an error when I start the task.
I use DAQmxCreateCITwoEdgeSepChan(...) with the parameter corresponding to unit set to DAQmx_Val_Ticks.
The error I get is this:
Counter timebase rate must be specified for external counter timebase sources in order for frequency and/or time calculations to be made correctly.
Set the Counter Timebase Rate property to the appropriate value for your external source.
Device: PCI-6624: "Dev1"
Channel Name: GI tete
Task Name: Comptage GI t�te
Status Code: -200143
So I configure the Counter Timebase Rate with the function DAQmxSetCICtrTimebaseRate(...) and I get the following error :
Requested values of the Minimum and Maximum properties for the counter channel are not supported for the given type of device.
The values that can be specified for Minimum and Maximum depend on the counter timebase rate.
Property: DAQmx_CI_Min
Corresponding Value: 1.0
Property: DAQmx_CI_Max
Corresponding Value: 40000.0
Property: DAQmx_CI_TwoEdgeSep_Units
Corresponding Value: DAQmx_Val_Ticks
Property: DAQmx_CI_CtrTimebaseSrc
Corresponding Value: /Dev1/PFI31
Option: 1
Property: DAQmx_CI_CtrTimebaseRate
Corresponding Value: 20000000.0
Property: DAQmx_CI_Min
Value Must Be Greater Than: 1.0e-007
Property: DAQmx_CI_Max
Value Must Be Less Than: 214.7483648
Option: 2
Property: DAQmx_CI_CtrTimebaseRate
Corresponding Value: 100000.0
Property: DAQmx_CI_Min
Value Must Be Greater Than: 2.0e-005
Property: DAQmx_CI_Max
Value Must Be Less Than: 42949.67295
Channel Name: GI tete
Task Name: Comptage GI t�te
Status Code: -200527
Can anybody help me?
Thanks in advance.

This was a bug in DAQ 7.1, I believe it has since been fixed. But there are some workarounds that will solve the problem for you.
1) Change the value of CI_Max to be less than 214. Due to the bug with the "ticks" units, this value must still be specified to fit the range of the 20MHzTimebase.
2) Just use the "seconds" units and then use the U32 version of read. This will return the ticks value.
As a side note, you may want to consider upgrading to NI-DAQmx 7.2. DAQ 7.2 provides support for digital filters on the 6624. Depending the noise levels of your signals, digital filters may be necessary to ensure proper measurements.
I hope this helps!
gus....

Similar Messages

  • How to configure Counter in Report

    Newbie question - How can I configure Counter to be displayed in BAM Report. I have added three business indicators one being a counter. I see that my other two indicators are recorded in the BAM Data Object I created, I also see that my Project Counter is getting stored in Counter BAM Data Object. How do I link these and come up with an BAM Report whose values are based on the Counter. I am using 11G.
    Edited by: Venkat Ram on Jul 8, 2010 5:37 AM

    Assuming you are referring to Monitor Express dashboard and using monitor objects for your BPEL or BPM process in JDEV (counters, intervals, business indicators).
    The Monitor Express Dashboard (and subreports) is essentially a template you can use to quickly get an idea of the processes you are trying to monitor.
    From the 2nd tab "Process View "(which is the subreport titled Monitored Process Details"), does have a view which uses the Counter dataobject and lists the Counter name and count of instances passed that particular counter.
    Essentially, you can create any report against this Counter dataobject. You can edit and add/remove views in the Monitor Express Dashboard to be solely based on the Counter dataobject.
    But the 1st thing to do is understand the data captured in the dataobject itself. The fieldnames are fairly explanatory.
    Hope this helps.
    -Michelle

  • How can I configure characters count per row in photoshop touch?

    how or where can I configure characters match per row in photoshop touch?

    You should ask that question over in the companion app forum http://forums.adobe.com/community/photoshop/touchapps?view=all

  • How to configure Counting RUle?

    Dear Team,
    How to configure Counting rulee seperately for Working days & Calendar days for both general shift employees & Shift Employees,what cahnges we need to do in day type, workschedule rule etc.,Please help.
    Regards,
    Mythili

    you should understand thebusiness scenario
    do yo want to count the absence s if you apply on weekoffs(sat/sun)
    do want to count the absence if you apply on public holiday
    based on the condition s we will configure counting rules.....
    for all the shifts if you have same weekoff s you can configure one coutnign rules, or shifts containf each different weekoffs eg:mon or sat or wed then you have configure different coutnign rules
    you can give the same coutnign rule and you can give different sequetial nos
    these are the below steps to cinfigure the coutnign rule
    1.     Click on the sub node u201C Define Counting ruleu201D 
    2.     Click on new entries 
    3.     Maintain ESG time quota type as u201C9u201D
    4.     Maintain PS grouping for time quota type as per the grouping mentioned in the node u201C Group Personnel sub area for Time Quota typeu201D
    5.     Maintain the sequential number as per the sequence of absences.
    6.     Following settings for: Conditions for current day --- Flag on all the options except Sunday (if you have sat and sun day week off then donu2019t select satday also)
    7.     In Day type field u201C work acc. To work scheduleu201D.
    8.     Holiday class: Maintain in holiday class select all except not a public holidayu201D(no mean to apply absence on public holiday )
    9.     Condition for planned hours: In this field all the absence have the two field planned hours= 0 and planned hours>0 being selected.
    10.     Condition for absence/attendance: In this field all the absences have the two fields < 1day and full day being selected.
    11.     Quota multiplier: For all the absence type the quota multiplier is maintained as 100% except sick leave (half pay) where the quota multiplier is 50%
    12.     Deduction rule: The deduction rules are assigned to each of the corresponding absence type. Applicable to those absence types which has quota attached to it.
    13.     Save your settings
    Edited by: Piscian . on Jul 14, 2011 10:46 AM

  • HT3382 With a MacbookAir (mid-2012) using a mini DisplayPort to VGA adapter plugged into the Thunderbolt port, can you configure the external monitor to FULLY display in portrait mode yet keep the built-in display in landscape mode?

    With an 11"-inch Macbook Air (mid-2012) using a mini DisplayPort-to-VGA adapter plugged into the Thunderbolt port:
    Can you configure an extended desktop with an external monitor (20") displaying full portrait mode (1200 x 1600 resolution) and keep the built-in display in landscape?
    I'd like to see something like
    External monitor / Built-in display

    Yes, I can't see why not.
    Just give it a try and report back if you have a problem.

  • How can I configure my new Mac Pro to output the timeline via HDMI

    How can I configure my new Mac Pro to output the timeline in FCP 7 (yes, I have X, but I'm using 7 right now). I have two monitors running from TB2, but want to have the third for a client monitor.
    If I use all three via TB2, it's literally three monitors, and I want to edit on my CineDisplay. I only want the client to see the timeline video on the third monitor. When I hook up HDMI I get no signal, in fact, I can't have the HDMI cable hooked up for TB2 to work with the third.
    Thanks,
    GEvans
    DarthPro
    3.7 QCIntelXeonE5
    12 GB
    AMD FirePro dual D300 2048MB
    OSX 10.9.2

    If you use all ThunderBolt displays, or stick with DisplayPort and Mini DisplayPort (free conversion between the two with only a cheap cable) you can have up to six displays.
    If you attach "legacy" displays with "any-old adapter", you can have up to two, and the built-in HDMI counts as one if you use it.
    Any more requires ACTIVE Adapters.
    The US$100 Apple ACTIVE Mini DisplayPort to Dual-Link DVI adapter works in every case, even displays over 1920 wide.
    StarTech and Accell make US$35 ACTIVE adpters that work for displays up to 1920 wide.

  • HT4356 How can I configure the printer to print only grey tones from my iPad 2? Printer=Hp6520

    How can I configure printer with iPad to print only grey tones? This works fine from my laptop - not air printing from that one though.  I can't find anywhere on the iPad how to do printer settings and this also seems not to be available as an option when doing a printout.  In fact, no options seem to be available.  Thanks in advance for reacting!
    Hermi

    There is currently no option for this. You can give Apple feedback here:
    http://www.apple.com/feedback/ipad.html

  • Can I configure two webserver domain in one windows server

    Can I configure two webserver domain in one windows server with default port. ( i.e 80 )
    For Ex:- http://server-name/psp/DOMAIN/?cmd=login and another one
    http://server-name/psp/DOMAIN2/?cmd=login.
    If not please let me know the workaround to do so. B'coz i don't want to put portnumber in my second URL..

    Hi,
    You can even have serveral domains within the same webserver instance.
    During PIA installation (of the second) choose option existing domain and then add an additional site.
    Give the domain a unique name and port to your second application server and you are ready to go.
    I usually do this on sandbox environments to keep the sandbox small , with several databases (Portal, HCM, FIN, CRM) and one PIA with serveral domain.
    But is definitely not what you should do for production systems.
    Each application should have it's one PIA instance.
    Hakan
    I didn't read the port number requirement.
    You can only run one webserver instance on a port number for example port 80.
    But you can still have one webserver PIA with serveral domain on the same port number as described above.
    Edited by: Hakan Biroglu on Mar 14, 2012 2:28 PM

  • How can we configure or control records go into single idoc thru BODS?

    Hi,
    Our case is -
    IDOC format has three segment. Each segments has child nodes -
    1. CONTROL SEGMENT - This is required only once per idoc.
    child1
    child2
    2. SEGMENT1 - sinlge source record to be broken into two segments.
    child1
    child2
    3. SEGMENT2 - sinlge source record to be broken into two segments.
    child1
    child2
    we have a single source (lest say having 100 records).
    In the current design which does generates IDOCS but as many as the no of records in source. Currently we use a row generation transform as dummy (with row count as 1) to pass to the IDOC parent nodes's from clause to escape the error - invalid input to the parent nodes.
    Child nodes are either mapped to the source table or are null.
    Question - How can we configure this in a way that we control how many records go into single idoc. Ex - lets say 50 per idoc so only 2 idoc should be created if 100 records are there.

    HI,
    this sounds to me like Data Services. If so I would suggest to post this into the Data Service forum.
    regards
    Ingo HIlgefort

  • Where can I configure the naming rule for child columns?

    I have the following logical model:
    https://www.dropbox.com/s/1eux01rrkmcn84f/child_logical.png
    When I engineer it I get the following physical model:
    https://www.dropbox.com/s/pwl2zxkvuigdr5q/child_physical.png
    How can I configure that no entity name prefix should be added to the column name?
    The columns should be named create_ts, modify_ts, delete_ts and attribute_1. (all upcase is ok).
    I tried to change the naming standard template for attribute relations but it has no effect.
    Can anybody give me a hint?

    I used the older SQL Developer modeler and by setting the SUPER and SUB TYPE and Naming Standards I was able to generate the columns without doing post relational model generation activity. I have documented the steps to do the same it taking many steps and generates misbehaves.
    Another problem I face is having to get the SUB TYPES generated as SINGLE TABLE.  If you have more than one SUPER and SUB Type usage it confuses the generator.
    Kindly let me know if there are better ways or fixes coming in soon, if not I would like to revert back to older version.
    1) Created two entities one a super type "SuperEntity" and another sub type "SubEntity"
    Entity name: SuperEntity
    Short name:  SUP
    Attributes:
    Super Entity UID - Primary Key
    Total
    UID - named as SUPER_PK
    Sub-Type implementation
    References - Identifying
    Attribute Inheritance - Primary attribute only
    Entity name: SubEntity
    Short name:  SUB
    Attributes:
    Flag
    Sub-Type implementation
    References - Identifying
    Attribute Inheritance - Primary attribute only
    Hierarchy Key (Foreign key) : named as SUPER_SUB_FK
    2) Generated the Relational Model - the entity SHORT NAME was pre-fixed automatically
       The Sub Typed entity inherits the Foreign key as Primary Key
    CREATE TABLE SuperEnity
        SUP_Super_Entity_UID NUMBER NOT NULL ,
        SUP_Total            NUMBER (8,2) NOT NULL
    CREATE UNIQUE INDEX SuperEnity_PKX ON SuperEnity
      (    SUP_Super_Entity_UID ASC  )  ;
      ALTER TABLE SuperEnity ADD CONSTRAINT SuperEnity_PK PRIMARY KEY
      (    SUP_Super_Entity_UID  )  ;
    CREATE TABLE SubEntity
        SUP_Super_Entity_UID NUMBER NOT NULL ,  -- Inherited from supertype
        SUB_Flag             VARCHAR2 (1) NOT NULL
    CREATE UNIQUE INDEX SubEntity_PKX ON SubEntity
      (    SUP_Super_Entity_UID ASC  )  ;
      ALTER TABLE SubEntity ADD CONSTRAINT SubEntity_PK PRIMARY KEY
      (    SUP_Super_Entity_UID  )  ;
    ALTER TABLE SubEntity ADD
    CONSTRAINT FK_ASS_2 FOREIGN KEY ( SUP_Super_Entity_UID )
    REFERENCES SuperEnity ( SUP_Super_Entity_UID ) ;
    3) Apply the custom transformation script to remove the table abbreviation from column (provided by SQL Developer)
       NOTE: The prefix (abbreviation) is removed in SUPER type attributes.
           : However the SUB type retains the columns, key inherited before
    CREATE TABLE SuperEnity
        Super_Entity_UID NUMBER NOT NULL ,
        Total            NUMBER (8,2) NOT NULL
    CREATE UNIQUE INDEX SuperEnity_PKX ON SuperEnity
      (    Super_Entity_UID ASC  )  ;
      ALTER TABLE SuperEnity ADD CONSTRAINT SuperEnity_PK PRIMARY KEY
      (    Super_Entity_UID  )  ;
    CREATE TABLE SubEntity
        SUP_Super_Entity_UID NUMBER NOT NULL ,  -- The column name did not change based on SUPER TYPE
        Flag                 VARCHAR2 (1) NOT NULL
    CREATE UNIQUE INDEX SubEntity_PKX ON SubEntity
      (    SUP_Super_Entity_UID ASC  )  ;
    ALTER TABLE SubEntity ADD CONSTRAINT SubEntity_PK PRIMARY KEY
      (    SUP_Super_Entity_UID  )  ;
    ALTER TABLE SubEntity ADD
    CONSTRAINT FK_ASS_2 FOREIGN KEY ( SUP_Super_Entity_UID )
    REFERENCES SuperEnity ( Super_Entity_UID ) ;
    4) Applied Naming Standards Specifically on the SUB TYPE table (SubEntity) as
    COLUMN FOREIGN KEY : {ref column abbr}
    CREATE TABLE SubEntity
        Super_Entity_UID NUMBER NOT NULL ,  -- Name follows the SUPER TYPE
        Flag             VARCHAR2 (1) NOT NULL
    CREATE UNIQUE INDEX SubEntity_PKX ON SubEntity
      (    Super_Entity_UID ASC  )  ;  -- Name follows the column/attribute name
      ALTER TABLE SubEntity ADD CONSTRAINT SubEntity_PK PRIMARY KEY
      (    Super_Entity_UID  )  ; -- Name follows the column/attribute name
      ALTER TABLE SubEntity ADD
      CONSTRAINT FK_ASS_2 FOREIGN KEY  (    Super_Entity_UID  ) -- Name follows the column/attribute name
      REFERENCES SuperEnity  (    Super_Entity_UID  )  ;

  • The question about configuration Organization Unit on spro

    Dear all.
    I want to configuration Organization Unit on spro so I have created O.Units, Jobs and positions on Personnel Administration->Organizational Assignment->Organizational Plan  but I can't see these values about O.Unit, job and position on  SAP Access Easy .
    How to see these values on  SAP Access Easy ?
    Can I input these values about O.Units, Jobs and positions on spro ?
    Thanks so much.
    Huyen Nguyen

    instead of that
    Define the Number ranges
    in OOCR
    for all the objects
    Make a Template for Objects and Object Id
    and upload the same thru PP01
    than all the enties will sit in the SPRO
    >note it is not mandatory to create thru SRPO wht in case if u have 4000 to 5000  Employees
    So the best way is upload the Data thru LSMW thru Proper objects and Relatioships

  • Can't Configure New Airport Extreme

    My new Airport EXtreme is operational and I can access the net work from both my PC and 2 Macs however I have been unable to configure the base station to move it away from 'public' status with it's factory 10.??? IP address and thus have an open network.
    On initial startup with the Airport Setup Assistant on the Mac I get "An error occurred communicating with the selected base station".
    I've tried all the trouble shooting re-sets and the Airport Admin Utility but with similar results. At one point on the PC I got the slighlty more informative "the base station is in soft reset mode but does not appear reachable with the IP address configuration of this computer. Make sure your computer is configured for a 192.42.249.X IP address so base station can be configured". Don't know what this means ....
    All the correct DHCP settings seem to be in place but a colleague across the street with an Airport Express has no problem. I'm at a loss...

    Basic principle - setup instructions are there for a reason, and if you don't follow them then the thing won't work properly What happens if you connect your cable modem to the LAN port of the Base Station:
    - you bypass the router built into the Airport Base Station
    - your Mac will be unable to communicate with the Base Station.
    Neither is a good thing - and you need to get to the bottom of the problem causing you to have to incorrectly wire the Base Station just to give it the "appearance" it is working properly (even though it is not). Usually the solution is simple - cable the modem to the WAN port, pull power to the modem and the Base Station for a half hour, then plug power back into the modem, then plug power back into the Base Station. That's it.
    Incidentally - a temporary fix is to (a) disconnect the modem from the Base Station, (b) power cycle the Base Station, and (c) restart your Mac. Your Mac will now be able to "see" and configure the Base Station. However, as soon as you are done and you plug the cable modem back into the LAN port and restart your Mac - no admin access to the Base Station will be possible.

  • I can't configure my e-mail accounts on ipad

    My iPad is connected to my university's Wiffi. I have Internet because I can browse websites. However, I can't  configure my e-mail accounts on the iPad. When I bought the ipad, I was able to configure my e-mail accounts. When I was at school using the Wiffi it worked. Until today, I couldn't  download my recent e-mail. Thus, I eliminated my e-mail accounts  in order to fix the problem, but now I can set the accounts because the network connection, the IMAP server is not working.

    OK. Calm down. Your answers are still a little confusing.
    There is a difference between setting up an email account and setting up an Apple ID.
    Are you trying to set up an iTunes account - that requires an Apple ID - Is that what you want to set up?
    Or are you trying to configure your email account for the iPad - like gmail, AOL, Hotmail etc?
    Please give clear answers or details as to exactly what you are trying to do and what you have already done. There are lots of knowledgeable people here that can help you.

  • I using new ipad 32gb and i cant get user name and password how i configure it ? please give me solution

    im using new ipad 32gb and i cant get user name and password how i configure it ? please give me solution

    What do you mean 'can't get user name and password' ? What are you trying to do with your iPad and what happens when you do it ?

  • After iPad ios 5 upgrade, itunes "interrupted while restoring" restore gets error -50. iPad starts in 'configure' mode - can I configure as 'New iPad' and then restore?

    After iPad ios 5 upgrade on Win7 64bit pc (x386 iTunes), iTunes gave me error "iTunes was interrupted while restoring, restore again now?" I try to restore but iTunes immediately gives error -50. Apple website says -50 is a timeout, but I have tried all fixes: changed usb ports, new cable, reset iPad, restart pc, remove sim... no good.
    iPad starts in 'configure' mode, but won't restore from any of the several iTunes backups I have. Ready to giveup on 'restore'! iPad is sync'ed in iTunes, connects and syncs ok, so I don't want to lose that info.
    Can someone from Apple advise - can I 'configure' as 'New iPad' and then restore or sync to recover my Apps and data etc? OR if I 'Restore' from iTunes 'Summary' tab, will I still be able to Sync to restore the iPad Apps and data?
    I'm seeing a lot of frustrated Apple users online, hoping that a fix for this problem will help a few of us!! An iOS upgrade should not cause this much pain and wasted effort.

    You might already have tried all of these, but just in case:
    1. Make sure you have the latest version of iTunes.
    2. If you're on a Windows PC, consider uninstalling iTunes and Quicktime, restarting the PC, then reinstalling. This sometimes fixes oddities.
    3. Make sure you have no firewall or anti-virus running/active.
    4. Try different USB cable; if you're using a cable via a hub, try connecting without the hub. On desktop PCs, the direct (non-internal-hub) USB sockets are usually at the back.
    5. If yoiu haven't already done so, download the iOS5 update via the direct links I posted above
    6. If using Update doesn't work, use Restore. Option-click (Mac) or Shift-Click (Windows) the Restore button in itunes.
    7. Before you to the Restore, right-lick the entry for your device in iTunes and choose Backup from the drop-down menu. You may need this backup later.
    If you're srtuck in recovery mode:
    - There are some tips here for Windows users
    http://thehowto.wikidot.com/ipad-stuck-recovery-mode
    - If your device is stuck in Recovery mode, you can try putting it into DFU mode, from which iTunes should be able to Restore, as above. Details here:
    http://www.tipb.com/2010/12/02/tip-put-iphone-ipad-dfu-mode/
    - This link points to a utility that can help (Windows and Mac)
    http://runningblind.com/post/2800674985/ipad-stuck-in-recovery-mode-for-no-reaso n
    I hope something here helps

Maybe you are looking for

  • I have Created new posting period but it assigns -1 in OFPR table

    I have created new posting period eg 2010 .with user manager but still there is value of -1 in usersign field of ofpr table i am getting confuse will you help me to rectify? Thanks for previous answer

  • Mixing photos with Ken Burns effect with 'still' photos

    I am just beginning to experiment with iMovie '09. My medium is still photographs and my goal was to create a movie with these photographs, and send them to iDVD to test the quality of the final images. I have 3 questions. 1. I started by using about

  • Namespace problem with bpelx:rename typeCastTo

    Hi! I have j2ee web service which accepts types derived from one base type. Therefore i need to pass argument like request xsi:type="derivedType", where request is super type. After long searching i found out this can be done via bpelx:rename typeCas

  • Unable to insert messages in JMS QUEUE

    Hi All, I am facing an issue while inserting messages in JMS queue. The JMS Queue is on another weblogic server and now i created a bpel process which has a jms adapter to insert messages inthe jms queue.I am deploying the Bpel in my server which doe

  • BAPI returns always 0 record

    Hello, We created in SAP(SE37) two functions to provide records from table BAPIORDERS Table. Both functions are RFC enabled. The functions are called with .net connector 2.0 and visual studio 2003 Ver.7.1.3088. Also we use the patch available in OSS