09-03-2010 02:56 PM
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) |
? |
09-03-2010 04:20 PM
Never mind found it in the help for the 2005 Measurement Studio
.serialpoll
.wait