LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI Driver code in labview

Hi,

 

  I need to develop a code which will control  any DMM instrument using IVI driver. does any one know how to write the wrapper for this

 

Regards

Parthipan

0 Kudos
Message 1 of 15
(3,945 Views)

Do you want to write the IVI Driver itself in LV or just the wrapper alone? Smiley Indifferent

 

Your wordings are not clear.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 15
(3,934 Views)

Hi,

 

 only wrapper but the same code should work for different model of iDMM(ex agilent and NI)

 

that is if my wrapper is open input to my wrapper is model no. It should open the particular model DMM.

 

I mean to say OPEN wrapper is generic to all DMM instrument.based on the input (Model no or something) provided to

 

the open wrapper it should call the particular model DLL

 

Regards

Parthipan

0 Kudos
Message 3 of 15
(3,929 Views)

Maybe you can use an Enum consisting of all the available instrument model numbers.

 

Then, accordingly you can have different CS inside each of these will be the respective DLL.

 

This way, you can go on creating your wrapper for the generic iDMM Open function.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 15
(3,919 Views)

hi,

 

 I dont get it. what is CS .do u have any sample for it

0 Kudos
Message 5 of 15
(3,916 Views)

CS means Case Structure, ES means Event Structure, SR means Shift Register & so on...

 

You read this for more details.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 6 of 15
(3,913 Views)
I don't understand why you think you have to write anything. If you are familiar with IVI, you should know that all that you have to do is use the class driver that is on your palette. When you want to change to a different instrument, you change it in MAX.
0 Kudos
Message 7 of 15
(3,904 Views)

hi,

 

  I read it .I have coded using IVI driver for Agilent34401.i f need to change it to other vendor.what changes i need to make.

 

Regards

Parthipan

0 Kudos
Message 8 of 15
(3,884 Views)

Hi,

 

  I tried to configure Agilent34401 using labview .when i installed  i gor IVI DMM Palate.In that  pallate I have used IVIDMM Initialize to initialize agilent In that vi it has asked Logical name as input.I dont know what to give.I dont want to initialise using Agilent initialize.vi.i need to know how to map the logical  name with the agilent34401

 

Regards

parthipan

0 Kudos
Message 9 of 15
(3,875 Views)
The assignment of logical names, etc. is all done in MAX. open MAX and right click on "IVI Drivers". The window on the right side has help such as 'Logically name a driver session'. Follow the directions. You can also see this tutorial.
0 Kudos
Message 10 of 15
(3,866 Views)