LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to control the variables in 'timing' in simulate signal palette by user numeric control?

is there a way to control the timings of the simulate signal function (i.e. samples per hz, num of sample, etc) by user input (numeric ctrl)? You could easily do so for amplitude, freq, etc but not the timing.

 

Many thanks,

0 Kudos
Message 1 of 4
(2,796 Views)

Are you referring to an Express VI?

 

 

I don't typically use the Express VI's because they do not offer the customization that I need or want.  They are configured by double clicking the icon and all settings are from within.  You already know that.  Some Express VI's do offer more controls.  But this one has only the error in control.

 

However, you can right click it and select "Open Fron Panel". 

It will ask you if you want to convert the Express VI to a standard sub-vi. Select Convert.

 

You will then have a subvi that has all the input controls that you need

 

Message Edited by Ray.R on 03-14-2009 10:32 AM
Download All
0 Kudos
Message 2 of 4
(2,789 Views)

The new subvi will look like this:

 

But it is still an Express VI.  So go to it's block diagram and copy the code and paste it into your code.

 

It's messy, but it's the fastest way to do it.  The better way is to create your own code for a subvi.

 

R

 

 

Message Edited by Ray.R on 03-14-2009 10:38 AM
Download All
0 Kudos
Message 3 of 4
(2,786 Views)

thanks very much

 

i somehow managed to code that part out as the waveform i'm generating is relatively simple in shapes. But it's still nice to know. thanks,

0 Kudos
Message 4 of 4
(2,770 Views)