LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone have a LabVIEW coding file which can plot/read torque vs angular position ?

I want to plot (or a csv data file),
1. torque with respect to angular position
2. angular velocity with respect to angular position

I can only plot torque vs time, angular position/speed vs time  as I am not good at LabVIEW.

Encoder:  MEH 60 3600 which is a open collector, x4 decoding type, with Z indexing. It has PPR 3600.
Torque meter: NTS TCR-100N Torque Sensor

DAQ system: cDAQ 9174
For encoder: NI 9361
For torque meter: NI 9237

Thank you

0 Kudos
Message 1 of 18
(1,268 Views)

@msi48 wrote:

I can only plot torque vs time, angular position/speed vs time


If you use an X-Y Graph your X-Axis can be anything you want it to be.

========================
=== Engineer Ambiguously ===
========================
Message 2 of 18
(1,254 Views)

You can name the x-axis anything you want (... and if the angular positions are spaced equally, you don't even need an xy graph.  You can set the offset and multiplier of the x axis of a plain graph). I assume both plots share the same x-values, right?

 

The hardware is completely irrelevant for your question. Do you have a typical CSV file and your VI (The correct name for what you call a "LabVIEW coding file") attempt? 

0 Kudos
Message 3 of 18
(1,221 Views)

You need to ensure that you sample Torque and Angular position on the same sample rate so you can plot XY properly . I did something similar before but I in my case I acquire Torque and angular position from the same data acquisition. 

 

In your case since you're using encoders, you need to sample the data from different sources and then plot XY . 

 

 

Message 4 of 18
(1,203 Views)

Hi LVNinJa
Can you please share your code?
You mean sample from two different DAQ and input it to a plot?

This is my first ever LabVIEW, so I am sorry that I am struggling to grasp.

Thank you, guys, for helping me here. I appreciate it.

0 Kudos
Message 5 of 18
(1,188 Views)

@msi48 wrote:

This is my first ever LabVIEW, so I am sorry that I am struggling to grasp.


You said you have a CSV file, so attach that. Make sure you tell us what the columns are, e.g.

angular position, torque, angular velocity

 

Can we assume that the angular position is a full revolution with fixed increment?

 

Yes, show us your VI. Did you write it?

0 Kudos
Message 6 of 18
(1,166 Views)

Are you tracking Angular Position using differential (A,B along with Anot,Bnot)?  Do you check direction to ensure that readings do not jump states [(AB) >< (ABnot) >< (AnotBnot) >< (AnotB) >< (AB)]? Z is simply a marker for each full rotation.  Caution, It is possible to travel faster than the sensor acquires [IE A 3600 pulses/rev sensor that reads less than 3599 between Z pulses (3600 if one of the Z points is included)].

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Message 7 of 18
(1,111 Views)

I am using MEH-60-P Micro Rotary Incremental Encoders.
I can measure torque vs time and angular velocity vs time. But I am not sure how I could measure torque vs angular position. 
I am starting to learn LabVIEW from  the beginning as none of it make sense to me right now. 

Thank you 

0 Kudos
Message 8 of 18
(1,107 Views)

You would have the information in front of you.  If you have Angular velocity, you have position per delta time.  With that position, you can create a Torque vs Angular position based upon reading the two instruments simultaneously (as close in time as possible).  Just make sure to monitor the delta time and to initialize your system at a known angular position in order to synchronize results.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 9 of 18
(1,100 Views)

Since you're a complete LabVIEW beginner, sharing your current code (attach the VIs) will help us understand where you stand and the changes required to achieve your goals.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 10 of 18
(1,098 Views)