The wording of your question is confusing but I will try to answer it.
To input mm as a sinusoid amplitude, you will have to provide a conversion from voltage to mm. I don't know your application so I'm not sure how to do this conversion. What are you measuring in mm?
For a Hz input, you first have to decide on a sampling rate (1/time step). Once you have that then for Sine Pattern, you must decide on a length of time for the signal and the frequency of the signal. For example, you choose 100 samples/s (Hz) sampling rate (0.01 seconds/sample time step), 2 second signal duration at a frequency of 8 cycles/second (Hz). The number of samples would be
(2 seconds) * (100 samples/second) = 200 samplesThe number of cycles would be
(8 cycles/second) * (2 seconds) = 16 cyclesFor the Sine Wave vi the samples input would be the same as the Sine Pattern vi, as well as amplitude and phase inputs. The f input would be as follows
(8 cycles/second) / (100 samples/seconds) = 0.08 cycles/sample So write the LabVIEW code to do the above and you can enter you input data as you would like.
Randall Pursley