04-28-2011 03:56 PM
Hi Chris,
UsbGpib() does not seem to be handling timeouts correctly. If the timeout where to expire before any bytes are read (because, say, the GPIB-USB Controller was busy executing a previous command), *Result will be garbage. UsbGpib() needs to return an appropriate error code when timeout occurs, and the code calling UsbGpib() should check the function return value and act accordingly.
For further help, please contact us directly at support@prologix.biz
Regards,
Prologix
05-02-2011 08:22 AM
@Dennis
Thanks for your suggestions, it works fine now and i am able to get the readings of multimeter( FLUKE 45 dual dispaly multimeter).I have attched vi.
Then i went for HP4142, i used example "basic serial read and write.vi" but it doesn't give any response as i sent " *IDN?\r\n " . one thing i heard is that for these instuments ni has provided instrument drivers and i went through some posts and got this answer as it was posted by you saying that
"Old thread and as you learned in the other thread you posted to, there are no drivers available for the 4142. You will just have to write your own or modify the 4155 driver as mentioned above".
can you please give any suggestion how start up with HP4142B instrument.In HP4142 command reference manual it was said --to have model number and ROM version send the command *IDN?. but no solution.