Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a reason no one is using the Prologix GPIB-ETHERNET controller?

is there any resources for the prologix GPIB-ETH that use TCP please?

0 Kudos
Message 21 of 25
(507 Views)

The attached C# code fragment may help you out. 

 

 

0 Kudos
Message 22 of 25
(494 Views)

thanks Karl for your quick response 
just I have another question 
if this Prologix is connected to a Keithly , How can communicate with keithley , because when I read keithly DataSheet it looks that he has it specific commands , for example to read the current I need those commands I think (:SENSe[1]:CURRent:RANGe:AUTO ON
          : READ?),

 

So can I write those commands via the Prologix and then get a response ?

0 Kudos
Message 23 of 25
(444 Views)

All the Prologix interfaces simply interpret all commands that have ++ prepended as commands for itself and otherwise sends anything else transparently through to the currently selected device.

 

So whatever stream interface you are using (VISA Serial, VISA TCP or LabVIEW native TCP) you first send those commands

 

"++addr {address}" to tell the Prologix what GPIB address to use for all subsequent communication

"++mode 1" set the interface into controller mode

"++auto 0" disable read after write, needed if a device has commands that do not produce a response to avoid unterminated query errors being generated

 

You can find an explanation for those commands here: https://prologix.biz/downloads/PrologixGpibUsbManual-6.0.pdf

 

Then once you setup the Prologix as required for your device, you simply send the commands that your device requires and receive its response if any.

Rolf Kalbermatter
My Blog
Message 24 of 25
(406 Views)

Oh Great thanks Rolfk 
it is so clear for me now 

0 Kudos
Message 25 of 25
(404 Views)