Home › Forums › HTBasic Forum › Cannot use Screen builder app
Tagged: AUTOST file
- This topic has 11 replies, 4 voices, and was last updated 4 years, 10 months ago by ZeRider.
-
AuthorPosts
-
February 19, 2019 at 4:04 pm #1720
Hi,
I want to make a GUI using HTBasic Plus functionality and read about the Screen Builder in the help manual. However when I click on Tools->BPLUS Screen Builder nothing happens.
I have done LOAD BIN “BPLUS” but still no difference. How can I get this to work?
Ps. I am using HTBasic 10.0 and Windows 10.
March 7, 2019 at 12:15 pm #1735Hi,
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.October 31, 2019 at 4:58 pm #3539Hello Community
I have Loaded every one of the GPIB (HPIB) drivers (one at the time) from the AUTOST file and then open the program and I got “error 163 in 70 interface not present”.
I’m using a HTBasic v10 for Windows (XP) and a Keysight 82357B USB/GPIB interface adapter to connect to a Spectrum Analyzer. Line 70 is ” ASSIGN@agt4396 TO 800″
If I leave the AUTOST file unchanged only with:
COM /Autost/Drivers_loaded
INTEGER Altf4,Fixcurse,Winpal
IF NOT Drivers loaded THEN
Drivers_loaded=1
END IF
END
and then open my program, I will get the same error!
Anyone knows what I’m doing wrong?
Thanks a lot for any helpOctober 31, 2019 at 5:55 pm #3540Hi,
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 = 7October 31, 2019 at 7:52 pm #3541ZeRider,
Still the same. Does my Analyzer needs to be address as any number in particular?
I run the connection expert and it said the analyzer is connected with visa gpib1::17::instr
but the code is assigning as ASSIGN@agt4396 TO 800″, is it ok?
p/s: the analyzer has two addresses : one for the controller and other for the analyzer itself
so, what should I used for the controller address?Thanks again
October 31, 2019 at 10:12 pm #3542Please try this …
DIM Inst$[80]
Adr=717
!
Identity: Inst$=”NO MESSAGE”
OUTPUT Adr;”*IDN?”
ENTER Adr;Inst$
PRINT Inst$
!
ENDNovember 1, 2019 at 8:22 pm #3548Hi ZeRider
It didn’t work and I’m getting frustrated.
Sometimes I believe that the COM card for the Analyzer is disconnected
from inside.
I found some example code on the Agilent CD’s and tried to load it but
the same error 163 ,Any other ideasShuave
November 1, 2019 at 10:40 pm #3549Hi Shuave,
If I well understand your device is the Agilent 4396B Network/Spectrum/Impedance Analyzer
You can find the device’s GPIB Programming Guide here :
http://anlage.umd.edu/Agilent%204396B%20Programming%20Guide%2004396-90063.pdf
Inside you can find some code to help you.
But before to execute any code lines you need to load the correct GPIB driver from your autost program (LOAD BIN “HPIBS;DEV gpib1 ISC 7”) or from the HTBasic menu : Tools\Device setup\Add\HPIBS + GPIB parameters
See your Keysight Connection Expert software scan for the correct parameters setup : gpib1 and 7 (?)
This first part is clear for you ?
If not, you could try to post some screenshot of your configuration here for verification (probably through images hosting site)November 4, 2019 at 5:12 pm #3667Good Morning ZeRider,
I’m attaching a video for you to see the procedure/loading and error.
Please advise with your vast knowledge.By the way, how can I attached a video for you to see?
November 4, 2019 at 5:12 pm #3668Good Morning ZeRider,
I’m attaching a video for you to see the procedure/loading and error.
Please advise with your vast knowledge.By the way, how can I attached a video?
ThanksNovember 4, 2019 at 9:43 pm #3672ZeRider,
Do you know how I can send you a video (263 Mb) with the set up
and responses from HTBasic?
ThanksNovember 5, 2019 at 12:55 pm #3682Hi 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.jpg -
AuthorPosts
- You must be logged in to reply to this topic.