Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find start charecter in serial communication

I am able to find end character but unable to find start character. Please explain me how to find start character with an example.

 

 

 

Thanks & Regards

 

Rams

0 Kudos
Message 1 of 5
(3,734 Views)
A start character, or preamble, is defined by the source. What is your start character? i.e., what are you expecting?
Richard






0 Kudos
Message 2 of 5
(3,719 Views)

Dear Arrow,

 

My start charecter is "*02" it is defined by the source. command format is *02|data|*03|OD|OA!

0 Kudos
Message 3 of 5
(3,700 Views)
Not sure where your problem is. There are functions to search a string and you just have to specify what you are searching for. It would seem that this is a hex string so be sure to click on the string constant/control and select 'Hex Display' before you enter the 02 value.
0 Kudos
Message 4 of 5
(3,691 Views)
Yeah, I'd use Match Pattern to pick apart the message.
Richard






0 Kudos
Message 5 of 5
(3,681 Views)