RovingCalypso
-
Posts
3 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by RovingCalypso
-
-
I am a complete beginer to Labview and am trying to use polar plots in labview.
The problem is that I can't input a function into the polar plot (i am trying to modify the polar plot demo that came with labview examples). The demo has a random function as an input.
So my question is that how do i input a function and it runs/animates for some time? A function like Sin (2*pi*t) where t is a variable with values from, say, 1 to 100. So that some sort of animation can be observed on the polar plot.
THanks
-
Hello there,
Sorry for the odd first post but am really desperate here. Can anybody please convert the following matlab code to labview? It will be a big help.
clear; colordef white;p=input('How many poles '); % No. of polestheta=linspace(0,2*pi,50); n=length(theta);ro=6; rs=5; rr=4; % Outside, bore, & rotor radiirgr=4.5; % Air gap center grid radiusRo=ro*ones(1,n);Rs=rs*ones(1,n);Rgr=rgr*ones(1,n);Rr=rr*ones(1,n);F=zeros(1,n); F1=F; F2=F; phi=pi/4;for i=1:37; pause(0.001); polar(theta,Ro,'-.'); hold on; polar(theta,Rs,'-.'); polar(theta,Rgr,'m'); polar(theta,Rr,'g-.');for j=1:n; F1(j)=Rr(j)+0.5+0.225*cos(p/2*theta(j)-phi);F2(j)=Rr(j)+0.5+0.225*cos(p/2*theta(j)+phi);F(j)=F1(j)+F2(j)-Rr(j)-0.5; endpolar(theta,F,'r'); polar(theta,F1,'y:'); polar(theta,F2,'c-.');text(0.9,rs+0.25,'Stator');text(-1.5,rr-0.75,'Rotor');text(5.5,5,'.. Forward');text(5.5,4,'-. Backward');text(5.5,6,'- Resultant');name=['Air gap mmf waves of single-phase induction motor'; ' '; ' ']; title(name);phi=phi+pi/18; hold off;end
Any help will be appreciated
Thanks alot
Need Help ASAP
in User Interface
Posted
I need to draw a circle over a polar plot in labview 7.1. How do I do that? (A step by step guide will be appreciated)
I've found the circle drawing function, but am having problems with its input, especially that pixel centre one.
Thanks