From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA 2.6 Send Break don't seems to work on my System (W2k LV6.1)

I tried to send a Break to reset my serial device.
VISA Send Break didn't do the job. Even with different settings of the BREAK LEN property.
My (LED) Quicktester also don't show any reaction.
However, I solved the Problem by 'manual' asserting the modem line for some ms and it works fine. (Also seenable on the Quicktester)

Why the VISA Send Break didn't work?

Greetings from Germany
Henrik
Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 1 of 2
(2,823 Views)
HI Henrik,

The VISA Serial break VI is actually composed of a couple VISA operations.

The first step involves setting the "Serial End Mode for Writes" (VI_ASRL_END_OUT) According to the programmer's reference manual, this property determines what VISA will do after send a message. By selecting 3, each write operation will be terminated by a serial Break.

Then a empty write is done, which causes the break.

Reading the description for VI_ASRL_END_OUT, I noticed that it is also required to set VI_ATTR_SEND_END_EN true. This property can be found in LabVIEW under Message Based Settings. Try setting this attribute to true.

That is the only thing I can think of.

DiegoF
National Instruments.
0 Kudos
Message 2 of 2
(2,822 Views)