Range selection using the NI 4351 example "435x fast.vi" in LabView 2009.

I am using the NI 4351 DAQ board and the example "435x fast.vi" in LabView 2009. I wanted to add a range function and have the scale labels reflect the proper values. How can I programmatically change the Minimum and Maximum parameter values for the "Y" Axis of the “Scaled Data" Waveform chart properties.
Solved!
Go to Solution.

You can programmatically change the Y axis range as well as many other properties of the waveform chart using a property node. If you are not familiar with property nodes, you can create one for the chart by right clicking the chart in the block diagram and selecting to create a property node. From there you can select what property you would like to change. For your specific question, right click the chart and select Create > Property Node > Y Scale > Range > Minimum/Maximum. Once you create the property node, you'll have to specify that you want to modify properties by right clicking it and selecting "Change all to Write." Each of the properties can then by controlled using a control or constant.
I've attached a basic example (in LV 8.6, let me know if you need older) that modifies the Y axis range of a waveform chart using two controls on the front panel. Note that I have a third property, YScale.ScaleFit, set as 0 by a constant. This programmatically turns off autoscaling on the chart. Autoscaling must be turned off if you want to manually scale an axis. Alternatively you can just turn autoscaling off from the front panel by right clicking the chart.
Hopefully this helps.
Chris G
Applications Engineer
National Instruments
Attachments:
Chart Property Node.vi ‏9 KB

