Maths function on the fly?

I intend to develop a web based system which would allow a user to log on to a website and find out current pollution levels for any postcode they enter within the city of Manchester. The problem is as follows: Pollution data is available for a number of fixed locations around the city of Manchester. I need to apply some kind of function that would allow me estimate pollution levels at ANY postcode within the city � actual figures only exist for a few postcodes. Data from the pollution monitoring stations is available every hour so the backend database supporting the website will be populated once every hour. The data obviously needs to be pre-processed (using the function) and estimated levels calculated against each of the cities postcodes. Can anyone advise me as to a suitable / efficient way of tackling this using Java?

At first sight though, given you have a point located between 4 stations forming a square:
D1 = Distance between station 1 and 2
D2 = Distance between station 3 and 4
D3 = Distance between station 1 and 3
D4 = Distance between station 1 and centre of the postal code
Theta = Angle between Centre of postal code and 1,2 axis
D5 = Distance on y axis of the postal code from 1,2 axis = D4 * sin(Theta)
D5 = Distance on x axis of the postal code from 1,2 axis = D4 * cos(Theta)
P1 = Pollution level at station 1
P2 = Pollution level at station 2
P3 = Pollution level at station 3
P4 = Pollution level at station 4
PX1 = P1 + D5/D1*(P2-P1)
PX2 = P3 + D5/D1*(P3-P4)
PR = PX1 + D4/D3*(PX1 - PX2)
PR is the resulting pollution level, however this work ONLY if the station form a square.
Regards

