View Single Post
  #1   Spotlight this post!  
Unread 26-01-2013, 17:56
coachrandall coachrandall is offline
Registered User
FRC #3588
 
Join Date: Dec 2012
Location: Renton, WA
Posts: 1
coachrandall is an unknown quantity at this point
Digital I/O sampling frequency question.

Our team is attempting to use a linear magnetic sensor to create an index pulse when passing a magnet. This pulse signal connects to the digital sidecar, digital I/O. Using Labview, we are monitoring (displaying) these pulses using the "Simple Digital input" VI. When we compare the pulses produced by the chip sensor using an O'scope with the Raw value of the Dig I/O pin in Labview, they are very different. The O'scope is perfectly consistant pulse periods and the Labview display frequently has gaps where 2, 3 or more pulses should be.

Our conclusion is that the Dig I/O is not properly sampling the I/O port and missing some pulses. Is this a good conclusion and if so, can we adjust settings in Labview or the CRIO to correct this?