LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB and the delay generator dg535

Hello,

I´m trying to obtain some delay values from the DG535 using labVIEW
and the GPIB port. THe problem is that there is an inconsistency in
the results, by sending the right commands:

DT 2
DT 3

For reading the Delay configuration of channels A,B. I sometimes get
the right results and some other just crap. Any ideas on what I might
be doing wrong???

Concerning Labview, my doubt is what happens with the receiver buffers
(when you tell the "GPIB-PC.vi" how many bytes to read) íf the device
sends less bytes. Is the spare space in the buffer used for further
communications leading to erros or is the buffer flushed in a new
executiion of hte program?

How do you concatenate the two commands for the DG535 so that the
program in
Labview is simpler? Semicolons?


TIA
0 Kudos
Message 1 of 2
(3,665 Views)
Bulblight,

I would try communicating with your instrument using IBIC (Interface Bus Interactive Control). This will allow you to communicate with your instrument using 488.2 functions to ensure that the issue is not with your instrument itself. Here is a link to an IBIC tutorial:

http://www.ni.com/support/gpib/max/ibic.htm

I have also attached a screenshot of IBIC in action.

Buffers act as a sort of temporary storage and they will be cleared at each execution of the program. Extra space in the buffer isn't used for anything.

I imagine that you are using the LabVIEW Plug and Play Instrument Driver for this instrument. You are free to change the program to your needs but unfortunately we can't comment/support changes to the LabVIEW VIs. Hope thi
s helps!

Craig H.
NI Applications Engineering
0 Kudos
Message 2 of 2
(3,665 Views)