Re: I change dt, but should the frequency change???

2004-06-01 Thread Oleg
Hi,
first of all you don't need to create signals in loops like you did it
in your example. You can use signal generation VIs, which will do all
the job for you, from
Functions->Analyze->Waveform generation
or
Functions->Analyze->Signal Processing->Signal Generation
palettes.

As for your question you need to use dt LESS then 1/(200*2)=2.5 ms.
This is very simple. If frequency is 200 Hz then the period of signal
is 5 ms. To generate this signal you need at least 2 points
corresponding to its maximum and minimum so the minimal value of dt is
2.5 ms. If you want to generate goodlooking sin wave you need more
then 10 points on one period.

So if your waveform has N points and corresponds to K periods (N/K >
2) of the wave with frequency F then
dt=(K/N)/F.

Good luck.

Oleg Chutko.



Re: write xy graph to png with labview 7

2004-05-26 Thread Oleg
Hi,
If you need to save the image of your control then look http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500050015010100&HTHREAD=65813&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>here,
where I described how to do it. There is an example which saves the
image of control to JPG file. To save image to PNG file you need to
replace "Write JPG File.vi" with "Write PNG File.vi" from
Functions->Graphics&Sound->Graphics Formats palette.

Good luck.

Oleg Chutko.



Re: Hi!!how can I build a vi with every number of inputs?

2004-05-24 Thread Oleg
Hi,
one of the typical solutions is to use clusters. You can create one
cluster input for your vi with many elements inside. These elements
colud be of different types. With such solution you can create inside
cluster much more then 28 input elements.

Good luck.

Oleg Chutko.



Re: Y axis position

2004-05-24 Thread Oleg
Hi,
if you want to show Y scale at the right side of your graph instead of
its ordinary position at the left you must do the following things:
Right click on the title of the scale and select "swap sides" option
from pop-up menu.

Good luck.

Oleg Chutko.



Re: What is anti-aliasing?

2004-05-21 Thread Oleg
Hi,
anti-aliasing is smoothing. This term is usually used in computer
graphics. In graphics anti-aliasing is used to smooth some distortions
on the pictures (for example big squares in zooming).
As every smoothing anti-aliasing is some kind of lowpass filter. So I
think that advise was to perform some filtering to remove
highfrequensy components from your signal.

Good luck.

Oleg Chutko.



Re: subVI indicator initialize

2004-05-17 Thread Oleg
Hi,
look http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000800C3D3&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>here

Good luck.

Oleg Chutko.



Re: fake COM1 data

2004-05-13 Thread Oleg
Hi,
to do it you need a "serial loopback plug". This plug conects some COM
port pins in a way which allows you to send data to this port and read
them using the same port. Actually this is the loop which connects
"receive" and "transmit" carriers of the same port. Such loops are
usually used for port testing.
You can buy this loop somewhere or you can make it yourself. Read more
about loopback and how to make it http://www.passmark.com/support/loopback.htm";>here. Also
there are many other places in internet where oyu can find
information.

Good luck.

Oleg Chutko.



Re: Serial port with VISA

2004-05-13 Thread Oleg
Hi,
1. You must setup VISA drivers first. It is ussual problem when
someone tries to use VISA functions without installed driver. To
install driver you must run your Labview install disc and check this
option there.
2. Also check if your COM ports are enabled in BIOS and in Control
Panel->System->Device manager.
3. And then check how VISA works in MAX.

Good luck.

Oleg Chutko.



Re: How can I automatically word wrap a string placed in a (multicolumn) listbox ?

2004-05-12 Thread Oleg
Hi,
To compute the sizes of  text written using some font you can use
"Functions->Graphics & Sound->Picture Functions->Get Text Rect.vi". In
this function you can specify the font name, its size, and some
options (italic, bold, etc.).

Good luck.

Oleg Chutko.