LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Square wave generation

Hi Everyone,

 

I designed Square waev generation Vi using Labview 2012. 

 

But I am not getting Sqaure waveform in the graph.

 

please kindly have a look and let me know if there is any corection.

0 Kudos
Message 1 of 8
(2,613 Views)

You are sending a single number into a waveform chart. I would suggest working through the basic LabVIEW tutorial pointed to in my signature below to get started.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 2 of 8
(2,605 Views)

Hello ummy123,

 

There is actually an existing function to create a square signalin LabVIEW.

 

You will find the definition throught the below link.

 

http://zone.ni.com/reference/fr-XX/help/371361J-0114/lvanls/square_wave/

 

You will find in the attach VI a way to simply create a square wave using a for loop.

 

Best regards.

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 3 of 8
(2,602 Views)

In addition to Cameron's excellent suggestion the output of the Quotient and Remainder function will always be equal to Phase if Frequency and Time are integers.

 

Lynn

0 Kudos
Message 4 of 8
(2,601 Views)

Hi,

 

sorry I am using Labview 2012. I couldn't open the Vi you sent. 

0 Kudos
Message 5 of 8
(2,591 Views)

Here's the 2012 version VI.

 

Regards.

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
Download All
0 Kudos
Message 6 of 8
(2,585 Views)

Hi,

 

No its not the version 2012 vi. Because it s showing the same error.

0 Kudos
Message 7 of 8
(2,580 Views)

Try this one.

 

Regars.

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 8 of 8
(2,577 Views)