Similar Messages

  • I am using the function generator example

    i am using the function generator example to send sine, triangular, sawtooth waves to oscilloscope.
    I would like to send not only the symmetric but also unsymmetric amplitude of each wave.for example the upper peak of the amplitude, i could adjust as 2 volts and the lower peak as 3 volts or vice versa.how it works in function genartor example.Please note the i am using data acquisition card AT- MIO-16XE-50 for this purpose.please tell me with some example.

    To add a terminal to the connector pane, right click on vi icon and select show connector. Notice that the mouse pointer turns to a wiring tool when over the connector. Click on a small box inside the pane and then click on a front panel control or indicator to connect that box to the control/indicator. Then repeat for the next control/indicator. Do this until all the inputs (controls) and outputs (indicators) you need are defined. Normally, all inputs are on the left half and all outputs are on the right half, and Error In is connected to the bottom left box, and Error Out is connected to the bottom right box. You can change the terminal pattern by right clicking on the connector pane and pointing to pa
    ttern and then selecting a pattern. To make the graph as an output, click on the top right box then click on the waveform graph.
    As for continuous update, put the graph inside a loop where you generate your waveform and wire the output to the graph. As long as the loop is running, you will get a continuous update. The Y axis can be configured for amplitude and the X axis for time. Right click on the graph and select properties. Play with this to become familiar with all aspects.
    - tbob
    Inventor of the WORM Global

  • Occasionally,  some of the image borders turn dark grey (medium grey is the default) and then random other  images cannot be opened with a double click.  They only open when selected using the arrows on the keyboard.  They also cannot be moved to collecti

    Occasionally,  some of the image borders turn dark grey (medium grey is the default) and then random other  images cannot be opened with a double click.  They only open when selected using the arrows on the keyboard.  They also cannot be moved to collections.  Anyone have a solution for this?

    When you say  "could not be opened"- what are you referring to?  A double click of the mouse should view the clicked image in Loupe view- the same as pressing [E] on the keyboard for an enlarged view. (And a second double-click will take you back to library grid view.)
    To "open" an image in the Development module requires you to select the image then press [D] or click on the [Develop] button.
    When you say "could not be ...moved" -what are you referring to?  Are you trying to move an image file from its place in a folder to another folder? Are you just wanting it in a collection? When you drag an image to a collection you are only placing a link to the image in the collection- not actually moving any file. The image will stay exactly where it is in its original folder and will remain as a thumbnail preview in the Library Grid view.
    Are you having any "mouse" problems that may be changing its actions in LR ?
    Do you see an exclamation mark on any image borders ?
    Let's keep working on this. I am curious to see you find an answer.
    Rob

  • Color Range Selection using Lab values

    Is there a way to select pixels in Photoshop based on given Lab values? I am using Select --> Color Range with a specified "fuzziness" threshold, but I'd rather make the selection based on specific Lab values instead of random pixels that I choose with my eye dropper. Is there a way to do this in Photoshop, or does anyone know of a plug-in that might do this?
    Also, if I end up having to use the basic Color Range tool, I'd like to know what "fuzziness" means. I understand what it does (selects more or less colors based on the threshold around the point you choose with your eyedropper), but what is that based on? A color difference (delta E) value around that point maybe?
    I am using Photoshop CS3 v10.0 on a Windows XP machine.
    Any help would be greatly appreciated.
    Thanks, Ellen

    It may be helpful to compare the Color Range command with the Magic Wand Tool. A Magic Wand "selection" is 100% opaque and all pixels outside its tolerannce have zero opacity. So the selected pixels are either totally selected or totally unselected. There is no partial selection.
    Not so with the Color Range command. The pixel clicked establishes the "base" color. Whereever that exact color occurs in the image, it is totally selected (100% opaque). The degree to which other pixels are selected (their opacity) depends on the Fuzziness setting.
    At zero Fuzziness, all pixels other than those with the base color are totally unselected (zero opacity). As the Fuzziness setting increases, pixels with values other than the base value begin to be selected, but not 100%. There is a bell-shaped (Gaussian) curve of opacity centered on the base value and dinminishing on either side of it.
    The breadth of the Gaussian curve (let's define that as the color value difference between 50% opacity on the left and 50% opacity on the right is directly proportional (not equal to) the Fuzziness. Double the Fuzziness and you double the breadth. Marching ants appear at the 50% opacity point. But be careful interpreting this because with the Magic Wand, for example, the 50% opacity point occurs at the same point as zero and 100%, there being no gradation of opacity at the edge of a Magic Wand selection.
    You need to be aware also that the Color Range command operates in each color channel and the deviation from base value is determined by the most restrictive of the three channels. If a pixel is within Fuzziness limits for one channel but not another, it doesn't pass muster. And, yes, CR uses Lab colors, but you need not be in Lab mode.

  • How to make two Range Selection at the same time?

    In a single clip, at the same time, in two locations, I would like to have Range Selection.  Then I would like to switch between the two and play within the range one after the other immedeately. Is this possible?  Thanks.

    success1975 wrote:
    In a single clip, at the same time, in two locations, I would like to have Range Selection. 
    You can mark multiple range selections in a clip by clicking and dragging with the Command key down – or marking in and out points with  Shift+Command.
    I don't know what you mean when you say "at the same time".
    Then I would like to switch between the two and play within the range one after the other immedeately. Is this possible?  Thanks.
    Forward slash plays betweeen the in and out. The only way I know to play them one after the other "immediatelly" is to edit the two selections to the timeline.
    Russ

  • File Selection using the SDK

    Hello
    Is their a way that the SBO SDK UI exposes the file selection like the one use for add bit maps etc? I tried doing this by using writing code but cannot get this to display on the screen it is called from. The code is:
    Public Function Open_FileView()
       Dim OpenFileDialog1 As New OpenFileDialog
       OpenFileDialog1.InitialDirectory = "C:\"
       OpenFileDialog1.Filter = "txt files (.txt)|.txt|All Files (.)|."
       OpenFileDialog1.FilterIndex = 2
       OpenFileDialog1.RestoreDirectory = True
       If OpenFileDialog1.ShowDialog = DialogResult.OK Then
          Dim sr As New System.IO.StreamReader(OpenFileDialog1.FileName)
          MessageBox.Show(sr.ReadToEnd)
          sr.Close()
       End If
    End Function
    Thanks
    John

    Try something like this:
    System.Windows.Forms.Form winForm = new System.Windows.Forms.Form();
    winForm.TopMost = true;
    System.Windows.Forms.SaveFileDialog sfd = new System.Windows.Forms.SaveFileDialog();
    sfd.Filter = "XML (*.xml)|*.xml";
    if(sfd.ShowDialog(winForm)==System.Windows.Forms.DialogResult.OK) {
    //Do stuff
    This work for me (Save dialog, but openfiledialog works the same way)

  • Inspecting the current selection using the HTML5 SDK

    I have been banging my head against the wall trying to get what I thought would be something very simple working.
    What I want to do is have an InDesign panel, the contents of which changes based on the current selection on the page.
    Now, I can access the event "afterSelectionChanged" in the native scripting environment, but there appears to be no way for the native environment to trigger an event in the HTML5 panel unless I use a C++ hybrid extension and call the PlugPlugDispatchEvent() method.
    The events available in the HTML5 API are incredibly limited and don't seem to include any selection-based events.
    This makes it nigh-on impossible to use an HTML5 panel as an inspector of any kind without making an overly complex hybrid extension, which I want to avoid.
    Is this correct? If so, it seems amazingly short-sighted. If there is a way to do this, can someone please show me the way?

    Hi Samuel,
    I didnt clearly understood  your problem. When you are selecting a particular row in a table you are executing a web service named Get Mail. Are you passing any input parameter(any selected row data)  while executing a web service. And when you get the response node where you have a attribute in the node getmail. Am I right.
    If this is the case, then first check if the GetMail node is present or not by comparing it will null or checking its size. If the node is null then you will not get attribute as the element itself is null as nothing is retrieved in response. And if the node is not null then the element at 0th position is selected by default. you can retreieve the attribute by directly using the following code
    if(wdContext.nodeGetMail() !=null)
        String profileId= wdContext.currentGetMailElement().getProfileID();
    Check if this works for you.
    Regards,
    Ardhendu Sarkar

  • How to use the http binding example?

    Hi all,
    i want to test the http binding example, but i didn't find any documentation to this example. Therefore i need some answers to my questions
    1. How do i deploy the QuoteService to the engine (do i have to compile it in the JDBPEL Designer?)
    2. When i have deployed the HttpBindingExample, how do i use it (which input data to use in the Process Manager?)
    Thanks for replying
    Alli

    Hi Ali,
    The QuoteService is a simple JSP, so you should deploy it as a web application to your local OC4J server which hosts the BPEL server. The context root should be QuoteService as described in the wsdl: <http:operation location="/QuoteService/quotes.jsp" />, or more simply just put under the default application location with a folder named QuoteService.
    The following code in the BPEL process assigns a value to the input variable of the invoke which invokes the service:
    <assign name="assignQuoteRequest">
         <copy>
              <from expression="'ORCL'">
              </from>
              <to variable="quoteRequest" part="symbol"/>
         </copy>
    </assign>
    Hope this helps,
    ~ronen

  • Unable to use the video or call feature on Live Messenger version 2009

    Since installing version 2009 I am not not able to use the video or call feature. I am getting the below messages.
    1)Your computer does not have a sound card, or a sound card is not selected.
    2)Messenger is not available right now. Please try again later. (0x8ac70004)
    3)Unable to run audio or video setup from Live messenger
    My Laptop is a Toshiba Satallite A105-S4334 model.I am using Windows XP 2002, SP3.What must I do to correct this problem?

    Hi abyfate,
    Thanks for visiting Apple Support Communities.
    You may find the steps in this article useful for troubleshooting your cellular connection:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Regards,
    Jeremy

  • How can I build a LabView application that uses the 2012 runtime, on a development system with LabView 2013 or 2014 installed?

    I need to build a LabView application .exe to run with the 2012 Runtime, for legacy support. I currently have LabView 2013 installed on my development system, and have 2014 available. How can I build an application that uses the 2012 runtime on this development system? Do I have to downgrade to 2012? Thank you.

    We have existing customers that have installed our application that was originally built with 2012 (provided by a contractor that is no longer available).  Due to IT regulations, it is far easier to update these customers by simply replacing the .exe file, than creating an install that their IT department must run.
    If I have to downgrade to LabView 2012, where can I get the installation for this?

  • Is it possible to micro step using the Pci7314 (open loop) controller and umi7764 and Labview.

    Is it possible to micro step using the Pci7314 (open loop) controller, umi7764 and Labview. if so how would this be set up. i have searched the valuemotion vi libraries and found no microstepping functions. Please could you offer any advice. cheers JON ROGERS

    Hi Jon,
    Micro-stepping is a property of the motor amplifier (motor drive) rather than the controller. It sounds like you are using a 3rd party drive, since you have a UMI. You want to check with your motor amplifier documentation to see if it's supported. Usually, there will be dip-switches on the drive that sets the microstep factor.
    Hope this helps. Please let me know if you have any questions.
    Thanks,
    Ken Sun
    Applications Engineering
    National Instruments

  • CN43N: No objects were selected using the criteria

    Hi;
    recently i have loaded WBS into system through a BDC programme.
    When i check those WBS in Project Builder i can see them, on other hand when i execute CN43N it does not show me any record.
    Your valuable input is required.
    Thank you.

    Hi Guru,
    Could you please check the reasons why the system does not display anything in CN43N based on your criteria?
    1) The system could not find any objects which meet the specified selection criteria.
    2) The controlling area set is not the same as the controlling area in your project.
    Change the controlling area in the information system, as necessary, by choosing:
       o Extras -> Set controlling area
       o Environment -> Set controlling area in the Project System area
         menus - for example, when accessing the hierarchy reports in the
         project information system.
       Set controlling area
       o In the selection screen when accessing the cost element reports
    Could you also review note 107605 which it may help to solve your issue?
    Thanks a lot and kind regards,
    Enrique Sosa

  • Printer Selection using the PLD

    My current customer is automatically printing a Sales Order to the user's default printer when the Add button is pressed in Sales Order Entry.  This works well, but my latest challenge is depending upon the time of day ( that is, morning vs afternoon, by a User Defined Field set at Order entry time) to print the Order on a different printer, which is actually a different color of paper that resides in a different tray in the printer.
    Is there a way to have Print Layout Designer direct the Sales Order to the desired tray in the printer  from the value in the User Defined field  with out having the person entering the Sales Order select a printer?  
    I hope this makes sense and thanks in advance.
    Dana

    Hi,
    Cannot confirm whether your issue is same or not but
    In 2005A you can check :
    If your different trays have different colour paper :
    - Via Windows, define each Tray as a different printer (i.e. PRT1yellow; PRT1red; PRT1green)
    - Via PLD   > Document Properties   > Paper Format   > Printer section select the desired tray (i.e. PRT1green) and click OK.
    Regards,
    Jitin

  • Defining Date range and using the same range to search the documents.

    Hi Sap Gurus,
    in our business there are some documents which do have Validity period, like say Inspection certificates and valid for say 10 months, ex..  JAN 25th 2009 to Oct 24th 2009
    we store this certificate in DMS and link to some SAP object say an Asset,
    we have a requirement to list all the documents based on the expiry date range. say to get a list of documents which are about to expire in 15 days, or the list of documents which have already expired
    I tried to define a characteristic in date format, but it is a single value field, and search is only supported on that specific value only.
    like we cannot serch the DIR falling in between this Date Ranges.
    also report of Documents which are to expire in 15 days could not be got.
    is there a way to meet this requirement , if it is through a development also please tell me how the logic could be built
    Thanks and regards
    Priya S

    Hi SAP Gurus,
    Thanks much Thomas for your Promt reply.
    The solution provided by Thomas really works but the same thing is not possible in EDMS,
    in Easy DMS we cannot manually give any value in the date characteristics field, the system will ask to fill from the date window format.
    so we cannot enter < or > <> value in characteristics, hope there is any note or other procedure to get the same funtionality.
    please if any one worked on the same with EDMS  let me know
    Thanks and kind regards
    Priya S

  • Mozilla Crash Reporter shows up whenever i open Firefox, i can't even use the browser due to how fast it crashes, please help!

    So from yesterday i started getting random crashes with Firefox and at one point it had froze my screen for a few minutes, now today when i attempted to get into my browser there is about 5 seconds before it instantly closes and sends me a crash reporter, i have tried re-installing and system restore AND trying to use safe mode but it still crashes, is anyone experiencing the same problem?

    We're sorry to hear that your Firefox seems to be crashing when you open it. Please perform the following steps to give us a crash report ID that helps us find out more about the cause of the crash.
    #Press the following shortcut to get a Run window: [Windows] + [R]. This should bring up a window that contains a text field.
    #In that text field, enter %APPDATA% and press Enter. An explorer window should open.
    #From that explorer window, double-click on the ''Mozilla'' folder, then double-click on ''Firefox'' and then on ''Crash reports''. Double-click on ''submitted''.
    #Now, you should see a list of files that contain reports. Go to ''View'' > ''Arrange Icons by'' > ''Modified'' to get the most recent files at the top of the window.
    #Open the most recent 5 files with a text editor and copy the IDs.
    #Paste each ID with '''bp-''' into the reply window on the forums.
    Thanks in advance!
    You can find more information and troubleshooting steps in the [[Firefox crashes]] article.

