LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure a RS422

Anyone have any tricks for measuring ( using LV8.5)  if a RS422 signal  is valid or not ??  ie The signal is some what of a sq wave, between +2 and +6 volts for the positive cycle and between -2 and -6 volts for the negative cycle??
0 Kudos
Message 1 of 10
(7,469 Views)
Valid as in just the proper signal levels or data as well?  Or are you trying to detect if/when a RS422 device is connected to a port?
0 Kudos
Message 2 of 10
(7,453 Views)
What kind of hardware do you have available for the measurement? A DAQ card, scope,  can all be used to capture a pulse and characterize it. Of course, if you want ot simply check whether it's valid, having an RS422 infterface for the pc and actually being able to receive data will tell you if the transmitter is valid.
0 Kudos
Message 3 of 10
(7,452 Views)
I have a scope (TEK 3000 series) Card and a DAQ PXI 6259.  Part of my "Requirement" is to prove I have a valid RS422 Signal.  The Engr stated the signal was between 2 and 6 volts.  And I forgot, centered about the zero axis.  If anyone has a suggestion as to how to go about that I'd welcome it.  I guess the requirement is open to interpretation.
 
Thanks !
0 Kudos
Message 4 of 10
(7,439 Views)
Not valid data.  Just that I have a valid RS422 signal ( protocol?) levels.  I guess they could be attenuated.   I don't know what the data is yet. (I doing a Test Station.)
0 Kudos
Message 5 of 10
(7,436 Views)
It would probably help to get a better definition of what 'valid' means. Besides the signal levels, do you also have to measure frequency? The scope should be able to measure frequency and +/- peak amplitudes. If the scope has an option for a mask test, you could also use that. A mask test will verify the entire pulse shape. LabVIEW has the Limit Testing functions which will do the same thing.
0 Kudos
Message 6 of 10
(7,428 Views)
Since this is supposed to be balanced and you seem to be looking at it from the rcv end, you might be able to use a referenced single ended input for each side of the 422.  Capture some data for both sides ( sample rate dependant on BAUD ) and analyze the max -mins and peak-peak of each .
0 Kudos
Message 7 of 10
(7,426 Views)

Dennis,

I don't know what a mask test is but I'll research that further.  I'll try and include a dwg to show you what I think the requirement is.

Go to this link and look at figure 1.2  How can I validate that the signal looks like that??  Is in the "permissible range".

Thanks Clint

www.bb-elec.com/bb-elec/literature/tech/485appnote.pdf

0 Kudos
Message 8 of 10
(7,408 Views)
Dennis,
I just looked at the Limit Testing Function.  At frst glance that may do the trick.  I'll try that and if its not what I wanted I'll repost in the future.
Thanks everyone,
 
Clint
0 Kudos
Message 9 of 10
(7,403 Views)
A mask test (or the LabVIEW limit test), draws an upper and lower limt envelope around a waveform. If any part of the acquired signal is outside the envelope, the test will fail. I've had to acquire signals that could not exceed a certain amount of overshoot, undershoot, max/min pulse height, and a few other parameters. Defining a mask allow s all of the parameters to be measured at once. The downside was that it it was difficult to determine exactly which parameter failed. The mask test in scopes or the NI Limit test usually just return the number of points that were outside the limit. There's a shipping example called Limit Testing Measurement.
0 Kudos
Message 10 of 10
(7,399 Views)