NI9411 - logical counter?

NI9411 - is there any logic to counter in the signal?

If you use the 9411 with a CDAQ (the old version) and then using slots 5 or 6 will allow you to use the counters out of the chassis. If you use a CDAQ 2 (new version), then any location can be used as a counter. The 9411 itself does contain not all counters.

Please let me know if I can help further.

Tags: NI Software

Similar Questions

  • Dynamic action in two selection list

    Hi all

    I created two select lists.one is parent of other child.

    I can get the child list correctly from the article values parent lov cascading

    For example: the company name of parent element values: x, y, z, etc.

    x with 3 customers say a, b, c

    There is no customer for y

    z with 2 customers say e

    now, I want to hide the element of the child when the parent having no child.

    Now when I select 'y' for the example above, I would like to hide the child element.

    How can I do?

    Hello

    You can do the following:
    1. create a hidden page element, say PX_HIDE_SHOW_FLG
    2. create a dynamic Action of type 'Set value' on the element parent to update PX_HIDE_SHOW_FLG. You can choose the "value Type" as "body of the PL/SQL function. The code in the function must return "Y" or "n" based on logic (count the number of children under the selected parent). You can trigger this DA on 'change' of the parent element.
    3. now, create another DA on PX_HIDE_SHOW_FLG to hide and show the child LOV article based on its value. For example, if value (of the page hidden item) = 'Y', and then hide, another show.

    Thank you
    Rohit

  • Having trouble getting the calculations of percentage on logical aggregation count column

    Hi Experts,

    I am trying to create values of percentage based on the count aggregation.

    For example in the 11g Sample Sales Data Model, I added 3 logical columns, Order_Count, Orders_Shipped, OrdersShipped %

    As follows:
    (1) Order_count
    Derives from physical mapping of count (Revenue.ORDER_NUMBER F1)

    Shipped_Count 2)
    It's an expression derived for add a filter on the order_count of order_status. So I did this:
    Filter ("Sample Sales".) "Revenue of F1" "." " Order_Count"using"Sample Sales ". "' Revenue from F1. ("' Order_status ' = 3-expedie ')

    (3) % OrdersShipped
    Again, it is an expression derived from calc the % of
    "Sample Sales". "' Revenue from F1. "" Shipped_Count "/" Sample Sales ". "' Revenue from F1. "" Order_Count "* 100

    In my analysis, the Order_Count and the Shipped_Count display correctly.

    However, the % OrdersShipped always displays as 0.0000%.

    I changed the format of data for the % OrderShipped to a type of percentage with 4 decimal places.

    I also tried to add the % column analysis directly instead of the DM by doing this
    "Basic facts". "count_shipped" / "core facts". "" Order_Count "* 100

    Yet once, it appears as 0.000%

    Any ideas would be greatly appreciated.

    DB

    Published by: user4990932 on March 12, 2013 07:04
    Repost

    DB,

    Try multiplying the numerator and the denominator by 1.0. This will throw your integers to floating-point numbers and your result will display correctly.

    I hope this helps.

    -Akshay

  • How to read the counter NI9411 using C API data?

    I use the API C of NOR-DAQmx to read the data of a cDAQ-9188

    I am able to read analog voltages and entered digital fine (NI9201 and NI375).

    Problems with counters (frequency of measure) (NI9411).

    I just get error "all or part of your samples are not yet acquired" after the timeout.

    My pseudo-source:

    DAQmxCreateTask ("", & taskHandle);
    DAQmxCreateCIFreqChan (taskHandle, "cDAQ9188-189E9F4Mod1/ctr0","", 1, 1000, DAQmx_Val_Hz, DAQmx_Val_Rising, DAQmx_Val_LowFreq1Ctr, 0.1, 1, NULL "");
    DAQmxCfgSampClkTiming (taskHandle, "pfi0", 5.0, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 5);
    DAQmxStartTask (taskHandle);
    DAQmxReadCounterU32 (taskHandle, 5, 10.0, (uInt32 *) data, 5, & read, NULL);

    My device and any other names are correct?

    Thank you.

    Have you compared it against examples of api C?  I think that you have the option to install the examples when you install the daqmx drivers.

    If you have done this, and it looks the same then I would say you should try Troubleshooting If you produce any data at all.

    -Bear

  • How to get the count of logic?

    Hello

    Very new to CRM. I'm trying to get the number of 'start time' which are more important than the current timestamp. County work (start time of activity). I don't know how to add the status of time stamp to it. I can't add this condition as a filter.

    Appreciate the answers.

    Thank you

    Hello

    I thought you just need only the number of all future activities.
    To find the number of future name for this contact, you must change the column Count to Count (activity field start of field Contact).

    You must keep the filter. Try this and let me know if it works.

    Thank you

  • When the perforation in the logic does not record pre

    Using logic 10.2.4

    I have implemented punch and punch the locators.  I play with the track and making punch.  Logic doesn't store any roll before... .in other words if I try to expand the newly created region a little more early to catch a truck or something thing I got at the beginning, nothing is there.  I know logic is supposed to check in at the beginning just in case... there at - it a setting I'm missing? I tried the pre roll record and set at 6 seconds, but still nothing at start is saved before punch to the point.  Same thing in lieu or in creating records of decision-making.

    The count and record Pre Roll above are mutually exclusive. They do not define how at the beginning of the recording begins, but rather where the playhead is set before the start of the recording. If you have a 2 count together bar and position the playhead at 10 bar, and then tap Save. Logic moves the playhead at bar 8, start playback (if there is something to play) and begin to check in at 10 bar. If you select a period of prefetching in a few seconds, the playhead will jump back 6 seconds instead of bars. Neither defines the amount of pre-roll advertising in the in the recorded real audio.

    Auto Punch in is exactly that. When the recording start / stop. There is no registered pre-roll advertising. If you want the extra recording time before or after, then stretch the autopunch bar to make room for the start of start or end at the end.

    You can also use take folders that might be a suitable replacement and allowing campers of any part you want.

    Exception to this rule the there is one and will achieve exactly what you want - but it does not work with automatic punch. It is the punch on the fly...

    prerequisites - you must have "quick fist blow" activated.

    Press play and internally logical starts recording the moment where you press play, when you're ready to punch in, press R and you start recording, when finished, press stop. Logic recorded a region between the points where you started recording and click on stop. However, logic actually starts recording (under the hood) from the moment where you supported the play button, so if you look in the project tree, you can see the entire audio region with only set it collecting points as the region.

    It's only this case that allows you to develop the region in time to include a part any audio region that was "pre" set registration points. It is in fact will contain the entire audio file as soon as the room was pressed to stop, even with quick punch point defined further in the song.

    So say you have 10 bars - you start reading at the bar 1 and 5 bar you quick punch in bar 7 and you punch out. The defined region will show 5-7 bars, however if you develop the starting point of audio regions to the left - you will find that you have saved in fact all the way back to bar 1.

    Sorry, this feature is not available if the autopunch is the method of choice.

  • Stepper - motor count measures

    Hello
    I am a beginner in the LabVIEW.

    I need an advice. How to count the number of steps of the motor stepper motor control turn the potentiometer and its rotation is necessary to complete the 170 steps. The LabVIEW I did the manual control of a stepper motor. I used two case structures. First of all for the start and stop of rotation and the second to change the direction of rotation.

    When the motor turns to the left, the "number of steps" is incremented, and when it turns clockwise, the number in the decrements of the indicator to zero, but I need to decrement the numbers, which are recorded during a turn to the left (for example) 56 instead of 0, -1, -2, 57, 58, 59...)

    Can it be somehow put implement into my program or is there another solution for counting steps?

    Thank you

    Instead of 2 nodes (one in each case) feedback, you need 1.  But to make life even simpler, use the shift register that you already have.  Most of the logic inside case structures is not necessary.  Just incrementing or decrementing based on orientation.  Put this value in the registry to offset.  That will keep track of your number of the step.  Now for the boolean array to use index, just use the function Quotient & rest on your number from step 4.  The output remains will tell you exactly which line of your array of Boolean to use.

  • program counter? As an indicator of

    I need to make a program that takes into account, if I press a button "minus 1" or a "+ 1"in the while loop. I don't know how to actually convert Boolean logic of the key pressed to match an addition in the number? All comments appreciated!

    This one actually works. Come and play with you Mathan but your only progressive count.

  • Pulse/counter of encoder data wrong servo motor

    First of all, I am very new to the use of labview.  I'm trying to complete a project, a former employee was working on that.

    For a quick background on what I'm working with, I use an NI DAQCard-6036E connected to a SC-2345.  SC-2345 is then connected to a load cell, Omron R88D servo driver and an omron servo motor.  The actuator is an incremental encoder with resolution of about 2048 pulses per revolution.  My labview program includes a counter that records the data of the encoder on the servo-motor.  I was able to get accurate data during the test through the program of measurement and automation of the engine manually.  Also when running through the specific DAQ assistant, I use for my counter, I'm getting correct readings by turning manually engine.  Once I run my full program, instead of get 2048 pulses per turn, I'm between 34000 and 36000 pulses per revolution.  The more logical assumption is that I get vibrations in the engine itself or some kind of noise disturbs my signal.  First, I tried to change the possible settings via the omron servo driver that could reduce the vibrations of the engine.  I try to change the stiffness settings, enable, and disable the automatic adjustment feature and a few other parameters specified by the user manual which could cause vibrations.  If turn the settings from rigidity as low as possible, I am able to get around 2000 impulses per turn, but data are very sporadic. In addition, my equipment must be very stiff, and with setting the lower rigidity for the servo driver, I can almost stop the engine with a minimum of force.  My equipment must be able to travel at a near constant speed with fluctuations of up to 200 N force.  Any suggestions on the direction in which I should go in search of a countermeasure?

    Thank you

    Experience with actuators is that they can produce large quantities of electrical noise.  I guess that noise can enter the signal of coders.  Look carefully at your wiring and make sure that you do not have a ground loop between your hardware OR and the actuator.

  • count the pulses ttl only on 2 V

    Hi I have a problem while I was trying to count a pulse ttl using the DAQ Assistant. The problem can be simple, but I just can't solve that since I'm new to LabView.

    There is a TTL pulse produced of our ODA that is about 30 ns width, 5V. I want to use LabView to perform the count of photons. But because of the noise, I want to put a number limit of 2V, so the software one count higher than 2V TTL pulse. But I can't do that. There is no option to set the limit.

    And our material is BNC-2110 and PCIe-6323.

    Can someone help me with this? Thank you.

    For a counter entry, the minimum voltage for logic there is 2.2 volts - a ttl level. And no, you can not adjust higher.

  • Build a simple counter

    Hi, I'm just getting started in LABView and I am a very slow learner. I have build a counter to count my gamepad operations as it is cycling on a tester of life. I put him in place to count the individual directional activations, but I join to have it count total cycles. I'm writing up to the VI I did so far. How can I do that after that he been rolled once in each direction (up, left, down, right), there is a cycle? Thank in advance for any help.

    -Pascale

    I think the only problem is that it's a loop so fast (10mS) at the point where the counter increments he already counted the next event.  You can add additional logic to prevent the inside while loop to stop until the direction of the joystick Returns Boolean 0.  The idea is that stop only once all 4 have been activated AND 4 are no longer in an active state.  I used the function NOT to make it more obvious that the logic was, you have also the output of arithmetic consisting be reversed but this watch only upward like a small point on the line of the value.

    Like the other post, I don't have a way to test this, but I think my logic was scientifically.

    Edit1: The post above beat me to it, and his suggestion would work just as well as mine, we just thought it differently.

    Edit2: I noticed in one of your posts above you mentioned that you want to count only when it has been activated in a certain order.  This VI does not work like that, it would take a more complicated logic to do.  I see two ways that could be made, but don't have the time to get out to see which would be best.  Good luck and have fun.

  • Logic multiply instead of relaxing break

    Hi all!

    Can someone help me with the meter by another,

    I want to produce modulated timebase, otherwise first generate impulses in continuous mode, and another did the same thing, but with a lower frequency.

    for example = 20 Hz f1, f2 = 0.1 Hz. The first counter blocked by another, there is no option to stop temporary counter1 where counter2output is in a low state of logic, I want to produce OUT timebase = [ctr1out] [logic multiply] [ctr2out], do not pause.

    ---

    Alexander.

    Hi AlexanderRyabov,

    If you want to produce a modulated time base, you should be able to do this by connecting the outputs of the 1 meter and 2 meter at the source and the door of a third meter. The low frequency counter would be connected to the door and would act as the signal to toggle meter of high frequency that is connected to the source. The result would be when the impulse of low frequency counter is high, the output of the counter 3 will expose the pulses of the meter high frequency counter 1 and when the pulse of low frequency counter is low, the output of the counter 3 is low for the duration of the door (counter 2) low pulse. This is equivalent to a logical multiplication of signals two against.

    Here is a link on how to deliver the outputs of the two counters at the door and the source of a third meter on the map you are using:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/2109

    I hope this information helps!

    Kind regards

  • logic error

    I'm having a problem understanding of logic in the attached vi.  It is a part of a larger system, and I put the normal entries to the values provided by the other vi to test this vi.  I do not understand is the value of the wire labeled "Output Increment" inside the logic of 'Run-Off' when the increment evaluates during the only browsing the vi (works in the same way in the application of the system).  At this point in the performance, the output of the increment is 56 when I was expecting a value of 1.  (The logic of "run on" above is similarly when ' RunOn/runoff' boolean is set to True.)  Also, why, when I probe wire node 'Run Off Counter Out', is the probe name "Run Off Counter In"?  I'm relatively new to LabView programming and would appreciate greatly any help.

    Thank you

    Mel

    Thanks for the help.  I figured it was something elemental, but I do not want to check the wiring, because the thread seems to go to the desired terminal.  All in all, a stupid mistake.

    smercurio_fc wrote:

    About the code: it seems awfully complicated.  What exactly are you trying to do? FYI: ANDing a Boolean with a real is redundant. It's like the multiplication of a number by 1.

    ____________________________

    Understand ablout the true.  The real replaced a parameter that is defined in a different vi and referenced here.  I replaced it so I could join only the a vi.   This vi is part of a much larger application that, under certain conditions, needs to use a time-out "run on" and in other conditions delay "Run Off".  The magnitude of the two delays is configurable by the user.

    Once again, thank you for the help.  I'll redouble my efforts to find this kind of error before you post.

    Problem solved.

    Mel

  • Generate digital impulses at the counter of Daqmx

    Hello

    I set up a counter so that when I apply an impulse to him, there are 1.

    I wish that she either while whenever it receives an input pulse and figures upwards by one, I want to generate a strong 'logic' for a short time, then go back to 'low '.

    How would I go to do this? I want this counter essentially be my clock and initiate events whenever a county is received.

    Hey mikeboxes,

    Here is an example of the old-but-good of how do you want:

    http://digital.NI.com/public.nsf/allkb/BA775B0E445BFA79482571FE0032CCEB

  • Accurate count all in iteration

    Hello ladies and gentlemen;

    So, I have the following problem.

    I want to know exact iterations a while loop is executed. The main problem is that, this while loop, doesn't always work, and sometimes he climbs to the next step of the program and return it to the same while loop.

    In the attached VI you can see a variable named Y, color RED is, in fact, this particular counting while loop. The thing is that, when he meets the condition and goes forward in the program, then it has a possibility to come back to this particular loop, but when she returned, I lose my iterations account and start again.

    The program is simple, it is just random numbers and whether it meets the conditions of > or< then="" it="" chooses="" the="" next="" path.="" the="" leds="" are="" there="" to="" know="" in="" wich="" while-loop="" it="" is="" runing.="" i="" have="" changed="" the="" wait="" in="" the="" while-loop="" i="" would="" like="" to="" measure="" so="" it="" can="" repeat="" itseld="" a="" lot="" if="">

    Thanks, if I explained too well, folds made me know.

    Kind regards

    IRAN.

    Here's how I would modify your VI to simply add the cumulative account (and not the other changes I suggested). I also put in the table indicator in there, so you should have a history of counties Y individual. I've shortened expects it 50 ms and the threshold to 99 to save time.

    Edit: I made another change: the logic in the second image of the flat sequence had many redundancies. The output is equal to the > comparison 50 at all tiems so I eliminated the extra code.

    Lynn

Maybe you are looking for