LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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.
0 Kudos
Message 1 of 10
(5,284 Views)
The attached code constructs an intensity graph. It is in LV7 format. Let me know if you need a different version.

Joe
Message 2 of 10
(5,284 Views)
I actually am using Labview 6i. Do you happen to have the same code for the LV6i format or will the LV7 code work? Thanks for you help.
0 Kudos
Message 3 of 10
(5,284 Views)
Sorry, I don't have 6i installed. See the example image file below.

Joe
0 Kudos
Message 4 of 10
(5,284 Views)
I'm thinking about using the LV7 code that you had sent me could you send me the other panel for the same code so that I would be able to see what the output would look like? Could you tell me where the inputs would go in from an outside source? Also what the I32 boxes for Q1, Q2, Q3, and Q4 actually are? And finally are the caresian coordinates you have on the drawing just a drawing or is that something you can do in Labview? Thanks so much for your help.
0 Kudos
Message 5 of 10
(5,284 Views)
I managed to save the file into v6.0 . Checkout the attached file. In your calse, when you create a subvi, Q1, Q2, Q3, Q4 will be inputs. This VI demostrates how a sample intensity graph be "divided" into 4 quadrant and re-contruct back. Of course, you need to figure out what data you need to feed into Q1 - Q4. Remember, Q1 - Q4 must be equal size if you want a equal size quadrant.

Joe
0 Kudos
Message 6 of 10
(5,284 Views)
I have a few more questions for you about the VI. How do I change the colors on the graph so that they range from blue to red instead of being all shades of blue? Also can the Q1, Q2, Q3, and Q4 inputs be a Four seperate input channels? Could you also tell me what exactly the array does because I am unsure of how exactly it works with the whole VI. Thanks again.
0 Kudos
Message 7 of 10
(5,284 Views)
Please learn to use the "find example ..." from the "Help" menu, search for "colors", there is a VI called "Create IntGraph Color Table.vi" which you can use to generate the color table you want to use. Then you need to create a property node of the intensity graph and there is a property called "colorTable". Wire the value you get from the other vi to this property.

The VI basically "cuts / divide" the input of the intensity graph into 4 even quadrants (Q1 - Q4, see the coord in the vi). Each quadrants is a subset of the data you send to the graph, and each quadrants is a 2D array. As long as your data is 2D array then it does not matter what you wire in. The basic idea is to combine 4 small intencity
graph into a big one, each small one occupies one quadrant.

On the diagram everything inside the rectangle should be made into a subvi. To do so, select everything inside it, and goto "Edit" >> "Create SubVI",

Joe
0 Kudos
Message 8 of 10
(5,284 Views)
We did use the help menu for the colors and we were unable to make it work. Thank you for your help.
0 Kudos
Message 9 of 10
(5,284 Views)
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.
Download All
0 Kudos
Message 10 of 10
(5,284 Views)