06-09-2009 05:44 AM
Hi,
I want to control several instruments using IVI-C drivers and LabView.
First, I have controlled a Function Generator (A33220A) without problems.
I have configurated The MAX:
1)The VISA TCP/IP resource --> it works ok
2)The logic name for IVI Driver --> used in the labview program as the IVI logical name
3)The driver session: writting in resource descriptor the TCPIP0 address of the FGenerator.
I attach a screenshot of the configuration
The problem is that when I try to add a new instrument ( 34980A switch), in the driver session tab when I write the resource descriptor of the VISA TCP/IP, the FGenerator is update with this information!!. That is, the two driver sessions appear with the same Hardware resoruce descriptor, and I don't know the reason.
The steps that I have followed to sepup the Swich are:
1) Install IVI drivers --> the swich driver AG34980A appear in the Instrument Driver software module directory in MAX
2) I create a new VISA TCP/IP resource. I validate it and it works using VISA commands.
3) I create a new Driver session called AG34980A and in the HW tag I write the VISA TCP/IP resource.
4) I create a new IVI Logical name using the driver session created in the previous step.
Theproblem is that want I save the IVI configuration, in the two Driver session à Hardware resource descriptors, appear the sameinformation.
06-15-2009 08:10 AM
Hello Unai,
The table of Hardware Resources is the same for all of the IVI Driver Sessions. Please click on the "Add" button to add a new resource. Then, choose a name label for the resource (it does not have to be the VISA resource name or alias). After that, doubl-click in the Resource Descriptor column for the new resource and a drop-down menu should appear with all of the VISA resources on the system. If you were using an NI-DAQ resource, you would need to manually type it in.
After you are done with that, make sure to check the box of the resource that you want to use for the driver session and then save the IVI configuration.
Cheers,
NathanT
06-15-2009 08:30 AM
I Nathan,
thank you for your answer. I realized of this last week.
Thank you.