LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

motion vs Time graph, Serial Communication

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?

Download All
0 Kudos
Message 1 of 3
(2,065 Views)

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.

0 Kudos
Message 2 of 3
(2,039 Views)

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.

 

0 Kudos
Message 3 of 3
(2,036 Views)