LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wanted to Give Step Input to the Motor and Plot the Result

I wanted to give the sine signal as a RPM(Input) and plot the Output (response) for it. I am using the sine waveform but when I am connecting  the wire it is showing some data type error. How shall I rectify it. My sole intention here is to check the Motor running or not at this signal. Also How I can check for the step input and see the output. Can you give me some insights to deal with the Hardware. Here is the attached screen shot which depicts the issue. Hope you will understanding what I am trying to convey. 

Capture 3.PNG

0 Kudos
Message 1 of 2
(281 Views)

Hi rishab,

 


@rishab_kr wrote:

I wanted to give the sine signal as a RPM(Input) and plot the Output (response) for it. I am using the sine waveform but when I am connecting  the wire it is showing some data type error. How shall I rectify it.


Don't use a formula node for a simple scaling! There even is a waveform function (Wfm_ScaleAndOffset) just for this purpose!

As all 4 outputs get the very same scaling you could even set the correct values at the SineWaveform function...

Also: why do you want to create a sine waveform and then output just 4 samples???

 


@rishab_kr wrote:

Also How I can check for the step input and see the output. Can you give me some insights to deal with the Hardware. Here is the attached screen shot which depicts the issue. Hope you will understanding what I am trying to convey. 


How do you connect your motor and your "hardware"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(261 Views)