LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sloarton 1260 to labview

Hello,

 

I am also getting problems making a connection to a Solartron 1260 with LabView. 

As this did not work I went into Labview and using Measurement and Automation Explorer as well as NI Spy had a look at what was happening during running the software as well as sending basic GPIB commands to the instrument. 

 

The 1260 has a primary address of 6 and a secondary address of 7. 

The primary address is able to successfully detect and identify the instrument when the frontpage of Measurement and Automation Explorer. 

It was not able to identify the instrument via the secondary address. 

I sent simple commands such as *IDN?, *RST , *TST?. All commands were successfully written.

Mostly I get an EABO(6) error, from what I read this is to due with reading exceeding timeout. 

 

I increased the I/O timeout of the GPIB board. I still got the same error. 

I logged all communication with the GPIB board using NI Spy. 

 

When sending *IDN? this is what I usually get.

 

1.  ibwrt(UD0, "*IDN?", 5 (0x5))
Process ID: 0x000009D8         Thread ID: 0x00000424
Start Time: 16:20:56.343       Call Duration: 00:00:00.000
ibsta: 0x100       iberr: 0             ibcntl: 5(0x5)

> 2.  ibrd(UD0, " 1260 IMPEDAN...", 2000 (0x7D0))
> Process ID: 0x000009D8         Thread ID: 0x00000424
> Start Time: 16:20:56.343       Call Duration: 00:00:16.782
> ibsta: 0xc100       iberr: 6             ibcntl: 41(0x29)

 

I checked that the machine was in normal i.e. Listen and Talk mode, it was. 

The GPIB settings from the machine display were in accordance with the manual.

I would appreciate any helpful suggestions as to cause and possible solutions for this issue. 
0 Kudos
Message 11 of 14
(1,260 Views)

To confirm your issue, are you able to receive a valid response on address5 (the primary address of the device), but not 6 (the secondary address)?

 

If so, your GPIB device does not typically respond to *IDN? queuries on the secondary address. The secondary address is more like a sub-address to the primary address. This KnowledgeBase discusses how to build an address to your device using the primary and secondary addresses.

 

Are you trying to get your device to respond to two primary addresses?

---

Peter Flores
Applications Engineer
0 Kudos
Message 12 of 14
(1,238 Views)

No, I am only trying to communicate via the primary address of 6 and not the secondary address of 7.

I have used the primary address to communicate via Measurement and Automation Explorer and via the GPIB example in Labview 7.

In  the VB.Net code I created using the NI488.2 dll which I plan to use in the future I have also used the primary address. 

0 Kudos
Message 13 of 14
(1,221 Views)

Is this the only command you're getting the timeout error with? You say you're mostly getting timeout errors, but are you getting anything else on any different commands?

Make sure you're using the correct byte count for that function as well, as an incorrect value there can cause this error

Justin E
National Instruments R&D
0 Kudos
Message 14 of 14
(1,200 Views)