Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Phase difference
11-05-2015, 07:12 PM (This post was last modified: 11-05-2015 07:28 PM by fanman.)
Post: #4
RE: Phase difference
Hi Dave,

I have attached the project file. I'm using MS Visual Basic 2010 and have a registered version of SignalLab Ver 6.

Looking forward to finding a solution to this. Have been working on this for a long time now Smile

regards

Mark
Here is the basic code......

Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

' OK really struggling to understand how components are mean't to operate
' Identify when levels > 0 i.e. cross time axis
' and measure time difference with stopwatch

If Val(DetectLevels1.OutputPins.GetPin(0).ToString) = 1 Then
StopWatch1.Start()
ElseIf Val(DetectLevels2.OutputPins.GetPin(0).ToString) = 1 Then
StopWatch1.Stop()
SegmentGauge1.Value = Val(StopWatch1.OutputPin.ToString)
End If

End Sub


Attached File(s)
.zip  Time_difference.zip (Size: 110.16 KB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Phase difference - fanman - 10-31-2015, 09:27 AM
RE: Phase difference - fanman - 11-03-2015, 08:57 AM
RE: Phase difference - Dave - 11-04-2015, 09:52 PM
RE: Phase difference - fanman - 11-05-2015 07:12 PM
RE: Phase difference - fanman - 11-08-2015, 03:28 PM
RE: Phase difference - fanman - 11-10-2015, 05:30 AM
RE: Phase difference - Dave - 11-11-2015, 09:34 PM
RE: Phase difference - fanman - 11-24-2015, 12:47 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)