AnsweredAssumed Answered

Some messages only send after program is closed using Visa

Question asked by draklord on Oct 26, 2015
Latest reply on Oct 26, 2015 by lhornburg
Hello so i am trying to make a pogream using VB.net, that will be able to control and read from a Digital Multimeter model 34410A
I also try to do the same with an ITT Power supply with same results

For some reason it seem only part of the messages pass and some are not sent iteal i close the VB.Net Pogream, then it sends all of them
For example the viWrite, viClose, and a few more seem to have that problem, i attached a gif of how it looks inside the IO Monitor of the Keysight IO Libraries Suite, the error shown happens as the DMM cant be read, as the write is not send at the time its suppose to be sent, but only gets send after the program is closed (or crashes)

Dose anyone have any idea what the problem can be, and how to solve it? i am using a class made in the past for VBA that i converted to VB.Net, that uses the Ivi.Visa.Interop.FormattedIO488 library

Any help will be great

P.S. Part of the program was taken from within excel were it seem to work just fine  

Attachments

Outcomes