Example labview VI with intensity graph for four inputs

I need to be able to plot four seperate force inputs on the same graph that change colors according to the force. Preferably one input in each of the four quadrants.

I am having trouble with the quadrant program. I have two graphs in this program the first is working and but the quadrant graph is not. We've tried a bunch of different ways of hooking up the channels but have been unsuccessful in getting all four inputs into seperate quadrants. Do you have any suggestions for us? Thanks in advance for your help.
Attachments:
Cont_Acq_to_2-25.vi ‏148 KB
Sub2-26.vi ‏30 KB

Similar Messages

  • LabView crash when intensity graph is in P6 of tab control

    Any available fixes for LabView crash when intensity graph is put on page 6 of tab control and right-clicked??

    Michael,
    This has been fixed in LabVIEW 6.1.
    Regards,
    Cyril Bouton
    Applications Engineer
    National Instruments
    Cyril Bouton
    Active LabVIEW Developper

  • LabVIEW DSC 8.0 examples that deal with events check for valid timestamp.Why?

    Hi folks !
    There are examples that come with LabVIEW DSC 8.0 that deal with alarm events, In these examples - DSC Alarms Event Structure Support.vi contained in DSC Alarms Demo.lvproj, for instance - when an alarm event occurs, the code checks for a valid time stamp - 17:00:00.000 31/12/1975. I´m confused, can anyone help me understanding why it´s done?
    Thanks !

    Hello marc8470,
    Each Virtex 5 FPGA bank requires an external voltage reference.  The FlexRIO FPGA module provides this reference in the form of Vccoa and Vccob.  Because there are two voltage references available on the FlexRIO FPGA module, each Vcco reference is connected to 2 IO banks.  The Adapter Module Interface and Protocol chapter of the FlexRIO MDK manual has a table that indicates which GPIO banks are referenced to which Vcco reference.  The Vcco levels set in the general section of the adapter module configuration file are not used by the Xilinx compiler, but instead by the fixed FlexRIO logic to configure the external voltage references.  The IO standard constraints section of the adapter module configuration file is used during compile to configure the output drivers in the Virtex 5.  If the general VccoALevel and VccoBLevel values do not match the IO standard constraints, no error will occur during compile, but the hardware will not be configured correctly during runtime.  The logic families used by each general purpose IO (GPIO) line must match that of the Vcco levels set in the general section of the adapter module configuration file.  A mismatch in values could result to incorrect behavior or possible damage to the FlexRIO FPGA module or the adapter module. 
    In the future, please use the email address included in your NI FlexRIO Adapter Module Development Kit (MDK) User Manual to send your questions directly to the FlexRIO MDK support team.  This group has experience with specific FlexRIO MDK questions such as this one. 
    The FlexRIO MDK manual is designed to provide all of the information a hardware designer will need to create a FlexRIO adapter module.  National Instruments is always improving and working on new releases of the FlexRIO MDK.  Please feel free to use the support email address in the FlexRIO MDK manual to send me any feedback you have on the contents of the manual.
    Regards,
    Browning G
    FlexRIO R&D

  • X-Y with intensity graph

    Hello.
     This is my task :
    I have 2 waveforms with different frequency ( this is my output) I read them with Analog input. One waveform is x and the other is y. I have also the third input that is the intensity in every point ( so I have x,y and intensity). I need to built graph with these 3 parameters. Do you have any idea what kind of chart do I need?

    I will try to explain my problem again.
     I need to built raster with signal. In the analog output (two channels) I generate two waveforms with different frequency. With two Analog inputs I read this waveforms and also I read additional AI with signal intensity. And I need to present in the intensity chart or graph signal intensity in every pixel (x-y). So I need to solve a number of problems:
    1. First of all I get tree AI in one waveform chart. And I didn't understand how I can split the signals from the different waveforms.
    2. How to "explain" to the intensity graph that every point intensity has specific x and y.
    Maybe now it is more clear. I attach my vi's maybe you can help me.
    Thank you
    Attachments:
    AI+plot.vi ‏90 KB
    AO.vi ‏63 KB

  • Why MBA (Mid - 2013) doesn't support with Bose Headphones for Audio Input

    I just bought two MBA 11(mid - 2013)  and MBA 13 (mid - 2013) two week ago and I found out that it doesn't support bose audio headphone (MIE2i mobile headphone) for audio input. So I am having experience for audio input with it. When I am having skype or recording, the voice go slient if i use that headphone as external microphone. All of my friends who are skyping with me can't heard my voice if i am doing skype with my MBA.  Audio output is fine though, you can hear as usual in headphones. Internal microphone works though,  but it is not good for privacy though.
    Thus, I went to apple store (Five ave) to trouble shoot about it, they said that is because Bose has noise cancelling, (BUT Bose MIE2i doesn't have noise cancelling though). They gave me two ear buds of apple ipod (one is outdate version & another one is latest version - that representative sucked, because she doesn't value the customer, she gave me outdate ear-buds, but i didn't urge with 3 dollars ear-buds), apple ear-bud works for audio input and output, however apple ipod ear buds are suck, it hurts the ears all time if you wear for 1 hrs. that's why I use quality headphone such as Bose headphones. Unfortunately, my bose headphone is not compatible at all.
    Is there any one having experiences with audio input with your headphones when you are using skype or audio recording. Which headphone is compatible with your MBA for input/output?

    The MacBook Air has a single headphone port. The microphone or headset in question must be of the three-ring variety, just like Apple’s headsets ......, the Macbook Air has the “headset” port,  not a conventional 2-ring mic and speaker port.
    Many are using this,
    http://store.griffintechnology.com/imic
    Youre likely going to need to get a USB headset to use with your Air.   OR, standard headphones plus a USB Mic.

  • Labview crashes with intensity chart

    Twice this morning, LV2010 has hung ("program is not repsonding") when I have tried to reposition an intesity chart on my front panel.  In one case I copied the chart from a NI example program into my VI.  When I tried to reposition the chart on my front panael, LV stopped responding.  Same thing happened when I tried again; the second time, I got the intensity chart from the charts and graphs palette.  I have LV 2010, version 10.0f2, and windows XP.  Thanks.
    Solved!
    Go to Solution.

    Hi there!
    The following KnowledgeBase explains why this might be happening.
    http://digital.ni.com/public.nsf/allkb/9A8FB888BFC​ED9658625721500434A31
    Basically, that chart might be holding a lot of data, and when you move it, LabVIEW has to rearrange all that information in RAM as you move the chart. You can either write smaller data, or save all that data in an array separate from the chart at the end of execution so you can save it. If you want to view it in a chart later, just input it back into a chart.
    Ravi A.
    National Instruments | Applications Engineer

  • Labview 9 with GPIB-RS232 for controlling shutter at fixed interval of time

    Hello,
    I want to control my shutter using LabView. I have got a program for it from which I can see that shutter is being controlled. But I don't know how should i incorporate this conditional opening and closing of shutter. For example, I would like shutter to be close for  first "t1' sec and open for next "t2" sec and again close for "t1" and this repeated over unless stopped.
    I am attaching the file also, Can somebody explain me how I can do it?
    Thanks and regards.
    Solved!
    Go to Solution.

    I'm thinking this would be a good application for a State Machine.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • Need help with Java app for user input 5 numbers, remove dups, etc.

    I'm new to Java (only a few weeks under my belt) and struggling with an application. The project is to write an app that inputs 5 numbers between 10 and 100, not allowing duplicates, and displaying each correct number entered, using the smallest possible array to solve the problem. Output example:
    Please enter a number: 45
    Number stored.
    45
    Please enter a number: 54
    Number stored.
    45 54
    Please enter a number: 33
    Number stored.
    45 54 33
    etc.
    I've been working on this project for days, re-read the book chapter multiple times (unfortunately, the book doesn't have this type of problem as an example to steer you in the relatively general direction) and am proud that I've gotten this far. My problems are 1) I can only get one item number to input rather than a running list of the 5 values, 2) I can't figure out how to check for duplicate numbers. Any help is appreciated.
    My code is as follows:
    import java.util.Scanner; // program uses class Scanner
    public class Array
         public static void main( String args[] )
          // create Scanner to obtain input from command window
              Scanner input = new Scanner( System.in);
          // declare variables
             int array[] = new int[ 5 ]; // declare array named array
             int inputNumbers = 0; // numbers entered
          while( inputNumbers < array.length )
              // prompt for user to input a number
                System.out.print( "Please enter a number: " );
                      int numberInput = input.nextInt();
              // validate the input
                 if (numberInput >=10 && numberInput <=100)
                       System.out.println("Number stored.");
                     else
                       System.out.println("Invalid number.  Please enter a number within range.");
              // checks to see if this number already exists
                    boolean number = false;
              // display array values
              for ( int counter = 0; counter < array.length; counter++ )
                 array[ counter ] = numberInput;
              // display array values
                 System.out.printf( "%d\n", array[ inputNumbers ] );
                   // increment number of entered numbers
                inputNumbers++;
    } // end close Array

    Yikes, there is a much better way to go about this that is probably within what you have already learned, but since you are a student and this is how you started, let's just concentrate on fixing what you got.
    First, as already noted by another poster, your formatting is really bad. Formatting is really important because it makes the code much more readable for you and anyone who comes along to help you or use your code. And I second that posters comment that brackets should always be used, especially for beginner programmers. Unfortunately beginner programmers often get stuck thinking that less lines of code equals better program, this is not true; even though better programmers often use far less lines of code.
                             // validate the input
       if (numberInput >=10 && numberInput <=100)
              System.out.println("Number stored.");
      else
                   System.out.println("Invalid number.  Please enter a number within range."); Note the above as you have it.
                         // validate the input
                         if (numberInput >=10 && numberInput <=100)
                              System.out.println("Number stored.");
                         else
                              System.out.println("Invalid number.  Please enter a number within range."); Note how much more readable just correct indentation makes.
                         // validate the input
                         if (numberInput >=10 && numberInput <=100) {
                              System.out.println("Number stored.");
                         else {
                              System.out.println("Invalid number.  Please enter a number within range.");
                         } Note how it should be coded for a beginner coder.
    Now that it is readable, exam your code and think about what you are doing here. Do you really want to print "Number Stored" before you checked to ensure it is not a dupe? That could lead to some really confused and frustrated users, and since the main user of your program will be your teacher, that could be unhealthy for your GPA.
    Since I am not here to do your homework for you, I will just give you some advice, you only need one if statement to do this correctly, you must drop the else and fix the if. I tell you this, because as a former educator i know the first thing running through beginners minds in this situation is to just make the if statement empty, but this is a big no no and even if you do trick it into working your teacher will not be fooled nor impressed and again your GPA will suffer.
    As for the rest, you do need a for loop inside your while loop, but not where or how you have it. Inside the while loop the for loop should be used for checking for dupes, not for overwriting every entry in the array as you currently have it set up to do. And certainly not for printing every element of the array each time a new element is added as your comments lead me to suspect you were trying to do, that would get real annoying really fast again resulting in abuse of your GPA. Printing the array should be in its own for loop after the while loop, or even better in its own method.
    As for how to check for dupes, well, you obviously at least somewhat understand loops and if statements, thus you have all the tools needed, so where is the problem?
    JSG

  • CSCut90579 - Workflow imports fails with missing mappings for custom inputs

    Hello Team,
    Do we know if this bug is also present in UCS-D 5.3 release? Is the fix planned to be integrated in 5.2(0.3) release?
    Thank you

    Hello Team,
    Do we know if this bug is also present in UCS-D 5.3 release? Is the fix planned to be integrated in 5.2(0.3) release?
    Thank you

  • Intensity Graph control using VC++ 6.0?

    LabView supports an "Intensity Graph" control. Is there a way to accomplish the same thing with CNiGraph, CWGraph or CNiGraph3D?

    Thank you for you answer. It was very helpful. One thing missing is the "intensity slider" that is part of the LabView control. It allows the user to adjust the image display. The other problem I have is that the 3D graph axes labelling always looks big and clunky no matter what I use for font type/size. What I am trying to emulate is shown in the attachment. Basically I am translating some LabView code into C++.
    Attachments:
    Image1.bmp ‏203 KB

  • Q - How to program the min/max values of an intensity graph

    Hi LabViewers,
    I'm looking for a way to program the min/max Z values of an intensity
    graph for image display properly, but unable to figure it out so far.
    Any idea?
    Chengye

    Right click the graph's control on the block diagram and create a property node.  Right click the node and Change all to Write.  RIght click the node again and select from Properties either the combined ZScale->Range->All elements  -or- you can individually define 2 property nodes for Max and Min (also under Zscale->Range).
    Message Edited by Jonnie 5 on 12-14-2005 03:07 PM
    2006 Ultimate LabVIEW G-eek.

  • BCG Brightness Contrast Gamma - Looking for BCG function returning color table / lookup table coded in pure G and applicable to Intensity Graph or Picture Control

    Looking for BCG function returning color table / lookup table coded in
    pure G and applicable to 8-bit Intensity Graph or Picture Control. Do
    not want to use IMAQ Vision is this particular application.  Any
    help is appreciated.
    Sincerely,
    Don

    Take a look at this color model software I put together.  (Don't concern yourself much with the basic programming at this point.). The color component generator subVI is borrowed from a LabVIEW example.
    First look at test_color2.vi.  If you adjust the sliders of the various controls, you will see how it works.  You can see that for pure B&W images, brightness, contrast, and gamma (which I think I have coded correctly) are all fairly straightforward to modify.
    Now look at test_color3.vi.  Here we try to adjust BCG for color images using the color model shown here where current color component clusters are carried into the BCG event cases via shift registers.  You can see that once color is introduced into the image, it becomes difficult to mix the colorizing with the BCG model.  And this is pretty much where I am right now.
    Would be interested in comments / suggestions.
    Sincerely,
    Don
    Attachments:
    test_color2.llb ‏2251 KB

  • How does LabVIEW Render the data in 2D Intensity Graphs?

    Hello,
    I was hoping someone could explain to me how LabVIEW renders it's 2D intensity data. For instance, in the attachment I have included an image that I get from LabVIEW's intensity graph. The array that went into the intensity graph is 90000x896 and the width/height of the image in pixels is 1056x636.
    Something I know from zooming in on these images as well as viewing the data in other programs (e.g. Matlab) is that LabVIEW is not simply decimating the data, it is doing something more intelligent. Some of our 90000 lines have great signal to noise, but a lot of them do not. If LabVIEW was simply decimating then our image would be primarily black but instead there are very obvious features we can track.
    The reason I am asking is we are trying to do a "Live Acquistion" type program. I know that updating the intensity graph and forcing LabVIEW to choose how to render our data gives us a huge performance hit. We are already doing some processing of the data and if we can be intelligent and help LabVIEW out so that it doesn't have to figure out how to render everything and we still can get the gorgeous images that LabVIEW generates then that would be great!
    Any help would be appreciated! Thanks in advance!
    Attachments:
    Weld.jpg ‏139 KB

    Hi Cole,
    Thank you for your understanding.  I do have a few tips and tricks you may find helpful, though as I mentioned in my previous post - optimization for images or image-like data types (e.g. 2D array of numbers) may best be discussed in the Machine Vision Forum.  That forum is monitored by our vision team (this one is not) who may have more input.
    Here are some things to try:
    Try adjusting the VI's priority (File»VI Properties»Category: Execution»Change Priority to "time critical priority")
    Make sure Synchronous Display is diasbled on your indicators (right-click indicator»Advanced»Synchronous Display)
    Try some benchmarking to see where the most time is being taken in your code so you can focus on optimizing that (download evaluation of our Desktop Execution Trace Toolkit)
    Try putting an array constant into your graph and looping updates on your Front Panel as if you were viewing real-time data.  What is the performance of this?  Any better?
    The first few tips there come from some larger sets of general performance improvement tips that we have online, which are located at the following links:
    Tips and Tricks to Speed NI LabVIEW Performance
    How Can I Improve Performance in a Front Panel with Many Controls and Indicators?
    Beyond that, I'd need to take a look at your code to see if there's anything we can make changes to.  Are you able to post your VI here?
    Regards,
    Chris E.
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Cursor/Window for Zooming in Intensity Graph

    Does anybody know how to create a non-rectangular window (any shape
    connected by mouse clicks) for zooming (or for data retrieval) if a
    particular area in the graph is of interest in a intensity graph?
    Wouldn't it be really cool if we can select edges in a graph and
    retrieve the information (or data) from the graph?
    The other question of mine is: is there a way that when we're using
    intensity graphs, we can create the custom menu with right mouse button
    click, instead of the standard set of menu items? Any help is greatly
    appreciated. Thanks.
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    [email protected] wrote:
    > Does anybody know how to create a non-rectangular window (any shape
    > connected by mouse clicks) for zooming (or for data retrieval) if a
    > particular area in the graph is of interest in a intensity graph?
    > Wouldn't it be really cool if we can select edges in a graph and
    > retrieve the information (or data) from the graph?
    In my pre-NI days, I had a lot of fun trying to coax image-manipulation and
    -analysis behavior out of LabVIEW intensity graphs. You can do a fair
    amount by making use of cursors and hotkeys and creating pseudo-overlays by
    setting image coordinates to certain colors to create visual cues in
    response to user inputs.
    That being said, I never considered trying to get complex ROI (region of
    interest) info from a user wi
    th an intensity graph, and I'll bet it's a
    pretty tough GUI trick unless you're using IMAQ Vision. If you find
    yourself trying to build features like this into your application, or doing
    a lot of image manipulation in general, you might save yourself time in the
    long run by getting the IMAQ Vision toolkit from NI.
    > The other question of mine is: is there a way that when we're using
    > intensity graphs, we can create the custom menu with right mouse button
    > click, instead of the standard set of menu items? Any help is greatly
    > appreciated. Thanks.
    I'm not aware of a way to suppress the built-in context-sensitive popup
    menus. Sorry!
    Regards,
    John Lum
    National Instruments

  • MATLAB pcolor and LABVIEW Intensity Graph

    Hello all
    I have a data matrix which i want to plot using intensity graph of LABVIEW. My problem is that when i plot this matrix using MATLAB pcolor along with "shading interp" command, i got a very fine and smooth coloring graph of this matrix, however, using LABVIEW Intensity graph along with getcolor vi, i was not able to get a smooth coloring graph comparable to MATLAB pcolor. I have tried many setting but results were not satisfactory
    Is this due to a limitation of LABVIEW intensity graph or i am missing something? Kindly help me
    Best Regards
    Asim

    Thanks for providing that Asim, unfortunately the VI you provided is unusable as-is.  There is a subVI missing, and while not critical, it's difficult to tell how you're setting up the intensity graph without that VI.  Additionally, it doesn't appear that there is any graph data included in the VI you provided and a third-party software license would be required to use this VI.  Could you upload the data you're handling in a format that works without any external tools?
    As for thoughts on the differences in the plots; they are largely similar in appearance, although it does appear that you're using a different color scale in LabVIEW- the majority of your scale is in the blue-green range, rather than continuing linearly through yellow, orange, and red. You're going to lose a lot of visual resolution in the ranges you're highlighting due to this. The plot you're trying to achieve also appears to be interpolated or blurred around the edges of bins, are you actually plotting data between integers on the x-axis, or is this an artefact introduced by the software?
    Regards,
    Tom L.

Maybe you are looking for

  • 1210 printer problem

    I have a 1210 printer, uses 56, 57 cartridges.  When I printed photos I got a line down the middle of the pix.  I cleaned inside of printer, bought new cartridges at cost of almost $60.  Now I still get the line down the middle of the printed pix.  D

  • Paid Red Hat Linux (KVM Virtualization)

    Hey guys, I was wondering, if anyone of you have shifted using Paid Red Hat Linux with CentOS, and what are your experiences of moving from Paid Linux to Unpaid Linux CenOS. When do you suggest a person use Paid Linux and when to use Unpaid Linux?

  • Airport problems after update

    I have been using my 20" Intel iMac for a few months now and have had no problems getting the built-in airport device to connect to my wireless home network. Yesterday, I downloaded and installed the new airport system update, and ever since I've bee

  • Upgraded system. Gnome problems.

    Hi, I just ran a system upgrade and I now can not login to gnome. From slim I get to being able to see my desktop background, and then it crashes, displaying a nondescript error message within a dialog, which starts of (recalled from memory): Oh no!

  • Music app crashes connecting to shared library

    I have an iPad 2 that is trying to connect to a shared library on my iMac.  Whenever I try to connect, I get the wait spinning icon and eventually the music app on the iPad just crashes (exits). I have a couple AppleTVs in the house and they connect