Similar Messages

  • Applying maths function on the fly

    I�m currently working on my final year university project. I intend to develop a web based system which would allow a user to log on to a website and find out current pollution levels for any postcode they enter within the city of Manchester. The problem is as follows: Pollution data is available for a number of fixed locations around the city of Manchester. I need to apply some kind of function that would allow me estimate pollution levels at ANY postcode within the city � actual figures only exist for a few postcodes. Data from the pollution monitoring stations is available every hour so the backend database supporting the website will be populated once every hour. The data obviously needs to be pre-processed (using the function) and estimated levels calculated against each of the cities postcodes. Can anyone advise me as to a suitable / efficient way of tackling this using Java?

    This sounds like quite a tough thing to do.
    How many different postcodes are there in Manchester?
    In London we have loads, N1-22, SW1-18, E1-14, W1-8,
    those are the ones I know about. I hope you're going
    to stop at the N15 level, and not go into the second
    bit of a postcode, W1 5BU!?I agree, there are a number of different postcodes. However, as you point out I'm only intending to calculate a pollution level for each post code 'cell' e.g. just M1 - M18 (I think it goes up to that :-))
    What do you plan to do the website in? JSP? Applet?
    Servlet? How do the pollution people supply the data?
    XML feed? Web service? File made available? Yes a CSV file for pollution levels recorded each hour is available
    Dumped in
    a DB you can access? Nope I'll have to populate a DB with the info in the CSV file.
    What frame work will all the
    components be on, DB and web server?Yep, Java prog. will have to process information in CSV file so that estimated pollution levels are available for each post code cell even if a particular cell doen't contain a pollution monitoring station.
    How do you intend to work out the pollution level for
    a postcode not provided by the pollution people? Will
    it be something like, if a postcode falls halfway
    between two monitored areas, the pollution level will
    be calculated at half the difference of the two? What
    if a third one is nearby, will that have an effect on
    the result?This is essentially my problem. I will need to apply some kind of function based on all the factors you have mentioned above. I'm wondering the best way to implement this is Java.
    Depending on whether the data is put in a DB for you
    or not, and if you have a choice, could you not obtain
    the data via a web service? Taking the DB out of the
    equation altogether.Not really as I need to calculate estimated pollution levels for every postcode. These figures then need to be added to a DB so they can be recalled when someone uses the web service.
    This could get very complex but it sounds like a nice
    thing to do. Keep us informed of your progress.
    AdeCheers for you help. If you have any more suggestions / input it would be great to hear from you .......
    Tom

  • Math functions with error in/out

    Please refer to the attached picture. Where do you get these math functions with the error in/out? I saw these in responding to a post.
    Richard
    Solved!
    Go to Solution.
    Attachments:
    them_things.jpg ‏2 KB

    No wonder I've never seen it, I never use the waveform datatype. Thanks Lynn and Smerc.
    Richard

  • I want to use the Function Generator VI to send command signals through the NI 7344 motion controller. This will be a closed loop servo valve system. I want to be able to change from say a square wave to a sine wave on the fly. Idea's?

    I am going to run tests that require an actuator to move using various types of arbitrary waveforms such as sine or square. The NI 7344 is hooked to the UMI that is going through a driver for a servo valve. The loop is analog and it is closed. I have played with some of the examples but can't get it to work. I have used the function generator VI to generate a signal but I think I am using the wrong input VI to the motion control board. When I use what I have it moves the servo and then stops. It doesn't continually generate the signal.
    I would love to use the controls on the function generator vi to control frequency and amplitude ect. Any help or pointer would be helpful. Thank you in advance.

    Hello,
    I'm not clear on exactly how you want to use the generated data but I'm assuming they will be used as your target points.
    There's a built-in example for motion called 'One-Axis Contour Move.vi'. This example demonstrates how to provide your target points as 1-D array. All you need to do is to replace the input array with the output of the function generator. In order to have it run continuously, use a while loop. You can further program your application so that it'll change the waveform on the fly by monitoring the user interface but this might be little little tricky as you will need to reset the move and load the new generated points while keeping track of your current position.
    I hope this helps. Let me know if you have further questions regarding this
    application.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Questions about the High Throughput Math Functions

    Hello,
    i am just trying to unterstand what advandages the High Troughput Math Funtions have. So i have to ask some Questions.
    I always talk about beeing inside a SCTL.
    1. In the Image you can see four Add Functions. One with U32 which should use more Ressouces than the one with the U16Datatype which uses mor than the U8. But does my FXP High Througput Math Function use less Ressources than the U8 Version?
    2. Which of this four Add Functions will take less time for Execution?
    3. If I would Add two 32bit Numbers one with the normal Add and one with the High Throughput Add. Which of the Functions will use less Resources and which will be faster?
    4. How would it bee if i had a Multiplication instead? When i unterstand the concept of a Multiplication right it will be done with a DSP48E. This Logic Block is able of Multiplying a 25bit Number with a 18bit Number. So the U32 Multiply will use 2 DSP48Es and the other three Functions would use one DSP48E.
    I guess the U32 Version will have the slowest Execution?
    Whats about the other three will their execution speed be equal or will the Versions with smaller Datatypes be faster?
    With kind regards
    Westgate
    Solved!
    Go to Solution.

    I don't see a big rush to answer this, so I'll give it a shot:
    1. The HT version uses less resources, but only because it is configured with the smallest data types. You should get exactly the same results with the same data types and an Add function. The only difference with the HT version is the ability to specify an output register, and the handshaking signals that account for that delay. IF the add is implemented in a DSP48, the integrated register can result in better timing, but in practice it is usually equivalent to an Add function followed by a feedback node.
    2. The actual delay through an add is proportional to the number of bits, where the critical path is the sequentially computed carry chain. So you could run the last one at the highest clock rate. The FPGA has dedicated fast carry logic, so the difference isn't too significant.
    3. The first one will be VERY slightly smaller and faster, just because you're computing one extra output bit on the second one.
    4. I would expect the speed to depend only on the number of DSP48s used, so the last 3 should be similar. You'd be likely to see different results in practice, though, due to routing differing numbers of bits to registers for the indicators. This assumes you're not taking advantage of any of the pipelining configuration options in the HT Multiply. Those options, and the associated handshaking signals, are really what differentiates the HT versions from the regular numeric functions. They allow you to achieve higher clock rates and throughput at the expense of latency (ie, it will take more clock cycles to produce a valid result but you can get more data through the function in a given amount of time).
    Caveats: All your examples have constant inputs, so the LabVIEW compiler and/or Xilinx tools can and will optimize them to no ops. Small multiplies, multiplies with one constant input, or those just larger than 25x18 may also use some non-DSP48 logic for all or part of the implementation. Note that the HT palettes provide a DSP48E function in case you want control over exactly how a multiply and/or add gets implemented. Placing and routing can result in unexpected behaviors, so estimating timing is much more difficult than simply adding up component delays.

  • SUM function for a column made 'on the fly'

    I have access to a database, however only SELECT statements can be run on the database. Basically the database lists switches, these switches can have up to 20 computers connected to them but some do not. I need to know the switches which contail less than 20 computers so I know where there is space for more computers (I've wrote the code for this already). I also need something to keep a tally/total for the number of spare spaces left so I can run the script and go 'ok we have a total of 20 spare places for computers theres 10 on this switch and 10 on this one'.
    I just need to get the sum funtion working for the column that I've created 'on the fly', the column revealing the number of spare slots, heres the code I've got so far:
    SELECT switch, COUNT(*) as "Servers", 20 - COUNT(*) as "Spare slots"
    from dedicated_servers
    where switch like 'rs%'
    GROUP by switch
    HAVING COUNT(switch) < 20
    order by Servers;
    Which gives the following:
    | switch | Servers | Spare slots |
    | rsj14-1.dc | 12 | 8 |
    | rsj12-1.dc | 15 | 5 |
    | rsi2-2.dc | 16 | 4 |
    | rsj13-1.dc | 16 | 4 |
    | rsi2-1.dc | 16 | 4 |
    Just need something at the end saying TOTAL=25

    OK I'll have to make em up though, but they are something like this for one switch:
    INSERT INTO dedicated_servers (switch, server_number, switch_socket)
    VALUES (rsj-1.dc, 100, 18)
    On switch rsj-1.dc there can be upto 20 servers (the server_number is the primary key)
    Message was edited by:
    slowpoke115

  • How to adjust a function generator on-the-fly in Labview 7.0

    I'm using the 'Simulate Signal' vi in LabView 7.0 (with BNC-2090 board) to generate a triangle wave for output to a potentiostat. If the value of either the high or low potential is changed, however, the signal incorporates discontinuities as it recalculates the amplitude and offset. Does anyone know of a way to recalculate the phase shift on-the-fly so that those discontinuities and sudden jumps in signal no longer appear? I think there should be a way to do it using an array, but the 'simulate signal' vi seems like it would be much easier to use.

    I agree with Evan that this is not an easy task.
    A PID loop could help with the discontinuity but hurt other things. Here are my thoughts.
    PID at output of "Simulate Signal"
    This would smooth the transition but would also round-off the max and mins. Probably not good.
    PID to control Amplitude and offset
    Once you have this tuned, it may do what you want if you can tolerate the delay.
    Filtering
    Here you have to tolerate some phase shift as in the above. You are also caught in a catch 22 because you do not want the dicntinuity when the settings change but meanwhile the triagle wave is an endless series of cusps.
    Let us know what ends up working for you.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to change the frequency of pulse train on the fly using an array of values?

    Hi all!
    First I want to thank U for the great job you are doing for this forum.
    Iam still busy trying to control a stepper motor, by sending pulses from my E-series 6024 to a compumotor s6- stepper Driver. I've managed to get it working. I desperately need to control the motor using the values from an array. I believe we can use two approaches for that:
    1st - I can get an array of the "numbers of pulses". Each element must run for 10 milliseconds. Using that we can calculate the array of frequencies to send the number of pulses within 10 milliseconds for each specific element. Could we use the arrays of "number of pulses" and frequencies in a "finite pulse train " and up
    date with each element every 10 millisecond?
    2nd - Or Could we use of the frequency array in a "continuous pulse train vi" and update it every 10 milliseconds?
    Please note that I must use the values as they are.
    Can someone please built a good example for me? Your help will be appreciated.
    Regards
    Chris
    Attachments:
    number_of_steps.txt ‏17 KB
    frequency.txt ‏15 KB

    Tiano,
    I will try to better explain the paragraph on LabVIEW. The original paragraph reads ...
    "While in a loop for continuous pulse train generation, make two calls to Counter Set Attribute.vi to set the values for "pulse spec 1" (constant 14) and "pulse spec 2" (constant 15). Following these calls you would make a call to Counter Control.vi with the control code set to "switch cycle" (constant 7). The attached LabVIEW programs demonstrate this flow."
    You can make two calls to Counter Set Attribute or you can make a call to Set Pulse Specs which, if you open this VI, you will see that it is just making two calls to Counter Set Attribute. What you are doing with the Counter Set Attribute VIs is setting two registers called "pulse s
    pec 1" and "pulse spec 2". These two registers are used to configure the frequency and duty cycle of your output frequency.
    The example program which is attached to this Knowledge Base demonstrates how to change the frequency of a continuous generation on the fly. Why continuous? Because changing the frequency of a finite train would be easy. When the train completes it's finite generation you would just change the frequency and run a finite train again. You would not care about the time delay due to reconfiguration of the counter.
    If you would like to change the frequency of the pulse train using a knob, this functionality will have to be added in the while loop. The while loop will be continuously checking for the new value of the knob and using the knob value to set the pulse specs.
    LabVIEW is a language, and as with learning all new languages (spoken or programatic) there is a lot of learning to be accomplished. The great thing is that LabVIEW is much easier than mo
    st languages and the learning curve should be much smaller. Don't fret, you'll be an expert before you know it. Especially since you're tackling a challenging first project.
    Regards,
    Justin Britten

  • Can I create a dashboard layout on the fly?

    Hi all, I am trying to create a dashboard layout "on-the-fly"
    (dynamically).
    for example: I can create the following layout using MXML
    very easily:
    [CODE]
    <mx:VBox width="100%" height="100%"
    horizontalAlign="center">
    <mx:Canvas id="dashboardCanvas" width="90%"
    height="90%">
    <mx:HBox width="100%" height="100%">
    <mx:Panel title="panel 1" width="50%" height="100%">
    <mx:VBox width="100%" height="100%"
    borderStyle="solid">
    <myDashboarComp borderStyle="solid" />
    <myDashboarComp borderStyle="solid" />
    <myDashboarComp borderStyle="solid" />
    </mx:VBox>
    </mx:Panel>
    <mx:Panel title="panel 2" width="50%" height="100%">
    <mx:HBox width="100%" height="100%">
    <myDashboarComp borderStyle="solid" />
    <myDashboarComp borderStyle="solid" />
    <myDashboarComp borderStyle="solid" />
    </mx:HBox>
    </mx:Panel>
    </mx:HBox>
    </mx:Canvas>
    </mx:VBox>
    [/CODE]
    You can see that I want to build my dashboard up using
    HBox's, VBox's, Panels and the individual custom components
    (myDashboarComp) - keepinng the layout and structure quite simple.
    The above MXML creates a simple Dashboard consisting of the
    canvas (where it all starts - it constructed from -
    "dashboardCanvas"). the canvas has 2 panels within a HBox (so are
    side by side) called "panel 1" and "panel 2". panel 1 contains a
    VBox containing 3 components (displayed vertically) and panel 2
    contains a HBox containing 3 components (displayed horizontally) -
    so very simple.
    However - I want to control this layout externally e.g.
    passing an object or array (some sort of descriptor) to describe
    the layout to my app.
    I then want to loop through this descriptor item and build my
    dashboard using ActionScript rather than MXML to more control and
    flexibility.
    this is the object I have created and have been experimenting
    with in ActionScript:
    [CODE]
    [Bindable]
    public var descriptorObj:Object =
    {item:"dashboard", children: [
    {item:"vbox", id:"vbox1", percentWidth:100,
    percentHeight:100, children:[
    {item:"panel", id:"panel1", percentWidth:50,
    percentHeight:100, children:[
    {item:"vbox", children: [
    {item:"myDashboarComp"},
    {item:"myDashboarComp"},
    {item:"myDashboarComp"}
    {item:"panel", id:"panel2", percentWidth:50,
    percentHeight:100, children:[
    {item:"hbox", children: [
    {item:"myDashboarComp"},
    {item:"myDashboarComp"},
    {item:"myDashboarComp"}
    [/CODE]
    This is as far as I got as I kept hitting hurdles from here.
    Basically - all I want to do is somehow read / loop through
    this object and build my dashboard.
    First of all I was unsure of the best way to loop through the
    object - as I have to do it in order to get the correct layout...
    i.e. the first 3 "myDashboarComp's" are added to the >
    VBox that is added to > "panel1" that is added to the > HBox
    that is added to the > Canvas.
    This is where I ran into my second problem. I managd to loop
    through and read the elements checking there "item" in the object
    and adding them accordingly.... I could loop though and add each
    item to the canvas ok, e.g:
    [CODE]
    private function initApp():void
    for(var i:int=0; i<descriptorObj.children.length; i++)
    var itemType:String = descriptorObj.children
    .item.toString();
    var percentWidth = descriptorObj.children.percentWidth;
    var percentHeight = descriptorObj.children
    .percentHeight;
    addContainer(itemType, percentWidth, percentHeight);
    private function addContainer(conType:String, pWidth:int,
    pHeight:int):void
    if(conType == "panel")
    addPanel(pWidth, pHeight);
    else if(conType == "vbox")
    addVBox(pWidth, pHeight);
    private var newPanel:Panel;
    private function addPanel(pWidth:int, ptHeight:int):void
    newPanel = new Panel();
    newPanel.percentWidth = percentWidth;
    newPanel.percentHeight = percentHeight;
    newPanel.title = "test panel";
    dashboardCanvas.addChild(newPanel);
    [/CODE]
    in the above actionScript the canvas "dashboardCanvas" is
    already set up in the MXML (but is the only MXML container added as
    the rest should be built using the create object "descriptorObj" in
    AS).
    This is my next problem - when I have added a container,
    e.g. a panel the next items e.g. my "myDashboarComp's" should then
    be added to the previously added panel and not to the canvas
    anymore - I need some way of telling the app to add children to the
    last added container and not to the canvas (and each container can
    change type from a panel to VBox to HBox etc....)
    I hope what I am trying to say makes sense, and any help on
    this one would be greatly appreciated.
    I just need pointing in the right direction and some ideas on
    how to continue would be good - and if my thinking / method / ideas
    are actually possible.
    Kind Regards,
    Jon.

    There are several ways to do this. The third chapter in the
    cookbook is a good place to start.
    All things in ActionScript are based on objects. Constructing
    them with the data needed for the ui information you will need and
    then binding that data to your dashboard objects is basically what
    you are going to be doing.
    For me it makes the most sence to have an idea of what
    different types of objects you will be creating and create some
    extended components for those objects. Then when you recieve your
    data, binary or xml, you can digest the configuration settings from
    the layout and populate the constructor for each of your
    components.
    It sounds like you need to organize your layout structure in
    a heirarchy and from that you can walk each branch and create each
    set of things as you parse your data.
    Without a bit more information as to what you are
    specifically doing that is about as far as I can go minus adding in
    some code along some line that I think might work.
    Hope that helps some.
    -D

  • Convert Chinese on the fly

    Dear all,
    I have a DB which the NLS_CHARACTERSET is UTF8.
    In a table, we have a column which set as varchar2 data type.
    Users will put content into it (which some times are traditional chinese, and sometimes are simplified chinese).
    Based on the new user requirements, I need to:
    1. identify those records with traditional chinese / simplified chinese
    - I read from the web that I may use the dump function to do so. However, I did some tests and it seems incorrect. Any tips on this?
    2. Convert the characters on the fly
    - is it possible that I convert the column into all traditional chinese / simplified chinese when I select / export / view?
    - I heard that the function convert may help but I can't make it works. Any help on these two issues are very appreciated. many thx.

    The data in the VARCHAR2 column should encoded using the UTF-8 Unicode encoding. It should not be either simplified or traditional Chinese.
    If the client application is accepting data using the traditional Chinese character set, that data should be converted to the database character set transparently by the SQL*Net layer when it is sent over the wire based on the client's NLS settings. Similarly, if the client application is accepting data using the simplified Chinese character set, the data should be converted to the database character set when it is sent over the wire based on that client's NLS settings. Similarly, when you select data, the client's NLS settings should indicate the character set that the client application wishes the data to be converted to and that should be done transparently by the Oracle SQL*Net layer.
    Justin

  • Extract text data from dbc on the fly

    Hi All,
    I am currently setting up a testsystem for a CAN based project with LV7.1 and Teststand 4.
    I have my PXI8461 CAN card sending and receiving CAN messages fine but I wish to perform some work on all channel ( signal ) information before passing it up to Teststand for analysis.
    For my Teststand purposes it is preferable to work with text, for example if the DUT has a button pressed then the appropriate signal gets sent up to Teststand as "On" or "Off" etc rather than 1 and 0. ( CANoe has this feature and the LDF driver kit for LIN in Labview also )
    This is very useful for Teststand when checking test conditions rather than trying to equate a test with a number, so tests can be written like if result = "Ignition On" then Pass else Fail.
    The dbc file I have contains this text representation of data but is there any VI which can be ran after a Read Channel which will convert Channel data to text ?
    Thanks,
    Mike 

    Hi Mike,
    Thanks for the post! and I hope your well today.
    Im not very familiar with the CAN palette, but Im sure we could use Lower Level VIs to build this functionality.
    So, when on the fly, the CAN message is a number (0 or 1) and then convert it using a case structure?
    I imagine this issue is more complex then I have caught on so far, so please, maybe some example code etc would help.
    Kind Regards,
    James.
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Help on getTimer() function = affects the main animation...

    Layers scenarios:
    Layer 1: pics animation
    Layer 2: text animation
    Layer 3: graph animation
    Layer 4: a movieclip()
    Here's goes, inside the movieclip on Layer 4 it is nested down to bubble movieclip which inside is an actionscript that animates the premade animation for the bubble just attaching those movieclips to an empty movieclip.
    The problem goes like this when I test the movie in the first maybe 5 or 10 seconds the animation seems just fine but after several seconds the animation becomes slower in the root timeline. It seems that getTimer() affects the animation, as far as I know getTimer() function returns the time the swf file begin playing in milliseconds. The code I was working on is based on the getTimer().
    What would be the work-around with this kind of scenario? I guess theres another function that works the same as getTimer that cannot affect my main animation.
    By the way, my animation on Layer 4 which is nested movieclip is a random bubbles with total of 200 instances.
    Thanks and more power to us all!

    Okay. Here is what I came up with. I'm not sure exactly what was in your timeline animated tweens. So perhaps this isn't what you wanted at all....
    All you need is the bubble artwork (set to export as "Bubble") and this code. It is full of "magic" numbers that I just fiddled with until I thought it looked pretty on my machine.
    Some important bits are the part where when the bubble gets off the top of the screen it removes itself.
    var home:MovieClip = this;
    var counter:Number=0;
    var totalBubbles:Number=200;
    clearInterval(bubbleIntervalID);
    var bubbleIntervalID=setInterval(attachBubble,150);
    function attachBubble() {
    var curBub:MovieClip = home.attachMovie("Bubble", "bubble", 1000+counter);
    curBub.blendMode = "hardlight";
    curBub._y = Stage.height + 100;
    curBub._x = (Stage.width - 50) * Math.random() + 50;
    curBub._xscale = curBub._yscale = Math.random() * 60 + 40;
    curBub._alpha = Math.random() * 80 + 20;
    curBub.vy=-(Math.random()*5+1)
    curBub.ay=-Math.random()/30
    curBub.x0=curBub._x;
    curBub.var1=Math.random()*100;
    curBub.var2=Math.random()*300;
    curBub.factor1=Math.random()/100;
    curBub.factor2=Math.random()/200;
    curBub.onEnterFrame = floatUp;
    counter++
    if(counter>totalBubbles){
      clearInterval(bubbleIntervalID);
    function floatUp() {
    this.vy += this.ay;
    this._y += this.vy;
    this._x = this.x0+this.var1*Math.sin(this._y*this.factor1)+this.var2*Math.sin(this._y*this.factor2) ;
    if(this._y<(-this._height)){
      delete this.onEnterFrame;
      this.removeMovieClip()

  • Using advanced math functions in plugins

    I have an application built in LabVIEW 8.5 that calls external VIs as PlugIns. Normally adding any subVIs of these PlugIns in the same directory as the plugin is located in (or a sub-directory of that) will enable the plugin to execute (I have several such plugins that do run properly).
    The problem now however is that one of these PlugIns use a few math functions (linear fit etc.) and, although all the subVIs and dlls (including the ones from the vi.lib etc.) are located in the same directory - and the application is run on a machine that actually has the full professional LV 8.5 installed on it, it is still not executable (I've built a source distribution to get all the code it depends on out, with no exclusions). If I hit the broken run-button it says the full development system is required to resolve the issue.
    The same plugin works fine in LV 7.1.1 (although then it is distributed as a top level VI in an llb with the support-VIs in it instead).
    Is there still a way in LV 8.5 to distribute a plugin that uses the math functions without having to include the functions in the built application that will launch the plugin?
    MTO

    Hi, Mads,
    My "Quick and Dirty" test shows that it should be no any problems. Just deselect "Exclude vi.lib" Vis in the Distribution, and select that dependecies should be deployed with PlugIn. See attachment, hopefully its will be helpful for you. Such distribution way produced huge llb (because not only linear fit embedded into library, but all math library), but at least it works.
    best regards,
    Andrey.
    Attachments:
    PlugInWithMathDistributionTest.zip ‏21 KB

  • Filter songs by rating (on the fly, without smart playlists)

    Is there any way (3rd party app maybe) that would allow you to live filter the displayed/played songs by rating? ie. if I have an artist selected, and all 200 songs are shown by that artist -- I would like to select on the fly to only display/play songs that are rated 2 or higher.
    Aperture has a similar function that does not require making smart lists -- "Display only 2 or higher" of the current album, etc. -- AND you can sort with a sub-filter in addition (in iTunes, I would show/play only 2 and higher, and maybe sub-sort by album, or shuffle it.)
    The only current way to do this is to create a unique smart playlist for every artist, genre, etc. that you would want to filter by rating in that way. Alternately, you can sort by rating, so the best are at the top, but with large selection of those ratings I often want to be able to shuffle the order within that selected rating range.
    This software addition would be very useful!
    Thanks for any tips...

    Merci beaucoup for the response. However, what you described in both cases are the workarounds that I described & that I've been using.
    With sort by rating solution, the music can then only be sorted by rating -- and there will be songs of lower ratings played eventually.
    Let me try to describe what I'm looking for more precisely:
    Like in Aperture, there would be a small gui selection toward the top of iTunes, and you select what ratings should be shown/played -- for example, 2 & higher. Then, there will be no songs shown/played that are below 2 stars. You can then have it play on shuffle, or sorted by other data such as artist, album, etc. -- and you will never hear a song below 2 stars.
    The smart playlist is the other workaround I've used, but it's also not the solution. It requires making a separate smart playlist for every possible artist/genre, etc. that you would want only (for example) 2 stars & above to play. For example, if on a whim I wanted to listen to all of my U2 music on random/shuffle -- I'd like to be able to just select Artist-->U2, and with the 2+stars GUI selection, I know I will never hear anything below 2 stars -- *without* having to take the time to make a smart playtlist for this random & rare mood. If I suddenly want a even higher selection of U2, I just click the 3stars GUI selection, and the shown & playable songs instantly update. No need to always have to create & edit smart playlists for such random selections...
    This interface works extremely well in Aperture - I wish they'd migrate it over to iTunes!
    I hope I'm clearer now... Thanks again

  • Organizing photos on the fly on the Touch.

    Hello,
    I would like to know if anyone has figured a way to organize or at least mark specifiy photos on the Touch so that they are easier to find when browsing through them? I've got over 3000 pics on mine and it's a pain in the *** trying to recall specific photos. Is there a way to Mark them some how? It would be nice if you could create albums while on the iPod.
    Or like creating an album on the fly by pressing and holding on a photo and then it adds the photo to a new album. If that functionality isn't there already, it would be nice if someone could add a program that let you do this...
    Just an idea.
    Thanks,
    Jeff

    Unfortunantely, there is no way yet, maybe on June, maybe from someone else, who knows.
    Until then: www.apple.com/feedback

Maybe you are looking for

  • Apple this is a bug in ios5!

    Apple, I love your products but this is a small bug I have discovered using ios5 with iphone 4s.  When i am listening to a podcast at x2 speed and I receive a call via bluetooth it returns to my podcast at regular speed even though it still shows it

  • Reg : show/hide subforms under buttons in Static page(Java Script)

    Hi All , I am creating Adobe Interactive form(static page). In this page have 3 buttons.For each button one subform is there. I want to show/hide subforms under buttons. I am using javascript. Please give me the code for this. Thanks Risha

  • Transparency with *png in MHP with DVBAlphaComposite-what's the problem?

    Hello! I know this topic exists already, but it could not help me with my problem: I want an HIcon with an transparent picture in it but I am not able to get any transparency..To me that code seems to be right, but when testing it with the IRT RI, th

  • XL Reporter Runtime error - upgraded from SBO 2005A to SBO 2007A

    Hi Experts, We upgraded our client SBO 2005A to SBO 2007A. We have this issue with XL Reporter that everytime we go to Advanced Report Builder-> Cell -> Transaction Row -> Attribute ->ARP_Series we are getting IXSelectionBarctl error window that says

  • Disable select options field

    Hi,, I need to disable one of the select option field s_date in my selection screen. I need to it to have the values that are populated in the initialization event and disable it for further entries. Can someone please let me know how to do this. Tha