Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get status byte of device using Prologix GPIB-USB adaptor

I am using Prologix GPIB-USB adaptor for getting status byte of the device.

 

when i run ++status command in controller mode to get the status byte of the device .it resonse with

"unrecognized command".

 

when i execute  the command that change the status byte of device.GPIB-USB automatically convert from controller mode to device mode.....how ?

 

i am usiing Prologix GPIB configurator now.

 

Is anybody have the solution of this issue.

0 Kudos
Message 1 of 4
(4,040 Views)
Since NI does not make this device, I'm not sure how much help you can get here. You should ask prologix.
0 Kudos
Message 2 of 4
(4,038 Views)

The question was asked more than 5 years ago, but on the off chance that a future explorer might have the same problem:

 

The Prologix unit must be put into the "DEVICE" mode to use the "status" command.  If the Prologix is in the "CONTROLLER" mode, the "status" command is rejected as noted in the original posting.

 

"++mode 0" puts the unit in to device mode (where a subsequent "++status" command will be accepted)

"++mode 1" puts the unit into controller mode

 

Have a great day!

0 Kudos
Message 3 of 4
(3,431 Views)

Additionally, the ++status will not give the response of the instrument, but rather the Prologix device.  Use the Prologix vi that I released here to help. 

https://forums.ni.com/t5/Example-Program-Drafts/Prologix-GPIB-USB-Controller/ta-p/3539152

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 4 of 4
(3,418 Views)