Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

old instrument won't talk on new pc

My problem is partly covered in document ID: 0R0FC772 at

http://digital.ni.com/public.nsf/allkb/862567530005F09C852563D5007598C4

 

My Ultima Labmaster optical power meter responds to write commands but times out on read commands. My question is can I write my own driver to access the GPIB card? Is there any template for this or sample code to start from?

 

Oliver

0 Kudos
Message 1 of 5
(3,889 Views)

You want to write your own drivers for your National Instruments PCI-GPIB interface? This cannot be done, and I am not sure if this will help your application.

 

Did you insert delays between the writes and reads  or slow down the baud rate as suggersted in the article you linked?

---

Peter Flores
Applications Engineer
0 Kudos
Message 2 of 5
(3,860 Views)

adapting the bustiming to 2 microseconds seems a better option than baudrates for a gpib interface.

You can do that in MAX in devices gpib settings.

greetings from the Netherlands
0 Kudos
Message 3 of 5
(3,855 Views)

Thanks for the correction 🙂

 

I meant bus timing, NOT baud rate!

---

Peter Flores
Applications Engineer
0 Kudos
Message 4 of 5
(3,840 Views)

Adding delays didn't help. I also tried the slowest bus timing and it still wouldn't respond. 

I decided to use the RS232 interface instead of GPIB. It works fine this way.

Thanks for the suggestions.

0 Kudos
Message 5 of 5
(3,835 Views)