Forum Replies Created

Viewing 15 posts - 1 through 15 (of 37 total)
  • Author
    Posts
  • in reply to: Need help with HTBasic code #5290
    ZeRiderZeRider
    Participant

    Hi,
    Advice : Add some PRINT in your code to see the different data values at each step
    You will see if data are extracted from array well defined in your code : For example, L=D(I*2-1) and R=D(I*2) are always 0 (?)
    or if array dimensions are compatible with your loop …

    in reply to: Is HTBasic still under development and/or supported? #5284
    ZeRiderZeRider
    Participant

    Hi Jr,
    Do you try to download your HTBasic Demo version from the Download page?
    I just try and seem to working well for me.
    Here in France, I buy my HTBasic licence from Techsoft.de
    The guys are reactive and have good support because they are also HTBasic developer
    Regards,
    ZeRider

    in reply to: HT Basic Git Diff Tool #5255
    ZeRiderZeRider
    Participant

    Hi, do you try Beyond Compare from Scooter software ?
    Work great if you copy-paste the HTBasic code with text format choice

    in reply to: DLL help #4995
    ZeRiderZeRider
    Participant

    Solution found !!!

    Size=100
    ALLOCATE Data$[Size]
    !
    DLL GET “STDCALL LONG Piplx_w32:_PIPLX_CardId@16” AS “Identity”
    Status=FNIdentity((Session),(Card),Data$,(Size))

    in reply to: DLL help #4993
    ZeRiderZeRider
    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.

    • This reply was modified 8 months, 1 week ago by ZeRiderZeRider.
    in reply to: System Default Printer #4958
    ZeRiderZeRider
    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
    ZeRiderZeRider
    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
    ZeRiderZeRider
    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
    ZeRiderZeRider
    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”

    • This reply was modified 11 months ago by ZeRiderZeRider.
    in reply to: Add tools to HTBasic #4492
    ZeRiderZeRider
    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
    ZeRiderZeRider
    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

    • This reply was modified 1 year, 7 months ago by ZeRiderZeRider.
    in reply to: Cannot use Screen builder app #3540
    ZeRiderZeRider
    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

    ZeRiderZeRider
    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
    ZeRiderZeRider
    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.

    • This reply was modified 2 years, 3 months ago by ZeRiderZeRider.
    in reply to: Printing with HTBASIC #1349
    ZeRiderZeRider
    Participant

    Very good, I’m happy to read that 🙂

Viewing 15 posts - 1 through 15 (of 37 total)
Scroll to Top