Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't access output2 on afg320

Malosh:

I'm happy you're having some success.

So, here's my take:

a)  Your MAX settings are good.  No need to mess with them or re-install IVI Compliance Package.

b)  Your specific driver works.  No need to re-install it.

c)  I think the issue is that your class driver thinks it is communicating with a single-channel Tektronix function generator.  In your screen shots you have a False wired into the Initialize VI for Identification Query.   This means the initialize routine cannot determine if you are communicating with a single channel model or a dual channel model.   The specific driver is probably set up to default to a single channel model.   So, Channel 2 is not valid.   To fix this, enable the Identification Query when connected with a live instrument.   Alternatively, you can use Initialize with Options and specify the model you are using.  You'll need to read the help to determine the exact syntax for setting this.   I believe this can also be set in MAX too. 

The simpliest solution is to enable ID Query...

Message 11 of 12
(1,110 Views)
I changed the ID query to TRUE and woohoo!Smiley Very Happy
Cheers Noel!
Now thats a new-years present!!!
Thanks a lot,
  Malosh
0 Kudos
Message 12 of 12
(1,100 Views)