07-13-2012 01:42 AM
Hello I am using the MRU motion reference unit with RS 232 to my NI PXI 1031 with processor 8108.
1. First I connected the MRU to the PXi using the RS232 on the PXI hyperterminal, i received the signal.
2. I am recieving a string format from which I have extracted the heave data, I made the subvi for it already.
3. In the main program I am reading the MRU string data using VISA read buffer and through subvi extracting the values.
Serial communication info:
Baud rate: 115.2kbaud
Rate:32 updates per second resolution is 1mm
String I am using is TSS1
I am recieving the data, but in the hyperterminal when I move the MRU the change in the data is instant but once I run the program in my VI or labview program.
The heave data does not change instantly.
Please see the MRU manual and my program. What is the reason for the delay in the heave reaction time?
07-15-2012 08:09 PM
Please see my VI program and suggest. I want to extract the data from a string.
:000000-0030U-0043 -0018
From this string I want to extract
A=-30
B=-43
C=-18
How can I do that? Please the code.
07-16-2012 03:50 AM
I modified the VI but still How can i merge the String number with sign and convert it to double precision number?
The concanate string gives strange values.