Forum Replies Created
-
AuthorPosts
-
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”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 welcomeHi,
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 : 7And now with HTBasic try to load the SICL driver like this :
LOAD BIN “HPIBS;DEV gpib0 ISC 7”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$
!
ENDHi 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.jpgHTBasic 10 : AUTOST Load HPIBS driver
http://zupimages.net/viewer.php?id=19/45/vxdw.jpgHTBasic Tools\Devices Setup\HPIBS : HPIBS configuration
http://zupimages.net/viewer.php?id=19/45/jhps.jpgHTBasic : Little Identity software for 34401A multimeter
http://zupimages.net/viewer.php?id=19/45/3iav.jpgHTBasic : Identity software result
http://zupimages.net/viewer.php?id=19/45/g19b.jpgHi,
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 = 7July 18, 2019 at 9:19 am in reply to: Porting HP Basic 6.2 with ITF (HP 46020A Keyboard )to HT Basic for Windows 10.0 #1808Hi 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 informationHi,
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.Very good, I’m happy to read that 🙂
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
ENDHi, do you have verify your Printer properties in the HTBasic toolbar ?
Look at : Tools\Device Setup\WIN-PRNT\PropertiesSorry 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 the second example, if you change ”LOGARITHMIC”:1 by ”LOGARITHMIC”:0
I think it’s working.Hi RMK,
yes I already use the allocated memory when I start HTBasic.
The instruction or method I’m looking for is what you name the “dynamically memory recover” …It’s me or there is a problem with the unzip process of the “HTBasic 10.1.zip” file in the Download section ?
-
AuthorPosts