LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

New to LabView-Sampling and Sampling n Holding procedures

Hello

I'm new to LabView and I use this software to simulate some projects in the university.I want to simulate Sampling of a Sin wave but after trying a lot of procedures (like multiplying pulse signal with wave signal) I finally discover that I cant.Can somebody please propose a proper .vi file that can do my work?The sampling is physical sampling with the following characteristics

 

sampling frequency:4kHz

pulse duration: 25μsec

Sin amplitude:2V

Sin frequency: 1kHz

 

I know that my question is a fool one but I'm interested in knowing the basics first so my work can be done.Thanks in advance

0 Kudos
Message 1 of 2
(2,594 Views)

Peponas wrote:

Hello

I'm new to LabView and I use this software to simulate some projects in the university.I want to simulate Sampling of a Sin wave but after trying a lot of procedures (like multiplying pulse signal with wave signal) I finally discover that I cant.Can somebody please propose a proper .vi file that can do my work?The sampling is physical sampling with the following characteristics

 

sampling frequency:4kHz

pulse duration: 25μsec

Sin amplitude:2V

Sin frequency: 1kHz

 

I know that my question is a fool one but I'm interested in knowing the basics first so my work can be done.Thanks in advance


You should have a look at the Basic Function Generator VI, you can set the amplitude, frequency of the sine and frequency and duration (in samples) of the waveform.

 One call should give you all.

One question though, 4 kHz is 250  μsec per sample. So if the signal is only 25 μsec wide you will not be able to sample.

 

 

Ton

Message Edited by TonP on 11-16-2008 10:44 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 2
(2,566 Views)