My indicator shows only the first line of the string

Hi all

I'm having some trouble with chains, could you help me?

I use a device connected to my computer in a RS-232 port.

I configured the VISA series correctly. When I write a command to my device, the answer is something like this:

"XXXXX."

YYYYYY

2222

44444

WWWW.

The problem is when I try to read this response. The channel indicator shows only one line at a time every single loop. And the other orders received are stored in the buffer until their time to be displayed to come. I mean:

In the first loop device XXXXX responses.

In the second loop the device responds YYYYYY but now I stored what must appear:

2222

44444

WWWW

XXXXX

YYYYYY

2222

44444

WWWW

In the third loop, the device responds 2222 and stores again:

44444

WWWW

XXXXX

YYYYYY

2222

44444

WWWW

XXXXX

YYYYYY

2222

44444

WWWW

How can I configure my blocks to display the full string?

Thank you

Murilo

Post your code and we can better understand what is happening.

My first is however you spend only the corrent, reading of the indicator.

You use a chain shift reg with a knot to concatenate a String?

Your zip code and we'll have a glance.

Tags: NI Software

Similar Questions

Maybe you are looking for