Maybe you are looking for

  • Constant Amber Light - Airport Express

    I've been using my Airport Express successfully now for about a year to connect my Mac to a stereo wirelessly. However, today, the Airport Express stopped working. Essentially, the Airport Express just shows a solid amber light, and it is not shown o

  • Error while running the script

    Hi all, when i try to run a script in oracle it is failing throwing the error 'ORA-00913: too many values ORA-06512: at "scema_name.procedure_name", line 229 ORA-06512: at line 1" please help me out.... Thanks in advance Ismail

  • Quotation comparision  to be checked for number of quotations

    dear mm gurus, i need to build the logic and apply exit to me49 tcode in such a way that it should check the minimum number of quotations must be be three . Is there any exit which supports and logic to be devoloped. pl comment on this . nagaraju.

  • Corrupt Downloaded Midi Files

    Hi gang, I've been remixing a song and couldn't for the life of me figure out the bass line, so I downloaded a midi file from a professional company on the web, so that I could see the bassline myself. It's the first time i've downloaded and imported

  • Can I sync my Visor on Windows7?

    I'm using Handspring Visor Prism, and Windows7 on computer. I installed Palm Desktop 3.1 & Hotsync, but I can't sync. I could see the messege "The connection between your handheld computer and the desktop could not be established. Please check your s