Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Read function, error 6 (the return!).

Hello!

I am trying to fix a problem with a Labview (6.1) program in communication (GPIB) with a Spectrum Analyser (SR785).

In fact this program was working with an older computer using windows 98 but not anymore with a faster machine with windows XP...

 

 

It seems that the problem comes from the GPIB Read function. This function read "sometimes" what is sent by the spectrum analyser but most of the time the datas are not received. I just have an error 6. I read a previous post on this forum reporting this problem : the solution was to put time-out=0.

I tried to do so. But most of the time, the program runs (until the Spectrum Analyser says "data sent") and make an infinite pause on the GPIB read function. I guess the function is waiting for the datas (no error is reported since the function is not finished). What is rather weired is that the program sometimes (1 times over 30) works properly...

 

If someone has any idea on this problem...

 

Good week-end,

Alan

0 Kudos
Message 1 of 9
(4,731 Views)

The Stanford Research machines are bad slow sometimes, but I guess you should make the bustiming a bit slower.

The default is 500ns and the old stuff really likes 2 microseconds better.

Goto max and the gpib interface settings and you see what I mean.

greetings from the Netherlands
0 Kudos
Message 2 of 9
(4,722 Views)

@Albert,

  hello

i need your contact no or mail id. So i can contact you and discuss some queries regarding labview and gpib interface. So can u give me.

Thanks so much....

Pallavi  

0 Kudos
Message 3 of 9
(4,681 Views)
Albert is free to release his email if he chooses but you should really post your questions to this board.
0 Kudos
Message 4 of 9
(4,670 Views)

Hi

 

I indeed ddo not publish my email, why don't you ask directly in this post. Nobody kills you for real questions.

Stupidity is not to ask a question....

greetings from the Netherlands
0 Kudos
Message 5 of 9
(4,655 Views)

Hello Albert (and Hello all)!

Thanks a lot for your answer. I tried to rise the bustiming from 500 nsec to 2 µsec (I think it really was a  good idea). But I still have the same problem : error 6... Is there any other ways to fix it? I am working with optical fibers : can a problem on them or on a wire can induce that kind of thing?...

Sorry for the delay of answer and thanks again.

Cheers,

Alan

0 Kudos
Message 6 of 9
(4,648 Views)
Which optical isolator have you added to your system, or even better sketch in words (or drawing) which pc-card, isolator and instrument you are using.
greetings from the Netherlands
0 Kudos
Message 7 of 9
(4,633 Views)

 Hello All,

 

My question is 

I want to read Bitrate and nosie margin values from DSLAM directly in excelsheet. So which kind of interface to use or anyone knows the process like using labview or matlab or perl etc...

 

pallavi 

0 Kudos
Message 8 of 9
(4,617 Views)

Don't hijack an unrelated thread. Start a new post and provide some details such as what kind of interface the DSLAM has and what kind of instrument you are using to measure these parameters.

 

The programming language that you use is up to you.

0 Kudos
Message 9 of 9
(4,612 Views)