LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PTP

I am using a labview program that uses nisync start ptp, Get 1588 Time and nisync stop ptp.vi with a NI PCI - 1588

my readout on the labview control panel shows. My problem is whenever there is any interruptions it still continues to generate time. how do i set it so that it stops the moment i unplug the connection or the moment it changes state from master to slave.

i want to be able to know when the source clock has stopped instead of labview continuing to collect false data when not on steady state..

my setup is more like the start ptp and wait for quality.vi

0 Kudos
Message 1 of 2
(2,421 Views)
Have you tried monitoring the Clock State available through a property node as shown in the Start 1588 and Wait for Quality example VI?  You should be able to set up a case structure off of this value and perform some action based on it.
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,393 Views)