03-14-2009 08:47 AM
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,
03-14-2009 09:30 AM - edited 03-14-2009 09:32 AM
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
03-14-2009 09:37 AM - edited 03-14-2009 09:38 AM
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
03-14-2009 11:22 AM
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,