LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

changing of video height and width in labview using a sine wave generate in simulink

Dear all
In LABVIEW I made a program successfully that changes video height and width as the magnitude of sine wave changes at each point. But when I try to do this using NI SIT connection than it fails, i want to repeat above task using a sine wave genereating in simulink.
 
Many Thanks in advance.
Best Regards
Muhammad Abul Hasan
0 Kudos
Message 1 of 7
(4,109 Views)

Hi Abul,

 

How are you interfacing the output of your SIT model to the Program you have create? Is it possible for you to post your code?

 

<Brian A | Applications Engineering | National Instruments> 

0 Kudos
Message 2 of 7
(4,096 Views)

Dear

Thanks for your reply.

 

I just made a simple block diagram in LABVIEW that changes video height and width with changing amp of sine wave at each point and it runs succesfully but fail when try to run with sine wave generate in simulink. I am trying to load but unable to do. Do you ask LABVIEW block diagram or Simulink.

 

Kindly provide any possible solution for which I shall be thankful to you.

 

Many thanks in advance.

 

0 Kudos
Message 3 of 7
(4,085 Views)

Hi Abul,

 

If you want to get the sine wave data to control your video height then you will probably want to grab the information from the Sine Wave after it is imported and converted in LabVIEW. 

SITsineWave.jpg

 

<Brian A | Applications Engineering | National Instruments> 

0 Kudos
Message 4 of 7
(4,076 Views)

Dear Brian

Please find enclosed a labview file to run a video. Look video size changes as sine wave amplitude changes point to point. How can I do this same task when importing a sine wave from MATLAB?

 

Many Thanks in advance.

0 Kudos
Message 5 of 7
(4,066 Views)

Dear Brian

 

What is showing by block you circled red?

 

What specific information is required to grab?

0 Kudos
Message 6 of 7
(4,062 Views)

Hi Abul,

 

I believe that Brian is just saying that waveform data (circled in red and called sine wave) is what you would use instead of the sine wave from the simulate signal in your code. You would just use the getWaveformComponents functions in the waveform palette to get the information you need from the waveform.

Cheers!

TJ G
0 Kudos
Message 7 of 7
(4,051 Views)