NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Query status of GPIB devices

Hi everyone,

I want to create a sequence using Teststand in which:

1. GPIB session is opened
2. all GPIB participants are polled and tell if they are connected properly
3. GPIB session is closed again

My idea was to first open my GPIB Interactive Control and execute a .txt with $. But I don't know how the code should look like and how to get a result and how to process it in teststand (e.g. string in variable).

Would be great if someone could help me here.
With kind regards

0 Kudos
Message 1 of 5
(725 Views)

Hey Tobi,

 

usually instrument interaction is done using code modules written in LabVIEW/ Python/ whatever.

 

How is the interactive control implemented?

 

Oli

0 Kudos
Message 2 of 5
(696 Views)

Hi Oli,

 

I thought I could have the gpib interactive control (ibic.exe) open and then pass commands there and then have the response returned to me? Isn't that possible?

Otherwise I would have theoretically already a solution in Python but would like to use possibly Windows-internal programs/languages like e.g. batch or Powershell files, or immediately some function in Teststand, so that I would not have to install additional programs/languages later at other PCs.
Could this be possible?

Thanks for your help

Many greetings
Tobi

0 Kudos
Message 3 of 5
(672 Views)

I’m not exactly sure if IBIC.EXE is a really suitable tool for your application. You’d have to do a lot of parsing of text files. IMHO this is not exactly state of the art.

I’d go for a code module and if this means Python, so be it

 

0 Kudos
Message 4 of 5
(659 Views)

Alright, thank you Oli 🙂

0 Kudos
Message 5 of 5
(618 Views)