Hi Tuba,
Below is the VB6 programming:
VB6 Programming:
*******************************************************************
status = viOpenDefaultRM(defrm)
If status = VI_SUCCESS Then
Call viOpen(defrm, "GPIB::" & addr & "::INSTR", 0, 0, vi)
Call viVPrintf(vi, cmd, 0)
Call viClose(vi)
Call viClose(defrm)
******************************************************************
Problem: executing of viOpen will cause a delay before it moves on to
viPrint. This delays is causing my program to be very slow.
Previously I do not encounter any problem with this program but when I set
up another new station, I face this delays problems.
I need to call the viopen repeatly as I need to send commands
to the instrument.
Thanks