Jump to content

MaxValue


Recommended Posts

Posted

Hi there,

I need a hint for my VI ,,, I have a max value of x suppose it is 10 ! in this case I want to draw from 10 to -10 in a graph !! if my value is 5 then I want to graph from 5 to -5 ... How to do that?? I have tried an array and case structure ! it doesnot work!!

Posted

QUOTE(Nullllll @ Apr 3 2007, 01:26 PM)

Hi there,

I need a hint for my VI ,,, I have a max value of x suppose it is 10 ! in this case I want to draw from 10 to -10 in a graph !! if my value is 5 then I want to graph from 5 to -5 ... How to do that?? I have tried an array and case structure ! it doesnot work!!

If you right-click on the graph on the front-panel and choose "X Scale >> Autoscale X" the graph will automatically resize for your data. Is this what you are looking for?

Posted

THNX DARLING ,, But What I want is , forget about graph , if the user enter 8 then all the values below will be displayed I mean how can I diplayed those value????i know it is easy 4 u but i HAVE TRIED IT ! IT IS NOT WORKING !!!

Posted

QUOTE(Nullllll @ Apr 3 2007, 09:09 PM)

THNX DARLING ,, But What I want is , forget about graph , if the user enter 8 then all the values below will be displayed I mean how can I diplayed those value????i know it is easy 4 u but i HAVE TRIED IT ! IT IS NOT WORKING !!!

Nulll,

sorry but your questions get mystier every time (your initial question was much better than your second answer). Please try to build a scentence where you describe what you want (in which control type for instance), if you want to do it programattically or from the user interface.

Also have a look at your keyboard, there seems to be something wrong with the shift-key.

Now this case, where does the user enters '8'? And where do you want to display it?

What code have you got already?

Ton

Posted

QUOTE(Nullllll @ Apr 3 2007, 03:56 PM)

oK oK i am not expressing well .

if the user enter 8 ok! the program will generatae all values below 8 till the loop stopped!!!that must be done in the program

So, you want a graph which displays a sine wave of amplitude x, where x is entered by the user?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.