08-16-2011 03:58 PM
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.
08-17-2011 01:03 PM
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.
09-21-2011 04:23 PM
I don't know what you mean by NI Spy or NI I/O Trace. I am using VeriStand, XNET, and TestStand.
09-22-2011 04:52 PM
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,