LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading motor state

Hello. Below I add a picture, because I don't have a vi. I am measuring a square wave , by calculating number of rising edges and then record period and at what time it was. Now i want also to record state of a motor by reading register with address 0x7 shown below. In this configuration I always have the same value at all time, but I see on a graph on my plot that it should be different. I dont know what is the problem. Please help me. Thank you

LilySamchuk_0-1708104557680.png

 

0 Kudos
Message 1 of 4
(480 Views)

Hi Lily,

 


@LilySamchuk wrote:

Now i want also to record state of a motor by reading register with address 0x7 shown below.


Read the manual of your motor driver to get all the information you need!

 

(You failed in providing any information on the type/manufacturer of your motor driver…)

Best regards,
GerdW


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

It’s not about the motor. It’s about how to read register value continuously from the start of a waveform so some time . 

0 Kudos
Message 3 of 4
(451 Views)

@LilySamchuk wrote:

Hello. Below I add a picture, because I don't have a vi. I am measuring a square wave , by calculating number of rising edges and then record period and at what time it was. Now i want also to record state of a motor by reading register with address 0x7 shown below. In this configuration I always have the same value at all time, but I see on a graph on my plot that it should be different. I dont know what is the problem. Please help me. Thank you

LilySamchuk_0-1708104557680.png

 


If you don't have a VI they where did this screen capture come from?

 

Without being able to look at your code or being given any information about the motor controller in question there's not a lot we can do.

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 4
(427 Views)