Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

matlab

Hello:

 

I need to run the stepper motor, the problem is that the Logic (MATLAB code) will be interfaced by the "dSpace (Control Desk NGV version 4)", which does not support the Stepper motor block, available in the Simulink Library.

 
In this case I can only use the "Pulse generator block". That Pulse generator will continuously generate the pulses and two (Constant Blocks) will take the input (sec.) and generate the pulses unless the pulse reaches the second input block value, and then it should remain at zero.
 
Eg: I/P(1) = 0,    I/P(2) = 20,  so a Pulse generator will generate the pulses till 20sec and then it should be stopped.
 
The basic problem is that all of the comparison block with whom I am familiar will make the decision by looking at the "Amplitude (values on Y axis)" and I need to compare or want to make a decision by Looking the values on the (x-axis).
0 Kudos
Message 1 of 2
(2,945 Views)

duplicate post

 

Please do not cross-post. It is very irritating. It also makes helping extremely difficult since nobody knows where they should respond, and nobody knows what has already been discussed.

0 Kudos
Message 2 of 2
(2,937 Views)