Forum Replies Created

Viewing 15 posts - 31 through 45 (of 61 total)
  • Author
    Posts
  • in reply to: DLL help #4993
    ZeRider
    Participant

      Here is the function description, if that could help …

      PIPLX_CardId

      unsigned long PIPLX_CardId (long session, unsigned long cardNumber, char cardID[], unsigned long length);

      Purpose
      Obtains the identification string of the specified card. The string contains these elements:
      “model code;serial number;revision code”
      The <revision code> value represents the hardware version of the unit – cards have no firmware on-board.

      Parameters

      Session/ Type/ Description
      Input/ long /Handle of current session.

      cardNumber/ Type/ Description
      Input/ unsigned long/ Card number.

      length/ Type/ Description
      Input/ unsigned long/ Length of character string buffer.

      CardID/ Type/ Description
      Output/ char []/ Identification string of the specified card. The string contains these elements:
      “model code;serial number;revision code”
      The <revision code> value represents the hardware version of the unit – cards have no firmware on-board.

      Return Value/ Type/ Description
      Return/ unsigned long/ Zero for success, or no-zero error code.

      in reply to: System Default Printer #4958
      ZeRider
      Participant

        Hi Corey,
        I like your method2, I will try immediately …

        The top method3) would be to create the complete file of the desired printer in the registry from a sript when launching HTBasic !

        in reply to: System Default Printer #4773
        ZeRider
        Participant

          Except this forum, it’s clear that HTBasic is very light on the support side … 🙁

          Maybe it’s the same question than drew, does somebody know how to choose the printer by software (without going manually through the Tools / Device Setup interface)?
          Is there something like that is existing ? : CONTROL 10,xxx; “HP Officejet Pro 8500”

          in reply to: online manual can’t be found on transera.com #4685
          ZeRider
          Participant

            Very good idea.
            And some update on SYSTEM$(“VERSION:OS”) for the Windows 10 system could be great …
            Actually the response is “6.2 Windows NT”
            I found an alternative using “ProduKey” from NirSoft but a correction would be welcome

            in reply to: error 167 interface status error #4607
            ZeRider
            Participant

              Hi,

              Go to your Keysight Connection Expert manager and find your GPIB-USB interface …
              Note your SICL Interface ID : gpib0 for example
              Note your Logical Unit : 7

              And now with HTBasic try to load the SICL driver like this :
              LOAD BIN “HPIBS;DEV gpib0 ISC 7”

              in reply to: Add tools to HTBasic #4492
              ZeRider
              Participant

                Hello,
                As you know HTBasic cannot handle new computers with multi-core CPUs.
                This can slow down calculations or file storage enormously.
                The solution is to force the modification of the affinity so as to increase the processor number used during resource-intensive operations.
                On the other hand, during screen displays, it is better to keep the original affinity on single processor.
                To do this job I use the NirCmd freeware utility, to download here : https://www.nirsoft.net/utils/nircmd.html
                Please find bellow my code. Hope that help somebody …

                DIM Application$[80]
                DIM Disque$[80],Prog$[200]
                DIM Command$[200]
                !
                Application$=”HTBwin10″&”\HTBwin.exe”
                Application$=”C:\Program Files (x86)\”&Application$
                !
                Affinity=0 ! Normal case
                Affinity=4 ! For test, To use multi-core processors 0 to 4
                !
                Prog$=”nircmd.exe”
                Disque$=Nircmd_directory$ ! Need to be completed with the correct directory …
                Disque$=Disque$&”\NirCmd\nircmd-x64″
                Prog$=Disque$&”\”&Prog$
                !
                SELECT Affinity
                CASE 0
                K$=” 0″
                CASE ELSE
                K$=” 0″
                FOR I=1 TO Affinity
                K$=K$&” “&VAL$(I)
                NEXT I
                END SELECT
                !
                Command$=”cmd /C start /MIN “&Prog$&” setprocessaffinity “&””””&Application$&””””&K$
                EXECUTE CHR$(13)&Command$
                !
                END

                in reply to: Cannot use Screen builder app #3682
                ZeRider
                Participant

                  Hi Shuave,
                  A video may be too heavy !
                  Please find below the configuration screen copy for AGILENT 82357A USB/GPIB interface and a AGILENT 34401A multimeter
                  And some code to test the connection after the HPIBS setting.
                  (Be careful some old devices don’t respond to the *IDN? Syntax)

                  KEYSIGHT connection expert : Multimeter and Interface
                  http://zupimages.net/viewer.php?id=19/45/8gy4.jpg

                  HTBasic 10 : AUTOST Load HPIBS driver
                  http://zupimages.net/viewer.php?id=19/45/vxdw.jpg

                  HTBasic Tools\Devices Setup\HPIBS : HPIBS configuration
                  http://zupimages.net/viewer.php?id=19/45/jhps.jpg

                  HTBasic : Little Identity software for 34401A multimeter
                  http://zupimages.net/viewer.php?id=19/45/3iav.jpg

                  HTBasic : Identity software result
                  http://zupimages.net/viewer.php?id=19/45/g19b.jpg

                  in reply to: Cannot use Screen builder app #3540
                  ZeRider
                  Participant

                    Hi,
                    you must load the GPIB USB driver like this (for example) : LOAD BIN “HPIBS;DEV gpib0 ISC 7”
                    You can find the Keysight 82357B properties with the Keysight Connection Expert software scan
                    SICL interface ID = gpib0
                    Logical unit = 7

                    ZeRider
                    Participant

                      Hi Uwe,
                      Do you have seen in the code if some lines aren’t missing ?
                      Your programming keys are probably on this syntax : ON KEY – LABEL “——–” GOTO —
                      The command control Windows keyboard F1 to F8 (KEY 1 to 8)
                      Normally all the programming keys are visible after a KEY LABELS ON command
                      Write “KEY LABELS” in the help files to see some additional information

                      in reply to: Cannot use Screen builder app #1735
                      ZeRider
                      Participant

                        Hi,
                        As I remember there is a bug in the first 10.0 release version.
                        You need the corrected version 10.0.2 for the Screen builder functionality
                        Contact your vendor and ask him the free update of the software.

                        in reply to: Printing with HTBASIC #1349
                        ZeRider
                        Participant

                          Very good, I’m happy to read that 🙂

                          in reply to: Printing with HTBASIC #1344
                          ZeRider
                          Participant

                            Hi,
                            Do you want to test this :

                            CLEAR SCREEN
                            KEY LABELS OFF
                            !
                            !——————-
                            ! TRACE ON SCREEN
                            !——————-
                            PLOTTER IS CRT,”INTERNAL”
                            GOSUB Plot
                            !
                            !——————-
                            ! TRACE ON PRINTER
                            !——————-
                            DUMP GRAPHICS
                            GOTO End
                            !
                            !
                            Plot: GCLEAR
                            VIEWPORT 0,138,0,100
                            WINDOW 0,100,0,100
                            MOVE 50,50
                            LORG 5
                            CSIZE 10
                            PEN 2 ! RED
                            LABEL “TEST”
                            PEN 1 ! WHITE
                            LABEL “END”
                            CLIP 20,80,30,70
                            FRAME
                            RETURN
                            !
                            !
                            End: KEY LABELS ON
                            END

                            in reply to: Printing with HTBASIC #1335
                            ZeRider
                            Participant

                              Hi, do you have verify your Printer properties in the HTBasic toolbar ?
                              Look at : Tools\Device Setup\WIN-PRNT\Properties

                              in reply to: Channel number PRT #1320
                              ZeRider
                              Participant

                                Sorry I don’t really understand the question
                                This is a problem in one of your program written with HPbasic?
                                If yes, could you copy here the listing or the part of the listing of the program that doesn’t work?

                                in reply to: Stripchart Widget Issues #1316
                                ZeRider
                                Participant

                                  In the second example, if you change ”LOGARITHMIC”:1 by ”LOGARITHMIC”:0
                                  I think it’s working.

                                Viewing 15 posts - 31 through 45 (of 61 total)
                                Scroll to Top
                                HTB icon

                                Please Sign In