Forum Replies Created
-
AuthorPosts
-
Hi Pat,
Unfortunately, no change in behavior adding END to the OUTPUT statement.
Matt
Actually I do have one more question..
When I use an output command to a device thru the VISA device, the output strings appear to be broken up.Specifically, a command like OUTPUT @instr USING “””MYSTR””,2Z,2Z”;2,3 now sends
MYSTR
then 02
then 03
instead of one continuous string.Is this a configuration I can change ? It confuses our instruments.
Workaround would be building each full string first and then outputting. (significant re-write)Thanks,
MattPat,
Thanks – this one loads.
Windows must have been blocking files foreign to the installation.Our code seems to need a few tweaks to terminators, etc to run correctly with the VISA driver but it looks promising !
Thanks,
MattI’ve re-confirmed VISA.dw6 is present in “C:\Program Files\HTBasic 2021 Trial” folder, and permissions appear to match the other .DW6 files.
Even tried a few combinations of filename capitalizations.
Is there any config which needs to point to this file ?The only other issue I can imagine is some security protection software preventing access.
Pat,
Is there any other guidance ? Any debug/logging we can do ?
Thanks,
MattClarification: The message I get on attempting to add a device from the GPIB bus using the VISA driver is “Unable to add Driver”.
Hello Pat,
Thank you for providing the driver.
I’ve added it to C:\Program Files\HTBasic 2021 Trial and unfortunately behavior is the same – unable to load the driver.Matt
Thanks Pat,
We had been using the GPIBNI driver loaded thru device setup.
Some more background:
NiMAX works find and other code platforms successfully use this same hardware on a daily basis.
Previously this basic code had run on an bus-based GPIB card, so the usb-gpib-hs is what changed.
The entire setup is rather dated, running under win 7.Thanks for the pointer – I installed the 2021 trial demo.
The Device Driver Selection screen identifies the devices on the GPIB bus using the VISA driver and lists them as “verified” (good!).
However, when I select any of these and click “add selected device” I get an “Unable to add Driver” error. (presumably bad)
Is there a missing step here ? not much in the manual on thisJust for info the 2021 trial demo still locks up GPIBNI when I attempt to run our code with that driver loaded !
Thanks,
Matt -
AuthorPosts