Hello,
I´ve been trying to make a little C++ Program.
The Program should wait, until the Device is Ready to Read the value.
Example Code:
Snippet
viOpenDefaultRM(&m_defaultRM);
viOpen(m_defaultRM, "GPIB0::1::INSTR", VI_NULL, m_tmo, &m_Session[x]);
viWrite(m_Session[pad],(ViBuf)"X?", 2, &actual);
/* Wait Until the Value is Ready to Read ( WaitOnEvent ??? ) */
viRead(m_Session[pad], (ViPBuf)strres, 255,&actual);
Have you any Solution for me ?
Thanks.