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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to user NI VISA Clear call in .NET application

I have created .net application which uses visa32.dll for communcation with usb/serial/Gpib instruments.

 

My requirement is to clear input/output buffer before read/write opration.

 

My question is where should I user viClear call of visa32.dll.(Before write OR before Read OR after write, read and then clear)

0 Kudos
Message 1 of 2
(2,027 Views)

Your say the requirement is to do a clear before the read/write operation and then you ask if your should do the clear before the read/write. Don't understand the question and don't understand what this has to do with LabVIEW.

0 Kudos
Message 2 of 2
(2,017 Views)