Home Forums HTBasic Forum Iostatus=READIO(Gpib,1) Gives Error 1 when used with GPIBNI driver.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #443
    StevenAHogan
    Participant

      Apparently, READIO(Gpib,1) cannot read the register when working with NI driver. (Gpib=7 is set earlier in the program)
      How can I test for presence of GPIB Interface Card in the computer? Apparently this command no longer works.

      Steve Hogan

      #445
      ZeRider
      Participant

        Hi,
        If you can’t do the job with HTbasic, you can use another tool.
        Go to: http://www.nirsoft.net/utils/device_manager_view.html

        You can use this utility with HTBasic like this:

        Prog$=”DevManView.exe”
        File$=”MyFile”
        Command$=”cmd /C start /MIN “&Prog$
        Command$=Command$&”/scomma”&” “””&File$&””””
        EXECUTE CHR$(13)&Command$

        All that remains is to read the created file and to look in the different lines for interesting characters.
        For example, “PCI-GPIB”

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.
      Scroll to Top
      HTB icon

      Please Sign In