PXI R Series PWM Behavior

Hello,
I created a simple PWM using a PXI 7851R and it was working fine for the past month or so however now it is behaving oddly.  Previously if I provided a min and max output, the generated pulse would be between those two values.  Now what is happening is the generated pulse is always centered over zero with a min and max value equal to half the range between my entered values.  So for example if I wanted a pwm signal from 0-6V, I previously would enter a min of 0V and max of 6V but now that results in a signal from -3 to 3 "[ (6V-0V) / 2 ]".  As you can see in the snippet, all I'm doing is updating the AO channel with the max value, waiting, then updating it with the min value so I can't figure out why it is behaving this way.  I'm using an SCB-68A connector block so I thought maybe the switch settings got messed up but they appear to be set to direct feedthrough.  Any ideas why this is occurring?
- Will
Post CLD and when I'm a CLA when someone asks who I am, I can spin around in my chair and say "I am... the architect."
Solved!
Go to Solution.
Attachments:
pwm.png ‏69 KB

One of the AO channels on another connector block was shot previously so I was thinking this was a similar problem but it was actually just some plain dumb user error on my part and I forgot to put my scope in DC mode .
Post CLD and when I'm a CLA when someone asks who I am, I can spin around in my chair and say "I am... the architect."

Similar Messages

  • Programmatically selecting one NI-9505 module from a PXI R-series expansion slots

    How can I
    change the SoftMotion example entitled “position control closed loop- NI
    9505.lvproj”  in order to use it as a
    configurable sub-vi to drive serveral motors?
    in a PXI-RT
    box I’m using a PXI-7813R card, its ports are connected to several R-series expansion
    chassis’s  each of them driving three
    9505 Modules, i.e. 12 motors in total
    The problem
    is I didn’t find a way to programmatically define which 9505 Module the sub-vi
    should use, i.e which motor to drive.  Is there a way to archive this?
    thank you.
    A. Villa
    Airbus Deutschland
    Bremen, Germany

    Hello Mr. Villa,
    as the current and position control portion of your code needs to get implemented on the FPGA. That means, that the code needs to be mapped to the gates of the FPGA, which doesn't allow dynamical assignment of resources at runtime. So in your case you will have to implement the code for one axis and create multiple instances of it with modified I/O nodes for each axis. In contrast to the design rules of standard LabVIEW vis, you should work with a quite flat vi hierarchy with LabVIEW FPGA in order to save FPGA space.
    Kind regards,
    Jochen Klier
    National Instruments

  • Sending a message from PXI CAN Series 2 to device interface

    Is it possible to send a CAN message to a device interface? What VIs should be use? I need to send a single message ("x92") to a device interface in order to enable its function.
    Thanks!

    Great! That worked smoothly! Thanks DirkW
    We now have this VI that sends a message to enable a sensor and then starts reading raw data. We understand this data is CAN frames which now we need to convert to channel in order to get scaled values. We tried "CAN Frame to Channel vs 2_2_2" from NI but it needs some cRIO parameters that we don't have. We also looked at the "CANConversionLibrary" but nothing that applies to our case.
    How could we process the "Data" shown in the last column of the attached VI?
    Thanks!
    Attachments:
    CAN_Test_AmmoniaSensor.vi ‏44 KB
    CAN_Test_AmmoniaSensor_front.JPG ‏36 KB

  • PXI-6682 + multiple Serie S & M cards cause timestamp delay

    I'll try to give as much info as possible and hopefuly someone will have an answer to this problem.
    Language: C++
    Introduction:
    1- I have (1) PXI-6682 (Timing card), (6) PXI-6143 (Serie S (8 analog inputs each)), and (2) PXI-6224 (serie M (8 analog inputs each))
    2- Every card is a task (so that's 8 tasks
    3- Every card is in sync (they give data equal...more or less... to one another
    PROBLEM:
    1- Timestamp is off by up to 200 ms (not drifting...simply off by a set number of ms)
    2- Every call to niSync_ReadMultipleTriggerTimeStamp gives me a timestamp off by that much
    I don't have any info on how the tester managed to know it was 200 ms off, my theory is he tested it with some older equipment to validate the new one

    Hello there,
    Kindly help me with DAQmx Time stamp related problem as described below.
    Setup : PXI 6133 Qty 4 (Slot 3, 4, 5, 6)
    PXI 6255 Qty 1 (Slot 2)
    PXI 6255 doing a Continuous Acquisition at 1 mSec Sampling and 1000 samples/iteration.
    PXI 6133 doing a Ref Triggered Acquisition at 1 uSec Sampling interval and Pre and Post Trigger samples of 100000 Samples each.
    Test : PXI 6133 - Reference Trigger Configured on PFI 1 line of First PXI 6133 card.
                             input Signal given to AI 0 OF First PXI 6133 card.
                             All PXI 6133 cards are included in a single task.
    PXI 6255 - Input given to Channel 0 AI
    External Function generator - One Digital Trigger generated of width 50 mSec High Interval.
                                               Another signal generated for input to above cards. (Square wave of 10 mSec Period - 5 periods generated on the rising edge of trigger)
    So It means When I acquire square wave in my waveform, I can consider rising edge of square wave as a rising edge of trigger (as both signals are generated aligned from external function generator)
    I have attached Screenshots and programs I have used for that.
    Problem: As both singal are generated at a same event, Both 6133 and 6255 should acquire that singnal at a same timestamp.
    I have also read related documents about timestamp but I could not succeeded to find any link in this.
    I am getting square wave 100 msec earlier in 6255 then of 6133.
    If I used only single card of 6133 then that inaccuracy of 100 msec is shifted to 25 msec.
    Please help me as soon as possible.
    Attachments:
    Timestamp mismatch between 6133 and 6255.docx ‏377 KB
    Timestamp mismatch in 6133 & 6255.zip ‏70 KB

  • Timebase synchronization issue with PXI 6713

    As indicated in another post, I need to use a common timebase to all cards within my PXI chassis to synchronize my acquisition/generation DAQmx tasks.
    I performed that successfully by setting timebases of all boards from the 20MHz timebase of a E-series DAQ board.
    I have another system setup where I do not have E-series DAQ boards but only M-series. In this case, I tried to synchronize all the cards with the 10MhzRefClock of a PXI 6254 board. It seemed to work correctly, until I looked at the analog output signal of one PXI 6713 board.
    This device has 8 analog outputs, I performed as for DAQ boards : I set its timebase to a 10Mhz clock. When I have at least two outputs with hardware timing I observe on scope really weird signal : nothing is visible when all outputs are left to zero volt, but when another voltage is set, the output toggles at very high frequency between 0V and the setting voltage. When two outputs are set to values different from zero, the output also toggles but between these two settings...
    I thought it was a board failure, but I checked with another PXI 6713 and the behavior is the same.
    When synchronizing with a 20MHz timebase, everything is fine, but 10MHz clearly shows this issue. I checked the 6713 documentation, and it seems possible to use a timebase different than 20MHz.
    I attached a VI that illustrates the problem : I create a DAQmx task containing 2 AOs, where 10MHz timebase is taken from a M-series DAQ board. A hardware timed single point timing is configured and outputs are updated in a while loop. If you connect a scope to the first analog output, you will see the phenomenon.
    Everyting is fine when you select a 20MHz clock as a timebase. 10MHz leads to this issue. I also tried to synchronize through PXI backplane clock (i.e. /6259_1/PXI_Clk10) but it leads to the same problem.
    Please note that using the same 10MHz synchronization on DAQ cards (PXI 6040E, 6071E, 6254, 6259...) for AO works perfectly. I only encountered this problem with PXI 6713 board.
    Message Edité par Inpriser le 08-18-2006 02:54 AM
    Attachments:
    Synchro 10 MHz PXI AO.vi ‏34 KB

    Inpriser,
    You wanted to use the PXI 10MHz clock to synchronize to 6713s using the PXI capabilities. I’m afraid that since the AO series doesn't have a PLL, you won't be able to use the PXI 10 clock.
    I made a few search and found this:
     “Neither the 6713 nor any of the AO series support PLL synchronization. However, the M-Series does, though in that case you are limited to a smaller number of analog outputs. Regardless, the best option is using an Arb or other card that can use the Star Trigger, or an m-series device with PLL synchronization capabilities.”
    For more info’s about how to deal with PXI and PLL, please check this forum:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=11986&requireLogin=False
    I’m sorry to disappoint you, hoping you’ll manage to deal with that,
    Regards,
    BRAUD Jean-Philippe
    Field Sales Engineer - Nord et Centre France
    LabVIEW Certified Developper

  • Running a PXI with Windows 7

    Hey,
      I have access to three NI machines (PXI-1042 chassis, PXI-8186 controller) that can dual-boot with Windows XP and Labview RT.  Previously, these machines were used in the following setup: two computers attached via ethernet port, one running Windows XP and Labview 8.2 controlling the other running Labview RT.  However, I recently obtained a set of Dell Optiplex 780s, all running Windows 7, and have since installed Labview 2010 on each.  I have attempted to replace the Windows XP computer in the above setup with a new Windows 7 machine (with both the latest DAQmx drivers and the latest pxi drivers), and labview always tells me I don't have the correct plugins installed.  Are there better drivers out there? If not, how can I control a PXI machine with a Windows 7 machine?
    Many thanks

    Hello bjw5,
    At what point does this error pop up, when you click on Add device in the project>>existing devices>>and then choose the PXI? Was this project originally built in LabVIEW 8.2 and now saved to 2010? Do you have any other hardware you can try adding to the project? There should be no compatibility problems having a Windows 7 host computer. What version of the PXI platform software and DAQ mx drivers do you have?
    Researching this error dialog it usually occurs when the project contains .dlls or DAQmx custom scales or tasks. Are all three PXI systems exhibiting this behavior, or are you just setting up this one to start? I appreciate your answers to these questions. On a side note, please keep your posts to one forum, this helps us focus our resources on the support side. This most likely has to do with the network/RT setup versus the actual LabVIEW project.
    Thank you,
    Deborah Y.
    LabVIEW Real-Time Product Marketing Manager
    Certified LabVIEW Architect
    National Instruments

  • NI PXI 1042

    Hello!I have a NI PXI 1042 chassis.I want to make a voltage diagnose via serial port in the back of the chassis. Can I use Adlink chassis remote mon. application and as a cable to use serial to usb (Wenglor AB-USB01) converter?Do you know this Adlink application is compatible to NI PXI 1042 chassis?Also this cable I use it's ok, or I must have necessary RS-232 port on my laptop and use only standard RS232 cable?

    You really should read the manual (NI PXI-1042 Series User Manual).  That is NOT a serial port.  It is a connector that will allow you to measure the backplane voltages and apply a power supply inhibit (ie remotely turn off the chassis) using a relay.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to generate 8.192MHz clock on labview FPGA 7854R series card?

    Hi,
       I am using NI PXI-7854R series card which has Xilinx Vertex 5 FPGA on it. I am trying to derive a clock of 8.192 MHz from the 40MHz on board clock of FPGA. But it ends up giving me only 8MHz clock. Is there any way of accessing the PLL which is on Xilinx FPGA?
    Regards
    Solved!
    Go to Solution.

    If you are familliar with VHDL you can make your own "Component Level IP" (aka CLIP) with a Xilinx PLL inside.  There are topics in the help and examples showing how to define a CLIP.  Here is one that shows how to instantiate a DCM (similar to a PLL) in a CLIP:
    http://zone.ni.com/reference/en-XX/help/371599F-01/lvfpgahelp/fpga_clip_clock_ex_code/

  • How to set the coupling (AC or DC) of a PXI spectrum analyzer?

    I have a client that asked me the following question.
    At this time (today is a holiday in Canada), I do not have additional information as for which PXI module is used.
    I suspect that it is one of the PXI-5660 series (5665 maybe?).
    Does anyone have experience with this module?  And how to set the AC / DC coupling?
    Thanks

    Found it.
    For LabVIEW versions 8.2 and older, it is through a standard dll call. 
    Newer versions have the option available through a property node.

  • Location of connector in PXI-6040E and source of connectors and backshells?

    We are planning to use the PXI-6040E MIO with a short ribbon cable and need the location of the I/O connector on the back panel. Could you also provide the part number and source of a connector and backshell for 68 way ribbon cable?

    I'm not quite sure what it is that you want. Hopefully, I can do some questioning such that you can come back with a little more information for me.
    Looking at a PXI E Series device, do you want to know how the device signals route to the different pins via the pinout of the device? Do you want to know where the signals get routed on the back of the device, where it gets plugged into the PXI backplane?
    After reading your post, it sounds like you want to use a PXI card without using a PXI chassis. Is that correct? You want to connect a ribbon cable to it? Hopefully you can clear some of these things up for me such that I can provide you with a sufficient answer.
    I can direct you to some information regarding how National Instruments PXI Boards Map to the PXI Backplane. You can also find common cables and connectors in the following document - Multifunction DAQ Accessories.
    Sorry I couldn't be of more immediate help.
    Jared A

  • PXI MTBF

    I plan to deploy 10 PXI-4472's in a PXI chassis with chassis controller where maintenance access will be difficult and expensive. I would like to identify the most reliable chassis and controller and gain some insight into the predicted failure rate of such a system.
    What about the presence of the hard disk in the controller? Are there NI solid state replacements for this disk?

    It sounds like you're going to need a chassis over 8 slots. In this case, I'd recommend the 14 or 18 slot chassis (1044 or 1045 respectively) as adding additional MXI extensions will add more expense and more components. For the controller, I would recommend a PXI-8196 for an embedded option or MXI-Express if you're hoping to stream back to a PC with fast hard drives. The PXI-819x series of controllers use the latest manufacturing and design improvements for increased performance and reliability.
    For the hard drive, you can order solid-state but they are traditionally slower and much more expensive than the standard embedded controller hard drives. I would only recommend using it if you are going to put the system where it will experience vibration. If you do choose to use a SS HDD, you can have it installed through NI's Factory Installation Service (FIS).

  • Pxi 4070 protection

    Hello,
    I have a PXI 4070 DMM card, and I set the voltage measurement range to 1V. What happens, if the input gets 15V? Will the card be damaged, or is there any protection against higher voltages?

    The PXI 4070 does have input protection that is designed to protect the device from overload conditions. In the NI Digital Multimeters Help there is a section called Handling High DC Voltages which says that the input protection will engage when the signal exceeds about 15V when on the 10V range or lower for the PXI-4070. The behavior is that the input will change and look like a constant current. 
    The input protection circuit will protect your board from damage however I would not recommend designing a test that would rely on this if you can avoid it. It will not damage the PXI 4070 but it will take a little time to recover from this overload state before you can continue to make low voltage measurements. There is a caution about regularly relying on the protection circuit if you have a switch in your system because there will be current transients that can degrade the lifetime of your switch. 
    Steve B

  • Can I produce a frequency sweep a PXI-5652 from 1GHz to 2GHz and back down to 1GHz at a rate of 1KHz with RT?

    I need to produce a triangular frequency sweep over a range of at least 1GHz.  This sweep will start at 1GHz go up to 2GHz and back down to 1GHz and repeat the cycle.  I need this cycle to repeat at a rate of 1KHz.  The sweep must be as smooth as possible with the frequency steps being no more than say 1MHz.  I have a RT controller chassis that I can install the PXI-5652 into.  If I dedicate one of the processor cores to this function and reserve the second core for my data acquisition and processing do I have and chance or am I just dreaming?
    Thanks,
    Bruce Barnes

    Hi Bruce,
    If I interpret this correctly that you need to go from 1 GHz to 2 GHz and back to 1 GHz in 1 ms (you want to repeat this at a rate of 1 kHz) then this isn't possible with the PXI-565x series of RF Signal Generators. These have a tuning time of around 1-5 ms for one frequency step, and tuning from 1 G to 2 G in steps no greater than 1 MHz would mean at least 1000 steps.
    Regards,
    Andy Hinde
    National Instruments

  • Overflow in the CAN communication chip

    Hi,
    I received this error from a CAN Read vi :
    This error -1074388920 occurs in : CAN Read (Multi-Chan Single-Samp 1D Dbl).vi
    - NI-CAN:  (Hex 0xBFF62048) Overflow in the CAN communication chip.  This error occurs when frames are received back-to-back for long periods.  Solutions: Set Series 2 Filter Mode to filter out frames; Dedicate entire CAN card to receive high busload (transmit with 2nd card, receive another network with 2nd card instead and 2nd port).
    The can communication is initialised with no frequency, so it gets each new frame. We use only one interface of the can CARD, so we can't add a 2nd card for high busload problem.
    We try to put the filter mode parameter to Series 2 in the can init, but nothing change, perhaps I made a mistake here.
    The loop which gets data from can runs at 200Hz. Our hardware send data to this interface at an higher frequency. But with our initialisation type of the can, we should get the last read value?
    Our Hardware & Software:
    Labview RT 8.0
    Ni-CAN 2.3.2
    Use of a PXI with an MXI-4 card in the RT target.
    PXI-8461 Series 2 CAN card
    If someone have any advice...
    Best Regards
    Julien

    Hi Julien,
    First off, I would upgrade to the latest driver that supports your LabVIEW version.  In this case, I believe it is version 2.5.2.
    Then, I would look at the Series2 filter mode example from the example finder (its in the frame API folder, but the same settings can be used in the channel API...its just a nice tutorial like example to look at).  It sounds like you enabled filtering, but if you did not change the default mask/comparator, you will receive everything...so even though the filters are enabled, they are not doing anything.
    Let me know if that helps.
    O. Proulx
    National Instruments
    www.ni.com/support

  • Photo Slideshows in Dreamweaver

    I'm making an online portfolio and trying to have the option
    that users can scroll through the set of images at full size. I've
    tried several ways and cannot quite get it. Right now, I have it
    set up as a series of behaviors on a timeline. I set each layer to
    the exact same L & T coordinates. Also, my images are the same
    size. However, when you scroll throught the slideshow, the images
    are showing up in several different locations. I've tried automatic
    advances and manual, but I still have the same problem. Any
    direction would be greatly appreciated, even if it involves
    starting the process again. However, I don't know any code. Here is
    the link, thanks for your help!!
    Michelle
    http://mlarmand.iweb.bsu.edu/Portfolio/blue%20lab%20main.html

    "mlarmand" <[email protected]> wrote in
    message
    news:g9esb8$71t$[email protected]..
    > I'm making an online portfolio and trying to have the
    option that users
    > can
    > scroll through the set of images at full size. I've
    tried several ways
    > and
    > cannot quite get it. Right now, I have it set up as a
    series of behaviors
    > on a
    > timeline. I set each layer to the exact same L & T
    coordinates. Also, my
    > images are the same size. However, when you scroll
    throught the
    > slideshow, the
    > images are showing up in several different locations.
    I've tried
    > automatic
    > advances and manual, but I still have the same problem.
    Any direction
    > would be
    > greatly appreciated, even if it involves starting the
    process again.
    > However,
    > I don't know any code. Here is the link, thanks for your
    help!!
    >
    > Michelle
    >
    >
    http://mlarmand.iweb.bsu.edu/Portfolio/blue%20lab%20main.html
    Timelines are not very good. This is not free, but it might
    work for you:
    http://www.projectseven.com/products/galleries/lightshow/index.htm
    Al Sparber - PVII
    http://www.projectseven.com
    Fully Automated Menu Systems | Galleries | Widgets
    http://www.projectseven.com/go/Elevators

Maybe you are looking for

  • How to make a check box appear to the user when he does a specific action

    hi all i have created a check box and i want if the user does not do a specific action the check box appears ?

  • Error   1009 and I don't know what to do exactly, plz help me

    hi I wish that you could help me I am a beginner in actionscript 3.0, and I have a main swf file, with a menu and several buttons, when I click on each button, a new swf should be loaded, and the menu is resized and goes to the top left of the page,

  • How ti disable enter button in selection screen.

    Hi, Developed a  report and when execute the Tx code first i get selection screen and when inputs are given in selection screen and hit enter it will direct to module pool screen.. here after giving inputs in selection screen,ENTER and F8 button are

  • Halftones For Newspaper Reproduction

    How do I  get a halftone screen on the placed photos from a document? The new printer my boss bought prints so fine that the dots in photos become hard for the camera to plate. Yes I did say that, we paste up and flats are shot by a camera. The old p

  • MacBook Pro crashing-need help

    I have a MacBook Pro (mid 2012) running Mountain Lion. Today I hooked an external monitor to it, a Samsung 24" LED HD. It worked great for about 20 minutes and then the screen started flashing on and off. I tried to restart my computer and a window c