Advertisement
Dediggefedde

Untitled

Dec 3rd, 2012
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. Hello!
  2.  
  3. I'm an absolute beginner on GPIB-commands, but I want to write a program to write down measurements of an digital electrometer with an IEEE488-interface.
  4. The electrometer is Keithley 6514 with a National Instruments GPIB-USB-HS-adapter.
  5.  
  6. I installed all the drivers/programs provided by NI for this adapter and the "Measurement and Automation Explorer" was able to detect the adapter and electrometer!
  7. Then I followed the instruction to test the connection with the "Interactive control", sending traditional NI-488.2-Calls:
  8. ibdev 0 16 0 10 1 0
  9. ibclr
  10. ibwrt "*IDN?"
  11. ibrd 100
  12. ibonl 0
  13.  
  14. They do what they supposed to do, writing and reading the identification-information of the electrometer...
  15. But when I try any other command to actually read the measured data (and even without a device connected to the electrometer, there should be plenty of ~0, right?) every time I get an error or another.
  16. Just using ibrd again leads to timeout-errors EABO, while the electrometer's display show Error 420.
  17. I already tried to combine it with ibloc or using ibrda etc, getting error-codes like 411, 410, 210...
  18.  
  19. Do I need another String to send to get the data?
  20. Or am I using it totally wrong^^
  21. I plan to connect to it with a C++-program (embarcadero/borland's version) later on...
  22. Are there problems using the C-commands listed in the help-file outside of microsoft's C++?
  23.  
  24. Regards,
  25. Julian
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement