LV FPGA 2009 PID.vi Scaling Question

Hey All,
I have been using the PID.vi in the FPGA module in LV 8.5.  I have upgraded to 2009, and the PID vi is different now.  Instead of taking in I16 values for the Kc, Ki, Kd  value, it now uses FXP 16 bit, with an 8 bit integer value.
I'm messing around with my Host now, trying to figure out how to scale the values properly.  I was using the "niFPGA ScalePIDGains.vi" from the "Using Discrete PID - R Series" example.  This example is the same in LV 2009 compared to 8.5, in that it still scales the values to I16.  How would you properly scale the values to the 16 bit FXP value that the FPGA vi is expecting?
Thanks
Solved!
Go to Solution.

Bones349,
Here is some great information on the Fixed-Point data type. You could try using the To Fixed-Point Function to convert various other data types to the fixed point data type, or you can try wiring the I16 straight into the PID VI as it appears to do the conversion for you.
Ben Sisney
FlexRIO V&V Engineer
National Instruments

Similar Messages

  • Is there possible to save LabVIEW 2009 +FPGA 2009 source as 8.6 version.?

    Hi,
    I am using Labview 2009+FPGA 2009 development software. But my customer only have the Lv8.6's license. so i hope to know does the source code of LabVIEW 2009  +FPGA 2009 can be saved as 8.6 version? As I know, the labview of 2009 code can be saved to the earlier version. But i am not sure if the FPGA code work or not.

    Hi ivan,
    just try!?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Getting started, clients per AP & scaling questions

    Hi.
    This is my first time into the wireless side. I need to scale a solution for a large campus. I have an idea of the number of APs required to cover the area, but I don't know how many end users can connect to a given AP, and presume there is some limit? I'm particularly interested in how to do this in auditoriums where it is a large open space, but with many delegates. So is there a general rule of thumb on "not more than x users per AP"? The plan is to have all APs linked together using a WLAN controller.
    Other question: is there any functional difference between having dedicated 4402 / 4404 WLAN controllers and using a WISM service module in a Catalyst 6500 series switch?
    Thanks in advance.

    Hi Leolaohoo (cool name btw!)
    The number of APs is/was an (un)educated guess. Having looked at the architectural drawings, I have an idea, but as I'm still in the process of discussing this with the customer, I have put a disclaimer in the number quoted, stating that the number may change and will be confirmed following a wireless site survey. But this is new territory for me, and I'm not too sure how best to do a site survey. Would this be something that I could do, with the correct equipment? Or is it best left contracted to some specialised wireless expert?
    [i]"I am very surprised that as a first-time user you actually thought of considering this informatin. You have no idea how many people ignore this fact during the designing phase."[/i]
    Thanks. Scaling and solution architecting is part of my job description and I thought there must be a limit. But appreciate that there's also a limit to the number of APs you can have in the same vicinity as they can interfere with each other.
    Regarding your comment on WLC and WCS, am I right in believing there IS a licensing cost for WCS? Also, am I right in believing that you don't need WCS to set up a WLC, but it makes it a bit easier (like a nice web GUI instead of command lines on the WLC units)?
    Also, if I were to have two WISM modules, one per Catalyst 6500 switch (in non VSS mode), I suppose they work as a main / backup ? In which case, how can they be synchronised? Is this a particular case where WCS helps as it oversees both units simultaneously?
    Thanks for the help so far!

  • CS6: Symbol 9-slice scaling question

    I hope someone can help me with the 9-slice scaling of a symbol.  I have a simple frame symbol:
    I want to stretch the symbol vertically while protecting the curved corners. I experimented with the 9-slice scaling feature, but I haven't hit upon the right positioning of the guides.
    I fail every time I try to scale the symbol with the corners protected.  I know I am doing something wrong, but can't figure out what! 
    (By the way, the forum software was doing strange stuff when I authored this post. The images kept appearing at the beginning of the post and not where I inserted them, and the first part of my first sentence kept disappearing.  I re-typed it 3 times and hope the final post appears like I want it to. I can't find a preview function.)

    Thank you, Monika!  Your question led me to the solution!  The original artwork was a glyph from a font that I had purchased.  I simply dragged the glyph to the symbol palette.  I've done this often with fonts that I only needed to re-size as a whole, so I didn't realize that the kind of source object would affect the ability to use the 9-slice scaling on the symbol.
    Creating an outline of the glyph (TYPE - CREATE OUTLINE) before dragging it to the Symbols Palette solved the problem!

  • Cropping and scaling question

    I have a simple question. Maybe it's an easy one. I'm making a movie. I'm shooting with a Panasonic dvx100 camera. Now in one scene, there's something I don't like at the edge of the frame (I should have zoomed in tighter). I tried cropping a little and scaling up to keep the frame at the same size. Is there any reason why I shouldn't do this? If there is, I can work around it. It's not imperative but it would be nicer. I guess what I'm wondering is if this will affect the quality of the video very much. It looks OK. I don't immediately see any big change in the quality. But If people advise me not to do this for some reason I will avoid it. I don't want to compromise the quality of the video.

    I'm such a fool I'm not even sure what "DV25 codecs" is.
    I'd love some simple directions about settings I should make sure I'm adhering to when I edit. I shot in 24p with my Panasonic dvx100.
    But what a fast reply!!!!
    Maybe you answered my question:
    So if I don't scale more than 10% I'm kind of safe????
    Because I'm not scaling more than that I don't think.
    So if I keep it kind of slight I shouldn't worry?
    And I guess it's just elementary that for each crop value I scale up the exact amount and there's no special reason to worry about this.
    I mean I'm kind of a technical dolt. I just want to make sure I'm not messing up anything important as I edit my rather long movie.

  • Mac mini (mid 2009) - Samsung TV - Audio Question

    Hi,
    I have a mid 2009 Mac mini and want to connect it to a Samsung TV (UE32EH4000).
    The TV has HDMI ports but no audio in - is there a way of getting audio from the mini to the TV?
    Thanks a million in advance,
    Rob

    Are you sure the monitor has no audio in ports?
    For information, there is no mid 2009 Mini. There are early 2009 and late 2009 Mini. The latter one's graphics has 256 MB of video memory and the former 128 or 256.
    In any event, the the min display port to HDMI adopter only suppies video on the any 2009 Mini.
    http://support.apple.com/kb/HT3382#4
    You can use someting like this:
    http://www.monoprice.com/Product?c_id=101&cp_id=10114&cs_id=1011405&p_id=8124&se q=1&format=2

  • Graph scaling question

    Using the graph palette tools on a XY graph having 2 Y scale, I would like to scale the first Y axis without changing the second one. I use LV 6.0.2. Any tips? Thanks

    If you simply right click on the scale in question, you can format that. Just be sure to uncheck the Autoscale axis on the pulldown menu.
    eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • Early 2009 Mac Pro Memory Question.

      I currently upgraded to 4GBx3 from OWC.  I want to fill the last slot and contacted OWC.  They told me that I had to purchase  2 modules as they are in pairs.  Went to crucial and they said I could add a single 4GB.  I am a little confused about this so looking to the community for assistance.
    Stephen

    Your sales rep at OWC needs to be sent back for re-training.
    The 2009 and later Mac Pros have optimum memory performance when memories are installed in trios. The penalty for installing only two, in real-world performance terms, is about five percent. The penalty for installing four is smaller than five percent, and is generally swamped by the general increase in performance from having more memory.

  • Panini Scaling Question

    Hello,
    Firstly, great product! And Panini is already an excellent leap forward.
    I'm curious about how to give an asset in my layout the characteristics of the "noBorder" StageScaleMode constant from within Catalyst (or builder, as the case may be). So essentially I want an asset (ie an image) to maintain it's aspect ratio (and crop if necessary to stay inside it's relative dimensions) rather than NU scaling and "stretching" as the window resizes.
    If this is not possible, I was contemplating creating a Flash project with these characteristics and then exporting the SWF file and using that in the FXP file (a dream within a dream ). The problem there is that I have no clue how to code the initial file in flash so I thought I'd ask here first.
    Thanks in advance
    - Leigh

    *update* Apparently it didn't work in preview because it doesn't really work at all - I think I had the original SWF file in my cache and it fooled safari when I opened up the catalyst version.
    So, example files:
    http://vision-studios.ca/dennycrane/catalyst/test.html
    is basically the idea I'm going for - the image resizes and crops but never distorts. Except that I want this functionality embedded in a smaller area in catalyst rather than the whole thing (ie the interface moves dynamically).
    However, when I do that, I end up with this (if you get the same result as above you may have to clear your cache... what I'm seeing, from both firefox and safari from my macbook pro and my tower is the image at around 200% not scaling, kinda like the problem in pre-panini catalyst when you tried to have the file scale) http://vision-studios.ca/dennycrane/catalyst/headache/Main.html (...and I just reloaded this file again on both computers when I went to add the link and now it's scaling down but not cropping to fill the screen... I'm wondering if maybe it scales back once the whole file is loaded? It's overly large still, 1.2 mb, I haven't optimized anything yet.....). This is just a test with the Flash CS5 file inserted into the Catalyst project and exported to an SWF. To get the effect in the SWF above I added some simple actionscript to the FLA, nothing other than
    import flash.display.StageScaleMode;
    stage.scaleMode = StageScaleMode.NO_BORDER;
    If I embed the image into my mockup frame work then the entire thing expands 200%, maybe more, which of course makes it all entirely useless.
    I can provide FXP files if this will help???? I'm starting to get the feeling this simply is outside of Catalyst's capabilities still... I'm already breaking brand-new software! Or maybe it's a problem with the SWF I'm embedded?
    Help!

  • Simple scaling question

    Hi, I'm trying to create a WYSIWYG editor. I have a form, with all the elements specified in picas, i.e. 72 pixels to an inch. I'm then taking all these coordinates, and converting them to labels and placing them on a panel. However, the coordinates aren't scaling. So if my screen DPI is 96 (as told by Toolkit.getDefaultToolkit().getScreenResolution) and the coordinates are in 72 DPI, one would think that I simply scale all operations by 1 1/3 (a.k.a 96/72). However, this doesn't provide the required layout.
    Now, I could be wrong, but 96 DPI means that for every physical screen inch shown, there are 96 pixels, right? Therefore if my width is 36 in 72 DPI, it becomes 48 in 96 DPI, correct? However, I know for a fact that it's not doing that. Even though I scale the width, it still does not show up as 1/2 inch in 96 DPI (I know, I measured it with a ruler).
    Any ideas on what I'm doing wrong? Any suggestions? Also, I've tried using graphics.setTransform(graphics.getDefaultConfiguration().getNormalizingTransform()) and the same except with transform instead of setTransform, and nothing happens. Any ideas how to make the scaling stick? I'd hate to have to scale every single time I wanted to do something. Finally, can fonts and such be scaled? I was hoping to make a single call to the graphics object that would ensure every future operation was scaled, but I'm thinking that's not possible.
    Thanks for the help.

    DPI is for printing. Onscreen, we use pixels. Depending on the resolution of the monitor screen, images will be different sizes. Depending on the resolution and DPI of the printer, images will also look differently. Now, if you are scanning, DPI gets translated into pixels, but I don't see how you can assume the reverse is true, because there is no concept of DPI on a computer screen. We don't measure in inches. If I'm wrong, somebody correct me, but I'm pretty sure about this.

  • 64 bit LabVIEW FPGA 2009 driver for Xilinx SPARTAN 3E Starter Board

    dear i need this module
    we i install the module that i hava this appear to me
    LabVIEW Support for Spartan-3E (incompatible with 64-bit platform)
    is thier a version to supprt  64 bit???
    best regards
    hi ?Q>
    Solved!
    Go to Solution.

    bad news
    i will use Virtual machine to solve the problem
    bet regads
    hi ?Q>

  • Flash Full Browser Window & Scaling Question

    Hi all, I am trying to develop a site that will be able to
    have the entire browser screen a flash movie. Also, how do I scale
    it so that the image in the middle stays the same size but the
    background scales depending on how far you drag the browser window.
    It is very popular in Flash design now, and I just cant seem to get
    it to work for me. Below are a few examples of what I am trying to
    achieve. Thanks in advance.
    http://www.matthewcross.uk.com/
    http://www.jimkorpi.com/main.php
    http://www.gregnatale.com/site2.html
    http://www.jimherrington.com/load.html

    Hmm. I had a look at all 4 links to the sites you posted.
    VERY COOL sites. I shall be watching this thread closely 'cause
    this is what I'm trying to develop. I'm busy trying to re-design my
    photography website in Flash and have the same problem... I cannot
    get it to scale 100% of all browsers - only the resolution it was
    designed at (in this case 1024x678. Even so, when I import the HTML
    file from Flash to Dreamweaver, it has a invisible border of a cm
    or so around the edge of the screen so the graphics don't extend to
    100% of the browser.
    Many thanks in advance

  • Illustrator scaling question.

    Hello all,
    This is my first post here, so please go easy
    We create a lot of graphs from scratch (not using the graph tool) and I am looking for a way to scale graphs from fig1 to fig2 (below) without the 'points (red dots)' distorting fig3.
    Would the solution be; the data points be a symbol with locked proportions? (is this possible).
    Any ideas/solutions greatfully accepted.
    Thanks you for your time,
    Paul

    Since you are using an unequal scale, it will require another step. Shift select the circles and from the Effects menu choose Convert to Shape>Ellipse. Use the Absolute part and give it a size like 0.1 in (or what ever you like, you can always edit the size from the Appearance panel) and then use Object>Expand Appearance and the Ungroup.

  • Scaling question

    I've been working a lot of hours on this project and would like, on certain pages have the option to open a separate page (browser window) that will have that screen in a larger format.
    I've tried creating the page and it works.
    I've even stripped the JavaScript stuff and it still works.
    What I'm wondering is this.
    Is it better to create the larger version and scale it down for the regular page or create the smaller version and scale up or just create two separate versions?
    http://robertensing.com/help/Snow_Leopard_System_Prefs.html has an option to open the page in a new browser window which is currently the same size.
    Hope that makes sense.
    Robert
    PS Got my Captivate delivery yesterday.

    Hello,
    Downscaling is always better than upscaling (logically). Try however always to keep the width-height ratio, to limit quality loss.
    Lilybiri

  • Another scaling question

    Hi, I'm making a personal portfolio website and I'm having the same problem many people have been having with flash catalyst not allowing you to scale your content to fit in the browser. I have read most of the other threads on this and followed the directions on this article ( http://flashcats.net/2010/06/08/making-a-catalyst-swf-scalable/) and it still didn't work for me...
    my website isn't done but I have published what I have so far so you can see my issue, http://www.tyler-barker.com. so those three grey slide out bars (the one for architecture isn't functional yet) should line up with the left hand edge of the browser at all times because i don't want a white line to the left of them. The effect i'm going for is that they slide out from the side of the page. Same goes for each "scroll panel" components (in the photography bar after you click on a photo) that all the image sets are based in, I want it to line up exactly with both the left and right sides so when you're scrolling it looks like its coming out from the edge of the browser.
    First I tried to just lock the browser window to specific dimensions when you load the site but after reading on how to do that its kind of complicated to take into account how all the different browsers deal with dimensions. So now I'm trying to figure out how to scale the flash content as a whole to whatever the browser size is and so far the directions posted haven't work for me.
    To sum this up, I need help with two things
    1: getting rid of vertical or horizontal scrollbars
    2: making sure I don't have any left or right borders (top and bottom are fine)
    thanks in advance for any help!

    Alright I locked the content the to the left of the page, so that problem is fixed...but it still won't scale

Maybe you are looking for

  • Preventing saving of pdf docs in X Pro

    Hi Is there a way to prevent people saving a pdf doc onto their hard drive in Acrobat X Pro? Perhaps by removing the 'save' feature or toobar etc, or any other way? The aim is so that people won't email a confidential document to others. (I know abou

  • Using Objects to Initialize Static Fields: Good or Bad

    I have a Command interface and a bunch of Commands that implement it (i.e. CmdJoin,CmdQuit). These Commands' settings change at runtime (i.e. required access levels, String identifiers). I don't want to have to store an instance of each Command in a

  • Option to extend partition is grayed out in windows 2008 R2

    Option to extend partition is grayed out in windows 2008 R2 

  • LSMW Routing- Standard Batch Input BDC_INSERT, screen .&. is invalid

    Hello All, I am preparing LSMW for routing upload along with inspection characteristics with standard batch input method. At the time of 'Create batch input session' I am facing an error 'BDC_INSERT, screen .&. is invalid'. I have checked the forums

  • IMac i7 surround sound....

    I watched the Avatar DVD on my 27" iMac the other night, wanted to hear it in 5.1 through my Philips HTS3371D sound system. I selected 5.1 in the DVDs menu, but it sounded like stereo- I admit that my physical setup is not optimal for the surround so