LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric Display not updating.

I am using Labview 7.1, communicating to an Allen Bradley SLC 5/05 using DSC and RsLinks OPC Server. I am using a numeric display to read a floating point register in the SLC. This display is showing a servo motor position in millimeters. From the application I can incrementally jog the servo motor in steps of 1mm, .1mm, and .01mm. My problem is that when I jog +/- 1mm the numeric indicator updates, but when I jog by .1mm or .01mm the display doesn't update. I can see the register in the SLC update correctly, but the display doesn't match. It seems that when I jog .1mm, 10 times for a total move of 1mm the display will then update that 1mm. This leads me to believe that I have a resolution setting wrong somewhere but I don't know where it is.
0 Kudos
Message 1 of 3
(2,773 Views)
Is your numerical indicator a DBL/SGL/EXT? It has to be in order to display tenths and hundredths, U32/I32 are whole numbers. Look at the precision (right click - format & precision). Make sure the precision is set to at least 2 digits of precision and minimum field width is large enough to display all the number characters.
- tbob

Inventor of the WORM Global
Message 2 of 3
(2,759 Views)
With LVDSC, it could be that the update deadband for the tag associated with your floating point register is set too large. Basically, the value in the DSC tag engine (and thus your indicator) won't change until the SLC register changes by more than the deadband.

A KnowledgeBase document describing all the different DSC deadbands can be found at:

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/e0225cea6398d51586256c76007ab878?OpenDocument
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 3 of 3
(2,748 Views)