LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Simulate Signal VI: minimum frequency?

I'm a student new to LabView.

 

I'm trying to create a simple signal generator VI. My goal is to be able to simulate a square wave signal pulse going from 0 to V at low frequency like 1 Hz or less. However, when I set the frequency in the Simulate Signal VI lower than the default of 10.1 Hz I run into some issues. The signal will not display properly, or at all. I also have an issue with the graph indicator only displaying the signal in a 0.1s area even though I change the time axis scale to 1s or larger. I've tried playing with the timing and adjusting other settings, but I can't seem to get it right.

 

I've included the VI file. Thank you in advance.

 

Mike

0 Kudos
Message 1 of 4
(513 Views)

Hi Mike,

 

why do people always think "ExpressVIs will make my life easier?"…

 

Try the attached VI, using a simple function from signal generation palette.

Two notes:

- I have set the x axis of the graph to autoscale.

- play with the sampling info to learn its meaning…

 

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 2 of 4
(477 Views)

Hi Gerd,

 

I think it is natural for users to gravitate toward Express VIs, and NI should have probably just made sure all Express VIs are covered by examples so new users can learn how to do what they want.

 

We have roads called "Expressways" and even at the grocery store we have "Express Checkout", so it's only natural to try out Express VIs Smiley Happy



CLA // LabVIEW 2016 // BALUG // Unofficial Forum Rules and Guidelines
0 Kudos
Message 3 of 4
(452 Views)

Thank you for the replies. I will try out the VI you have attached, I appreciate it Gerd.

 

I found my way to the simulate signal express VI because it was what was used in several tutorials I watched on YouTube including ones by NI. I see now that they have their limitations.

 

Thanks again!

Mike

0 Kudos
Message 4 of 4
(450 Views)