Pulse width modulation with a PCI 1200 board

Hello,
I Have a PCI 1200 board and I try to generate a pulse train with a period
of 500 ms and a variable duty cycle between 10% and 100% by step of 10%.
Does anyone know how to do this.
Thanks in advance
Michel Kocher

Does this help?
Attachments:
PWM-Counter_Output_Folder.zip ‏63 KB

Similar Messages

  • Pulse width modulation with daq mx

    Im trying to change the pulse width modulation on the fly with daq mx. All I have found so far are examples useing traditional DAQ, but not DaqMX. It would be a lot easier if I were to use DaqMX since I will be useing other daq applications in my program and would rather use mx.

    Does this help?
    Attachments:
    PWM-Counter_Output_Folder.zip ‏63 KB

  • Building delays in pulse width modulation

    HI there I am trying to build a vi to control a speed controller for a motor.
    The specification that the technician gave me is to produce a pulse width modulation waveform with constant gap time and variable "on" time.
    This will give the motor a variable speed that can be manipulate.
    I already build a pulse width modulation vi but I don't understand how can I make the gap time constant eg 20ms while varying the on time 1-3ms.
    Is there a method that I could use or an example that I can look at? Any help will do thanks in advance.
     ill attach my current vi.
    Solved!
    Go to Solution.
    Attachments:
    pulse.vi ‏20 KB

    You want to vary the ON time between 1 to 3ms? 
    Did you do a search using the keyword "pwm"?  There are many posts that have examples.
    The idea is that you want to preserve the same frequency and change your duty cycle.
    (Example)
    Let say you want a waveform at every 20ms, which translates to 50 Hz.
    2 ms is 10% duty cycle, 1ms is 5% duty cycle, and 3ms is 15% duty cycle.
    Did I understand your question correctly?  Somehow, I feel like I missed something..

  • Pulse width modulation on sbRIO 9631

    need to control 150 RPM DC motor with help of pulse width modulation from sbRIO 9631. need a simple VI in which i can take some DIO's and with help of a slider i can increase or decrease speed of motor simultaneously. 

    A 12V geared DC motor is hard time figuring out how to control or maintain it.Torque in from speed 0 to 150 RPM.

  • Throttle body PID control using pulse width modulation

    Hello all,
    I am trying to do a PID control for a throttle body (using pulse width modulation) for a set value of feedback voltage. The process variable is the pulse width duty cycle. The throttle body is expected to be fully open at a feedback voltage of 5V and pulse width duty cycle of 42.5%.  When I use the highlight execution using the attached file, I can see the throttle body fully open (the values observed are: PID output 42.5 %, feedback voltage approximately 4.7V). However, when the highlight execution is unclicked, the throttle body flutters in the closed condition (still PID output 42.5%, feedback voltage approximately 0.9 V). Can any one please help by suggesting any modification to this attached file to make this throttle body respond to the set value of feedback voltage.
    Many thanks 
    Ajith
    Attachments:
    Throttle body control using PWM technique - PID.vi ‏525 KB

    How did you determine your P, I, and D gains? If you have not tuned your controller, you'll get poor performance. Running with execution highlighting will slow down the execution, which will change the effect of the gains. I would start with pure proportional control (I and D = 0) with a small proportional gain, and see if it responds in approximately the way you want. If so, then your code is probably correct, and you just need to do a full tuning to get good performance. There are many resources available on the web, on this forum and elsewhere, for PID tuning. Note that since your code uses a simple PID example, and not the one from the PID toolkit, the gains do not have the units that are used in many tutorials so you'll have to correct the calculations to compensate.

  • Pulse width modulated signals

    Is it possible to generate a fixed frequency with variable duty cycle signals using counter/timer channels of my DAQ 700?
    If yes, is there any example I could download?
    If no, I am looking for a DAQ card that can handle
    the job, I'd appreciate any recommendation.
    Another part of my project is to read in a analog signal while generating this pulse width modulated
    signal. So far I am not very lucky with one DAQ,
    I am thinking of getting two. Does it sound overkill?
    Please help.
    Thanks

    Could you provide a timing diagram for your digital signal?
    I am a firm believer that a digital output device such as an NI timer can create any signal, given the proper software or hardware. I once did a high speed, gated, triggered data acquisition with only a single NI timer chip on the AT MIO 16E-1. It required about 75 feet of BNC cable, more PFI wires than you can imagine, four external logic devices (AND and OR, NAND and NOR boxes) all interconnected and basically tangled. I don't think I could repeat that setup without my documentation, but the point is, it worked.
    The most important thing from that example is that I used a timing diagram. These are so vital in digital IO and timer applications that its not funny.
    If you can't determine ho
    w to do what you need from a timing diagram, just send me a copy, let me know what the basic specs are of the DAQ 700 (how many counters, interconnect capabilities, etc) and I can try to help.
    Good luck.
    As far as reading the analog signal at the same time...well, look at my example. I generated the trigger/gate signal with the card, and then read in the analog data (on several channels simultaneously.)

  • PCI 1200 board 2 channel acquisition error -10403

    I have been acquiring single channel data using a PCI1200 board/Igor Pro 4.01 software and NIDAQ tools 1.22 on a Mac running OS 9.2.
    I want to acquire triggered data traces on two channels simultanously. While I am able to run the acquistion in a continuous mode, when I try to acquire a single time limited trace on two channels simultaneously i get an error -10403.
    Is this application possible using this board.

    Ben,
    Your description makes it sound like you are attempting to perform a finite acquisition of two analog input channels. This is definitely possible with the PCI-1200. The description of error -10403 is the following:
    "The specified device does not support the requested action (the driver recognizes the device, but the action is inappropriate for the device)."
    It appears that the IGOR NIDAQ Tools software is making a call to the NI-DAQ driver that is not supported by the PCI-1200. Thus, you may want to verify with WaveMetrics that the IGOR NIDAQ Tools software supports this particular operation. Below, I have included a link to their support resources:
    WaveMetrics Support Resources
    Good luck with your application.
    Spencer S.

  • Lenovo x240 and PWM (Pulse Width Modulation)

    Hello everyone!
    Does Lenevo Thinkpad x240 use PWM (Pulse Width Modulation) to control screen brightness?
    If so, is there a flickering effect like in this video?
    https://www.youtube.com/watch?v=SpDdy9jSx7Y

    There is an analog modulation with which there is no pulsation at low brightness levels. For example, HP Elitebook 8740w. Watch video: http://www.youtube.com/watch?v=Dk4ckdQ9rvE
    How poor the implementation of PWM (if x230 has PWM) is in this model?

  • Cannot Find Pulse Width Modulation(FPGA, Use in SCTL)

    Hello All,
    Can someone tell me where I can find Pulse Width Modulation (FPGA, Use in SCTL).vi? I couldn't find it in LabVIEW Example Finder.
    Thanks
    Message Edited by John Edwards on 02-01-2009 09:30 PM
    Solved!
    Go to Solution.

    Here it is...
    Attachments:
    Pulse Width Modulation (FPGA, Use in SCTL).vi ‏43 KB

  • Using pulse width modulated signal (square wave) to control when a signal is turned on or off

    Using pulse width modulated signal (square wave) to control when a signal is turned on or off
    Greetings All
    I'm trying to use a labview created pulse width modulated signal (square wave) to control when a signal is turned on or off.
    Here's my logic and graphic example:
    1) The source wave signal is continuous
    2) Use a PWM (square wave) created in labview to control when the signal is turned on or off
    3) If PWM signal (amplitude) is greater than 0 play signal if PWM is not greater than 0 don't play signal.
    I'm actually using this to step sequence / pulse several separate magnetic coils using my audio card (which has several audio output channels), I have a signal in labview played constantly.  Than compare it to the PWM (square wave) which controls if the signal gets played on each separate channel or not.  That way I can control which coil is on and off and in what sequence they are activated. 
    I couldn't find an edge detection for a square wave created in labview so I tried Limits but that doesn't seem to work unless I change the phase manually and that only goes from 1 to -1.  I'm just trying to compare the PWM (square wave edges) already created by labview / play a signal if the pulse is greater than 0 and it turns off the signal if it's less than 0.
    Should I be doing this another way
    Tia
    Message Edited by sal22 on 08-16-2009 06:09 PM
    Message Edited by sal22 on 08-16-2009 06:10 PM
    Solved!
    Go to Solution.
    Attachments:
    PWM control signal block.png ‏23 KB
    PWM control signal front.png ‏48 KB
    pwm test.vi ‏36 KB

    Greetings,
    I tried it two ways using amplitude and levels and fft spectrum.  The values don't seem to update the way I need them to (basiclly showing a 0 or a 1).   I compare the Y values like you recommended but they don't ever seem to update.
    tia
    Message Edited by sal22 on 08-19-2009 10:05 AM
    Attachments:
    pwm magnitude not updating.png ‏29 KB
    pwm test.vi ‏41 KB

  • Does the new ipad use pulse width modulation to control the brightness of the display?

    Does the new ipad use pulse width modulation to control the brightness of the display? I have photophobia and migraines and am unable to use displays that use this technology due to it triggering a headache.

    You'll have to go to an Apple Store and view the screen to see if it's OK for you.  If a store is not convenient, buy one from Apple online and check it out.  You have 14 days to return it for a full refund, no questions asked.

  • Pulse width measurement with MultiQ

    I am trying to measure the pulse width of a signal with my PC, and I
    just have Quanser multiQ PCI board that can do A/D,D/A,timer, encoder,
    can any one tell me how can I do it? do I need to use the labview ?
    thanks,
    Clark

    I looked at Quanser's web site and couldn't find any specs on the board so I hope you have the information to answer the question. If the board has counter timer circuitry, then you could use that depending on the width of the pulse, the accuracy of the daq board's clock, and the resolution that you need for the measurement. If you just have the A/D to use, then it might be possible to acquire a signal with the pulse in it and then use software to analyze the acquired waveform data and calculate a pulse width. Again, it would depend on the acquistion rate of the board and the pulse you're measuring. A narrow pulse with a slow acquisition rate is not a good combination. What software you use is optional. If Quanser provides a software utility that can do it a
    ll, use it. If Quanser has a LabVIEW driver, than that would work too. If my answer seems a little vague, it's because you need to provide a bit more information. If no else chimes in with experience with Quanser boards, the best for a detailed answer would be Quanser.

  • Can I use SCC-DI01 modules with a PCI-6533 device?

    I am looking into performing buffered acquisition of various digital signals using a PCI-6533 device. Can I use SCC-DI01 modules with this device? If so, would this be via the SC-2345 Carrier? The manual seemed to suggest is was only compatible with E-series devices?
    Basically, I want to monitor 32 digital channels and will have a mixture of 5V and 24V signals.
    Many thanks,
    Douglas

    Hi Douglas
    Could you please clarify where the manual suggests that the module is only compatible with an E series board (is it because only an E series board is referenced in the manual)?
    I can't find any information stating which devices are/aren't supported by the SCC-DI01, but I will continue to investigate and keep you posted with my progress.
    Kind Regards
    Stuart R

  • Pulse width measurement with FieldPoint CTR-502

    I would like to measure the pulse width of a signal (ranging from 10 ms to
    400 ms out of a signal with period width of about 1 second). I would like to
    use a fieldpoint counter module FP-CTR-502. I could find examples on how to
    measure frequency but I did not know how to alter it in order to obtain the
    pulse width.
    Thanks,
    Martien

    To measure pulse width of a fixed-period signal, you only need to use one counter, so the configuration and program would be different than the frequency measurement example. Set the count source for counter 0 to "32kHz Reference" and the gate source (and wire your signal) to "Gate Input 0." You'll also need to create a control channel to reset counter 0 (as described in the frequency example).
    Your LabVIEW program should run as follows:
    - When Gate Input 0 becomes true, do nothing
    - When Gate Input 0 becomes false again, read then reset counter 0
    - repeat
    You can use FP Advise to wait for the gate to change (just like the frequency example).
    Once you have the number of counts, you can divide that by the frequency (32 kHz) to calculate the "on tim
    e" (pulse width) of your signal.
    Regards,
    Michael Shasteen
    Applications Engineering
    National Instruments
    www.ni.com/ask
    1-866-ASK-MY-NI

  • How to avoid dependance between output digital port with a PCI 1200 daq card?

    Hello,
    I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex)
    I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98)
    How to configure a robust state (high logic level) on a line of a port??
    Does anybody have an idea on this problem?
    Thanks a lot in advance and happy new year to the community
    JF LAVEZARD

    jflab a écrit:
    Hello,
    I don't manage to fix the state of a line on one port (PA0 for ex) without change the state of another line of another digital port (PB0 for ex)
    I use a PCI 1200 Daq card with Labview 5.0.1 (under Windows 98)
    How to configure a robust state (high logic level) on a line of a port??
    Does anybody have an idea on this problem?
    Thanks a lot in advance and happy new year to the community
    JF LAVEZARD
    Hello,
    I've found the problem
    The PCI1200 has a chip 8255 for Digital I/O
    If I use the bad VI, it reconfigures the port and all the lines go in a low logic state
    so I'd to write only on the port or the line without reconfigure the port
    So the good VI in the palett is: Port Write and not Digital Port write!
    See attached file..
    Thanks
    Best Regards
    Attachments:
    port_dio.jpg ‏771 KB

Maybe you are looking for