03-04-2010 12:34 AM
I have declared en VS2005 VB, using Measurement Studio the following code:
Dim objUsbSession as UsbSession
objUsbSession = new UsbSession("UsbXXXXXX")
and works fine, but accordingly to Measurement Studio Help, I should be able to access the following methods:
objUsbSession.GetAttributeBoolean
objUsbSession.GerAttributeInt16
and so forth....
well I cannot access any of the .GetAttribute methods...
could you please give me hand ? Thanks
leonardo.hernandez@creationtech.com
03-05-2010 05:12 PM
03-08-2010 11:03 AM
Ok, now I see.
What happens is that during a UsbSession.Write and a UsbSession.Read I am waiting for a couple of seconds. Otherwise I am going to get an error because the instrument I am using is not ready yet.
The problem is whe I want to speed up, and what I was trying to do is to obtain the number of characters available in teh UsbSession buffer, in order to wait only the needed time.
I think I know how I can resolve the issue, using an alternate method.
Thank you so much.