04-06-2017 11:56 AM - edited 04-06-2017 12:07 PM
I have the misfortune to be working on a project with the wildly unpopular prologix USB-GPIB adapter.
I can communicate with an instrument through the prologix adapter by using the VISA string
ASRL4::INSTR
and then prefacing commands with ++addr{GPIB address}\r\n
e.g. ++addr\s1\r\n*IDN?\r\n
Is there a way I can directly address the GPIB device so I don't need to preface every command with ++addr\s1
Having consulted (http://zone.ni.com/reference/en-XX/help/370131S-01/ni-visa/visaresourcesyntaxandexamples/) I have tried a lot of combinations with no success. Any help would be appreciated.
Rgds,
Seán
04-06-2017 04:41 PM
04-06-2017 05:27 PM
I'm very disappointed to receive such a response.
I am contracting on a project and do no have the option of insisting they change their hardware.
I would appreciate a more helpful response.
Rgds,
Seán
04-07-2017 01:35 AM
04-07-2017 03:02 AM
If anyone can help, my question is what do I add to the sting below in order to address a GPIB device with address 1 using Nationa lInstruments VISA.
ASRL4::INSTR
Rgds,
Seán
04-07-2017 07:07 AM
I created a vi that works seamlessly for most GPIB functions.
https://forums.ni.com/t5/Example-Program-Drafts/Prologix-GPIB-USB-Controller/ta-p/3539152