ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Make an VI of IntServ

Sir
i am Ms student i need help in my thesis VI
Q :- How to make VI  of the follwing formula of Integrated services
 
 

Di=(row+nLi)/r+Sumationsign(Lmaxj/cj)

 

want to make graph between d and n

0 Kudos
Message 1 of 16
(4,099 Views)

Hello isaleem,

If this algorithm is already written in a C type language, you could use one of our programming nodes to perform this operation.  The node is called the formula node.  You can program loops in for analysis of arrays in the formula nodes. 

If you only have this formula from a book and not coded into any other language, I would need some more information about the input parameters and the output (Di).  I cannot tell what the inputs represent, which ones are constants, or which ones are the elements of arrays.  Without a little more information it will be difficult to help further. 

Either way, let us know what happens.

Steven T.

0 Kudos
Message 2 of 16
(4,078 Views)

More info here:

http://forums.ni.com/ni/board/message?board.id=170&message.id=203135

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 16
(4,075 Views)

AnalogKid,

Thanks for the information. 

isaleem,

I have checked your terms and realized what this is for.  You want to use this equation for network calculations.  From the paper I found, D will end up being an array.  Li then is the ith element in the L array.  Lmax and C are also arrays that will be needed.  I'm curious about how you will be getting this information.  Do you currently have a program that is returning these numbers?

Looking at your other posts, there are suggestions already made that will help you with this problem.  With this new information however, it seems like you would also need a few for loops to program this correctly.

Steven T.

 

0 Kudos
Message 4 of 16
(4,049 Views)

hi

kindly check this vi  but there is a problem of graph out is not exact kindly check it

thanks

0 Kudos
Message 5 of 16
(4,027 Views)

isaleem,

Unfortunately none of your constants are labeled, so it is very difficult to find out what is happening.  Also what is wrong with the graph?  What is it not displying correctly?  You may want to use an x-y graph if you need to display points that are not uniformally distributed allong the x axis.

Steven T.

0 Kudos
Message 6 of 16
(3,994 Views)

Values are

D?

HOPS=n=1,2,3,4,5, etc

Li=200,300,400,500,600

R=2e6 fixed

Lmaxj=100,lmax2=200,lmax3=300,etc

cj=50,60,70,80,90,100 etc

 

i need the vi

which will display thr XY GRAPH BETWEEN dELAY AND HOPS

Delay and hops value

thanks for reply

 

0 Kudos
Message 7 of 16
(3,988 Views)

isaleem,

Assuming that the array outside the while loop is a the Delay, you can make another array containing the value for the hops.  In this case the while loop iteration count supplies the hop count.  You can create an array of the same size as each of the constant arrays (5).  Initialize this array with the hop count (iteration terminal of the while loop).  You can build the hops array the same way you build the delay array and then cluster it together using a bundle vi.  Be sure to use an XY Graph for this application since there are several Y values with the same X value.  Attached is a picture of what it could look like.  I am unsure of your version of LabVIEW.  I hope this helps.

Steven T. 

Message Edited by Steven T on 09-12-2006 10:00 AM

0 Kudos
Message 8 of 16
(3,965 Views)
hi
   i need vi of
 
 
       D=(e+t)/1-(h-1)v
 
Here e fixed, t ,h,v  is varing  i need XY Graph between hops "h"and Delay "D" 
thanks
 
0 Kudos
Message 9 of 16
(3,950 Views)

Hello isaleem,

I hope that my hints about the other equation helped!  This equation looks very similar to the other equation.  What do you have so far?  If you are having trouble getting started with it, here is a three hour tutorial that will help you get started with this in LabVIEW.

http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/60c2782788a811c986256...

Try it out.  If you have any specific questions or if you are getting any errors be sure to let us know.  We are here to assist you with specific LabVIEW questions.

Steven T.

0 Kudos
Message 10 of 16
(3,933 Views)