Using FieldPoint Quad510 to measure PWM

Can the FP-QAUD-510 be used to measure a pulse width modulated signal? Or are we going to have to use the Analog input module?

I do not believe an FP-QUAD-510 can be used to measure PWM. The FP-QUAD-510 requires two inputs A and B and increments or decrements the position count by the changing of A and B with respect to each other (e.g. AB, !AB,!A!B, A!B). Whereas the FP-QUAD-510 does also provide a velocity reading (counts/usec), wiring a single signal to A or B and will simply result in the count incrementing by 1 then decrementing by 1 then incrementing by 1 etc... This will not yield accurate results on the velocity reading.
Depending upon the period of your pulse width signal, you may want to consider using a FP-CTR-500 or FP-CTR-502 module. The counter modules can use internal clocks to allow you to measure the on-period of the signal. If you know the signal is always the exact
same period, by measuring the on-period portion of the total period you can determine the duty cycle. If the period of the signal will vary, then you can still use a counter module, but will need to use multiple channels (one for the on-period and one for the off-period) and an external inverter on the signal (you would feed the signal into one count channel and the inverted signal into a second count channel).
Regards,
Aaron

Similar Messages

  • Measure PWM input to NI using labwindows

    Hello,
    i want to measure PWM came out of controller. i use labwindows to develop this task.
    but when iam searching example of DQAMX inside counter examples i had found that i can measure pulse width OR i can measure period
    iam asking now i need to detect PWM (pulse width and period ) and i couldn't create the two handels on the same task......
    So please tell me what i can do to measure the twice at the same time
    thanks in advance

    Hello,
    Characterizing the frequency and duty of a PWM signal will require 2 separate tasks. A task for pulse width measurement and frequency/period will need to be created. Each of the 2 tasks will require separate hardware counters to do this measurement; you will have to wire the PWM signal into both sets of counters for the 2 measurements to occur simultaneously.
    Eric 
    Eric Liauw
    AE Specialist - Automated Test | CLD | CTD
    National Instruments

  • Use of Essbase types measures in Planning v.11.1.2.2.

    Hi. Can I use Essbase date type measures in Planning 11.1.2.2? I want to store contract start and contract end dates, possibly in a Measures dimension separate from the Accounts dimension.
    Thanks in advance,.

    Typed measures are not yet supported.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to use shared variables to measure analog input

    Dear All,
    I am using Real time remote system. I am using PXI-6259 card, PXI-8184RT controller and PXI-1031 Chassis.
    I want to use shared variable to measure and analog Input(voltage) from
    an analog input Channel.  I tried  attaching it  with the physical
    channel using the bind to source option but it idoes not seem to work,
    can any one give me any suggestions?
    Screen shot  of this is available.
    I tried using the Acq and graph example and deployed it to the RT but
    the Sine wave I input in the measurement channel  becomes highly
    distorted when I see it in the host.vi, there is also a Screen shot of
    this also. Is there any other option.
    What am I doing wrong? all suggestion are highly welcome.
    Thank you.
    Sincerely,
    Munir Afzal Bhatti.
    Attachments:
    SV2.jpg ‏2305 KB
    SV3.jpg ‏2305 KB

    You will have to give us the whole picture. What is your client computer; a PAC, desktop etc? What are you running on the client computer; a VI or an executable? Where are you going to deploy your library? On the host machine or the client machine?
    If I assume that you are running a VI on the client machine and are depolying the library on the host, all you have to do is to create another shared variable and bind it to the variable on the host machine. You can do this by checking the Bind to Source option when creating the variable and browsing to the network item in options. Be sure to have the library deployed on the host side before you attempt to do this otherwise you won't be able to find the variable.
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • I am using fieldpoint and labview to log and monitor the temperatur​es of my system. but i am not using Labview 6i with DSC, how can i do it??

    i am using fieldpoint 2.0 and labview 6i to monitor my system, but i think i don't have labview DSC.

    I have written a relatively large Fieldpoint application "just" using LV5.1 FDS, so it can be done.
    Fieldpoint can be seen as an external instrument, so you need to use the driver/vi's that comes with FP.
    I believe using DSC would only make the job easier for you.

  • I am using IMAQ vision for Measurement Studio, Ver6.0 with Measurement Studio Base Package,Ver6.0(Professional Edition).Can I work in IMAQ Vision for Measurement studio, Ver6.0 If I upgrade Measurement studio to Enterprise Edition,ver8.0.1

    I am using IMAQ vision for Measurement Studio, Ver6.0 with Measurement Studio Base Package,Ver6.0(Professional Edition).Can I work in IMAQ Vision for Measurement studio, Ver6.0 If I upgrade Measurement studio to Enterprise Edition,ver8.0.1
    Thanks
    Biswajit

    Howdy Biswajit,
    The IMAQ and Vision ActiveX controls you are using with Visual Basic 6 do not install with Measurement Studio. They are installed when you install the IMAQ software and include support for Visual Studio 6. Upgrading to Measurement Studio 8.0.1 will have no effect on your IMAQ controls since they are not related to one another. Purchasing Measurement Studio Professional or Enterprise packages allows you Visual Studio 6 support for other ActiveX components. Refer to this link for a list of ActiveX components included in those packages. 
    If you are asking about using the ActiveX controls in .NET, then take a look at this KnowledgeBase entitled Do NI-IMAQ and NI Vision Support Microsoft Visual Studio .NET?
    Hope this clarifies things!
    Best Regards,
    Jonathan N.
    National Instruments

  • Can I use virtual bench to measure/communicate with other device by I2C etc?

    Hi,
    Can I use vitrual bench to measure I2C/SPI/CAN by digital I/O or logic analyzer?
    And is it possible using digital I/O to communicate with other device by I2C etc?
    Thanks,
    Jimmy

    You might be able to get it to work (not sure how fast the DIO on the Virtual Bench can go), but for I2C, I would recommend using something that is actually meant for it, like the USB-8451 or USB-8452.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Using Fieldpoint Explorer, I am having trouble configuring outputs on my RLY-420 and PWM-520 modules attached to an FP-1000 network module

    I have noticed that I can not get my Relay module to turn off all of the channels, also I can only set the PWM modules down to ~4% output.
    I have tried to "Reset" the factory defaults on the FP-1000. I've tried to configure the powerup states of the different modules, all with no luck.
    I have made sure I am running with the latest firmware on the FP-1000
    I did notice this problem before upgrading the firmware. Immediately after doing the upgrade the problem went away for a short while. Now it is back again.
    My system is configured as follows:
    1 FP-1000 network module @address 0
    4 FP-TC-120 modules @1,
    2, 3, 4
    2 FP-TB-10 dual channel bases @ 5, 6
    2 FP-PWM-520 modules @ 7, 8
    1 FP-RLY-420 module @ 9
    Something seems to me to be happening with my .iak file in FieldPoint Explorer, of course I could be completely off base.
    I appreciate any insight anybody might have with this problem
    Kerry Libberton
    TDA Research
    Wheat Ridge, CO

    Kerry,
    There are several different things that may be going on here. First of all, there may be an issue with power consumption. A network module (FP-1000 in this case) is designed to source up to 9 Watts of power to I/O modules. This assumes an average of 1 Watt per module. Certain modules require more than 1 Watt, most require less leaving extra power for the ones that require more. In your configuration, you may be over this depending upon how your FP-TB-10's are populated. Assuming that the TB-10 is unpopulated, your consumption is 4 * 0.35 + 2 * .25 + 2 * 0.6 + 1.7. = 3.8 Watts. Thus, the load from the Dual Channel modules may not exceed 5.2 Watts. If you are using exclusively the Dual Channel Analog Out Current modules, you will overload the power supply.
    Anothe
    r thing to look at is when resetting the network module, check the box that says factory configuration. After the reset, uncheck the box and then configure your channels and power-up values (edit this device on each module).
    Also, there are some times when relays may get "stuck" in an on position due to extremely high inductive loading. I have not seen that happen very frequently, but it does make me wonder, what type of load are you driving on the relay channels?
    The PWM module, has 12 bit resolution, and will accept values of 0% for the output duty cycle. What value for the period have you set?

  • How do I use a counter to measure frequency and multiple analog signals in the same VI?

    I have a PCI-6071E, an SC-2345 with multiple modules, and a PXI-8184 (with a PXI-1002 Chassis).
    My goal is to monitor pressures, flows, temperatures, and speed in one VI.
    I am using Measurement and Automation Explorer version 3.1.1.3004 to manage my channels.
    My speed is a PWM signal which I recently rewired through the counter 0 of my board.
    I was hoping to configure this to read frequency directly in measurment
    and automation, have this scale the value to RPM, and then feed it
    directly in to my labView program.
    In labView, it will not except this signal though.
    I get error -200300 from the DAQmx Start Task.vi
    Possible reasons(s):
    Invalid timing type for this channel.
    Property: SampTimingType
    You Have Requested: Sample Clock
    You Can Select: Implicit, On Demand
    After doing some research, it seems that the counter wants "Implicit"
    selected for the DAQmx Start Task.vi, but then I cannot use my other
    channels. Also, counter is included in the "Sample Clock" option
    description, so I do not understand why it is not working.
    Does anyone know how to work around this problem or a way to configure the counter so that it will work in this way?
    All my other channels are Analog.
    Thank you.

    I am working on getting just the counter working by using
    the program posted previously, and I am running into issues. Periodically I get
    the error:
    Error -200141
    occurred at DAQmx Read (Counter DBL 1Chan 1Samp).vi
    Possible reason(s):
    Data was overwritten
    before it could be read by the system.
    If Data Transfer
    Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal
    before taking the measurement.
    It seems to work better if I use cascaded counters, but I need timer 0 for
    analog channels when I run this code along with the program for the other
    measurements.
    I have tried averaging, and selecting different values for the millisecond
    timer, and these did not seem to have an effect.
    I tried different DAQms configurations and "Counter DBL 1Samp" seemed
    to work the best.
    The program will work for a while and then it will give me the above error
    message.
    If I use counter 0 as a cascaded counter input, the program runs fine. If I run
    this with other analog channels, it errors out because the analog channels use
    counter 0.
    If I use counter 1 as a cascaded counter input, it seems to work better than a
    single channel, but it will still error out with the above error.
    If I use only counter 1, I get the error above even faster.
    Also, none of the
    configurations give measurements outside the While Loop.
    The only place I can add a speed dial for the front panel is within the While
    Loop.
    Is there someway to get the signal to continuously send out of the while loop?
    I thought if I could get the signal out of the while loop, I could condition it
    anyway I wanted without the program erroring out.
    Any suggestions would be much appreciated.
    Thank you.
    Attachments:
    Counter_error.jpg ‏45 KB

  • How to use single Timer to generate PWM PULSE, Pulse ON time measuremen​t, Event time measuremen​t1,Event time measuremen​t2

    Hi,
    I am planning to use a single Timer to generate PWM PULSE, Pulse ON time  measurement, Event time measurement1,Event time measurement2 some one please suggest me how can I achive this.
    Thanks in advance..
    Michael

    Hi Michael,
    It would be really good to understand your application a little more so that any specific needs that you have may be met. In the meantime, I would also suggest searching on ni.com for "pwm" or other keywords that relate to your application. You will see a faceted navigation on the left side that allows you to narrow your search for example code, tutorials, etc.
    Please post back with more information and the community will be able to help out with suggestions.
    ni.com search for "pwm"
    Mark E.
    Precision DC Product Support Engineer
    National Instruments
    Digital Multimeters (DMMs) and LCR Meters
    Programmable Power Supplies and Source Measure Units

  • NI 5105 - Measure PWM Waveform Duty Cycle

    Will the Positive Duty Cycle scalar measurement in the NI-SCOPE software calculate duty cycle correctly on a PWM (pulse-width modulated) waveform?  I have a 400Hz signal that is pulse-width modulated with a 40Hz signal that I need to measure the duty cycle for.  Since this is not a normal, continuous waveform (like a sine wave or square wave) I don't know if the NI-SCOPE software will correctly calculate the Duty Cycle.  Has anyone tried this with success?  I am looking at using the NI-5105 because it has 8 channels, but am open to using other hardware and just multiplex my signals to the digitizer.

    The positive duty cycle scalar measurement should correctly calculate duty cycle on your pulse.  By default, the measurement finds the base and top of your waveform using a histogram of the Y values (there will be peaks in the histogram at the base and top values).  Duty cycle is calculated from the 50% level crossings between these two values.  You must have at least one complete cycle and only the first cycle is measured.
    If that doesn't work for you, there are a plethora of parameters you can change (except for which pulse you measure - it is always the first).  For example, you can set the upper, lower, and level crossing values to specific % or voltage levels.  See the documentation and examples for details.
    If you need to measure the duty cycle of multiple pulses in the same pulse train, there is a LabVIEW function (Pulse Measurements.vi) which allows you to do this.  It uses the same algorithms as the internal NI-SCOPE routines.
    In either case, the measurement is independent of the hardware.  Any NI-SCOPE device will work.  If you have any other questions, let us know.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Measuring PWM duty cycle with Analog Input

    Hello folks,
    I have a NI 9205 module and was wondering if there was a way to measure the duty cycle of a PWM signal that I am generating with a separate microcontroller?  I have found a lot of examples with Digital inputs but not analog.. Is this possible?
    Thank you,
    Bob

    Hi Robert,
    I'm not sure what that error is, try searching for it.
    If you want to measure a PWM signal you would usually use a counter input.  A counter is a dedicated piece of hardware that is used to measure digital signals.  Since the NI 9205 is an analogue device and it doesn't have any counters onboard, you will not be able to select counter input.
    I would recommend you get the right tools for the job and buy a digital acquisition device with an onboard counter.  It will make reading PWM much easier for you.  The NI 6008 has a counter onboard and is only £99.  It will also offload processing from software to hardware since you don't have to calculate duty cycle.
    If you still want to use analogue post back and we can look into why its not working for you.  Tips to start you off: Voltage is the correct setting and  Look in the manual and make sure you have connected it like you have configured it (differential, RSE, NRSE page 14)
    Lewis Gear CLD
    Check out my LabVIEW UAV

  • Using FieldPoint to control step motor

    I am having problem positioning a step motor. Here is what I am using.
    Step motor 200 stp/rev. with a 500 line quadrature encoder
    A SS2000D6 SLO-SYN Drive
    Field Point FP-Quad-510 for the encoder
    FP-PG-522 for the Pulse generator
    FP-DO-403 for signals for the SLO-SYN drive
    FP-DI-330 for digital input signal for switches
    I am able to drive and control the speed and direction of the step motor also display its position. But I am having problem when I want to move a position and stop. I can see the counter working when it reaches the number I want to stop it flys by. If I slow down the step motor way down the encoder moves so low it counts in batches of 2 or 4. Does any one have an idea what can I try or do.

    Hello Toro,
    It's good that you listed all of your FieldPoint hardware, but which of it is relevant for this issue. From what I can tell, and please do correct me if I'm wrong, is that the FP-Quad-510 and FP-PG-522 is of relevance. You determine the location you want it to move to, and you then start the pulse generation according to the reading from the FP-Quad-510. Is this correct? The problem isn't the quadrature encoder measurements, but the pulse generation.
    Does the position change ever stop? How do you currently have it programmed such that it knows to stop at a certain position. There is a command used for the FP-PG-522 which will stop it's pulse generation immediately or on its next pulse. Page 8 of the FP-PG-522 Operating Instructions read:
    The Control command supports two actions: Stop Immediately and
    Stop After Current Pulse. Both of these actions can stop a finite
    pulse train. Stop Immediately stops pulse generation immediately.
    The channel goes into the idle state, and, if the output for the target
    channel is on, it is turned off. Stop After Current Pulse ends the
    current pulse train after the current pulse is finished.
    =====
    Let me know your thoughts, questions, and comments.
    Jared A

  • Report using Tabular Model and Measures based on Distinct Counts

    Hello,
    I am creating a report that should present something like this:
    YEAR-1 | MONTH-1 | MONTH-2 | MONTH-3... | YEAR | MONTH-1 | MONTH-2 | MONTH-3...
    My problem is that when designing the dataset to support this layout I drag the Year, Month and Distinct count Measure, but on the report when I want the value for the YEAR level I don't have it and I cannot sum the months value...
    What is the best aproach to solve this? Do I really have to go to advanced mode and customize my MDX or DAX? Can't basic users do something like this that seems so trivial and needed?
    Thank you
    Luis Simões

    Hi Luis,
    According to your description, you create a Reporting Services report using Analysis Service Tabular Model as the datasource, now what you want is sum the months value on year level, right?
    In your scenario, you can add the Month field to column group, add a parent group using Year Field and then add a Total on Month group. In this case, Reporting Services will sum the months value on Year level. I have tested it on my local environment, the
    screenshot below is for you reference.
    Reference:Lesson 6: Adding Grouping and Totals (Reporting Services)
    If this is not what you want, please describe your dataset structure, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Data acquisition time using Fieldpoint with Ethernet Comm Mod

    I am using a simple Labview program that is a simple Do While loop that gets a signal from a Fieldpoint AI module using a FP1601 ethernet communications module.  The signal is changing at a rate of 50 ms or so but I cannot get the program to read it quickly.  I am using a Wait Millisecond to control the speed of the acquisition and for some reason I can not get the data from the Fieldpoint module faster that approximately 0.7 seconds, even if I put 50 ms as the Wait Millisecond.  I tried to change the acquistion time of the AI module (it is at 10 ms) but this doesn't help. 

    Hardware filter setting was my hunch.
    Be aware the Fluke may be performing averaging internally and have a slower response time, thus your Fieldpoint data may be real. The only way to know for sure is to hook up an oscilloscope to the device.
    Can't suggest any specific filtering, it may depend on the nature of the 'noise'
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe you are looking for

  • Shared Services page does not open

    Gurus, I have installed and configured EPM and I am able to log in to planning. However, when I click on "Administer Shared Services" from the Planning page, it gives kind of web page error? What could be the issue with it? Do I need to do anything i

  • Simultaneous AO AI

    Dear all, The attached labview program (vsweep.vi) is part of a larger program which I have been using. This program should produce a linearly increasing AO voltage on a PCI-6229 DAQ(Dev1)  and simultaneously sample four AI channels on the same devic

  • I have a new computer and printer. i have installed the printer but it won't print.

    My print request shows up in the que(?) but will not print.  I don't know what to do to get it to print.  HELP!!!

  • How to use formatted text in a static text/laben(or other) component?

    Hello everyone, my web application reads a VARCHAR from a SQL Server database which is bound to a static text/label component. The problem is that I don't manage to include line breaks this way. Is there any way to do it? It doesn't have to be using

  • Link and Place no longer working

    Hi Friends, So, I'm linking table of contents text block to about 20 separate articles. Until about four days ago when I made edits to the the source TOC the articles would signal that an update was available. They no longer do this. And Yes the link