Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I know whether XNET is going to scale a LIN signal automatically?

The device I'm testing sends and receives LIN messages.  The signals XNET sends to the device - using the VeriStand workspace - are automatically scaled, but the signals XNET receives from the device are not scaled before they are passed back to the VeriStand workspace.

 

For example the factor from physical to raw value for the speed signal is 2km/h = 1 bit.  So, if I want 40 km/h, I enter 40 in the workspace control and VeriStand/XNET puts 20 on the bus.  On the other hand, when XNET receives a signal from my device with the same scale it passes back the RAW value.  So if the device sent 20, I get 20, instead of the physical value of 40.

 

All scales and resolutions are defined in the LDF.

 

How do I know and control which signals are automatically scaled?  This is CRITICAL for accurate verification of my device.  

0 Kudos
Message 1 of 4
(6,314 Views)

Could you attach an NI Spy (NI I/O Trace) trace so that I can see what calls are being made? If you can log directly to a file that would be preferable.

0 Kudos
Message 2 of 4
(6,307 Views)

I don't know what you mean by NI Spy or NI I/O Trace.  I am using VeriStand, XNET, and TestStand.

0 Kudos
Message 3 of 4
(6,228 Views)

Please reference the link below:

 

Performing a Good NI I/O Trace Capture for Debugging and Troubleshooting:

http://digital.ni.com/public.nsf/allkb/282C5D41E2BA04F2862574BA007803B9?OpenDocument

 

 

Regards,

Kareem W.
National Instruments
Web Product Manager
0 Kudos
Message 4 of 4
(6,213 Views)