PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

N6030A Connection with LabView

Hi,
 
I am working with N6030A connected to Laptop through MXI Express.
and it doesn't solve my problem, everything in IVI-drivers section on Measurement and Automatic Explorer seems to be alright
 
I have a code in mathlab, which can strangely communicate with the N6030A. Moreover, the N6030A Control Utility can detect the N6030A address.
However, I cannot even connect to this device with LabView.
 
When I use a AGN6030A driver (AGN6030A Initialize with Option) on Labview and connect it with an IVI resource name, there is only "ASRL3::INST" address available, which I don't really know what kind of device it is. Anyway, the connection using this resource name doesn't work either.
I have also tried to copy the resource name that is showed on my N6030 Control Utility, and it doesn't work.
 
Can you guys help me.
 
Thank you
0 Kudos
Message 1 of 6
(4,320 Views)
I have a few questions for you so that I can fully understand your problem. In MAX you can see your driver and you set up a driver session under IVI as can be seen in the picures included in the discussion form you linked. After you set up your driver session this is what you will reference. Please let me know if you have done this and what else  you have tried.  

Regards
Krista S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 6
(4,301 Views)
Yes, I did those steps exactly what you said, and I put the "PXI14::15::0::INSTR" as the resource descriptor at the hardware tab in MAX-IVI Drivers session.
I got this address from the N6030A Control Utility

and in labview, I am trying to connect to the Hardware Asset name that I wrote down in that MAX-ivi drivers session

I haven't really done anything else, because I absolutely have no clue how to fix it.



Thank you
0 Kudos
Message 3 of 6
(4,295 Views)

Hi,

Which instrument driver did you download? Which hardware bus are you using (GPIB, PXI, ethernet, etc)? I assume your instrument is PXI based; is this correct?

The resource name "ASRL3::INSTR" corresponds to your serial port in your computer. If you are connecting to your N6030A using this serial port, ASRL3::INSTR is the correct resource to choose.

From searching the instrument driver network, it looks like this is the only instrument driver available. It does not look like it is an IVI driver, but instead a software utility that you can use to communicate with the instrument. How do you access this instrument through Matlab? Through a DLL? Through VISA?


Regards
Krista S.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 6
(4,281 Views)
I use agt_awg_open('pci','PXI*::*');


anyway, I have accidentally fixed this problem. What I did was creating another Drivers, exactly the same thing. So I have now 2 AGN6030A drivers in MAX-IVI-Drivers session with different names. And now it works very well...

But I don't really understand what happened

Thank you for your help, but do you have any explanation on this ?
0 Kudos
Message 5 of 6
(4,274 Views)
Hi Owari,
 
Off hand I do not know of anything that would cause this issue. There may have been a slight difference in the way the two sessions were set up. I am glad that you were able to get it working.

Regards
Krista S.
Applications Engineering
National Instruments
0 Kudos
Message 6 of 6
(4,261 Views)