Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

ibrsp for VB.Net

 

 

We have some old code VB 3 code, I am trying to move to VB.NET.  The GPIB calls seemed to have changed over the years.

I have found replacements for creating a new device, writting and reading.  Having a little trouble with polling and wait.  Can

someone point me in the right direction?  Thanks, Bill 

 

 

 

Process

Old Method

New Method

New Instrument

Call ibdev(0, 9, 0, 13, 1, 1, HP)

HP = New Device(0, 9, 0)

Writing to an Instrument

Call ibwrt(HP, ":syst:lang comp")

HP.Write(":syst:lang comp")

Reading an Instrument

temp = ilrd(hp, value$, 20) 

temp = HP_Gpib.ReadString()

Serial Polling

Call ibrsp(HP, Value)

?

Wait

Call ibwait(HP, TIMO Or RQS)

?

0 Kudos
Message 1 of 2
(3,441 Views)

Never mind found it in the help for the 2005 Measurement Studio

 

.serialpoll

.wait

0 Kudos
Message 2 of 2
(3,437 Views)