Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

how can be time implimenting in Square Wave Point By Point .vi

i want to use "Square Wave Point By Point .vi" but i can not understand how to put time value.

0 Kudos
Message 1 of 3
(6,100 Views)

Hello,

 

I understand you wanted to use the mentioned vi. So the thing is the inputs that you can see are not compulsory or required inputs. Those are recommended inputs which you can use if you have a requirement in your application. So in thise vi as you know the duty cycle will define the time a square wave remains high versus low over one period. Morever the output of the square wave will be as follows:

 

square wave = amplitude × square (p)

where

 

square(p) = 1 if [ (360. frequency. time + phase)mod(360)] is < [360. duty cycle(100%) / 100]

 and -1 for other cases.

 

So from this equation you can work on your application and decide if you need any time input at all or not.

 

Hope this helps.

Cheers..!! 

 

Message 2 of 3
(6,086 Views)

thankyou but still i have some confussion , for example LV use Quotient & Remainder in this vi  which X input is (360. frequency. time + phase) and the Y is 360 , here X must be less then Y so

 

if my frquency is 1 Hz , time mybe 1 sec

 

But if F is 1Khz time should be in mSec

 

and when F is 10 Khz or more ?

 

then this small time puls needs to be generate with its counting and resetting ( because we must keep X is < Y ) , am I right sir ?

I need type of example too

regards

 

0 Kudos
Message 3 of 3
(6,073 Views)