Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Software Module and Prog ID

Hello,
I'm trying to integrate my Fluke 45 DMM into an small test application. But when I call the CreateDriver method of the IviSessionFactoryClass, i get the following exception:
 
IIviSessionFactory: Software Module (fl45) has no Prog ID
 
I found the Prog ID textbox in the MAX Instrument Driver Software Module, but what do I have to fill in? Where can I find the corresponding Prog ID to my Fluke?
Or are there any other bugs in my application? I'm using national instruments' IVI driver for the Fluke 45.
Here's my code:
 
using System;
using System.Collections.Generic;
using System.Text;
using Ivi.SessionFactory.Interop;
using Ivi.Driver.Interop;
using Ivi.Dmm.Interop;
namespace IVI
{
    class Program
    {
        private static IIviDmm myDMM = null;
        private static IviSessionFactoryClass sf = new IviSessionFactoryClass();
        static void Main(string[] args)
        {
            init();
        }
       
        private static void init()
        {
            try
            {
                myDMM = (IIviDmm)sf.CreateDriver("Fluke 45");
            }
            catch
            {
            }
        }          
    }
}
 
Thank you for your help!
Marco
 
 
0 Kudos
Message 1 of 8
(4,213 Views)
Hi - look here for fluke 45 tested programms http://sine.ni.com/idnetwork/main?q=fluke+45 find under www.ni.com/idnet -> browse drivers...
0 Kudos
Message 2 of 8
(4,196 Views)
Try this for C programming
0 Kudos
Message 3 of 8
(4,194 Views)
When you can work with LV you can use this
0 Kudos
Message 4 of 8
(4,192 Views)
For special programming ask fluke support under servicedesk@de.fluke.nl or look under http://zone.ni.com/devzone/cda/tut/p/id/4562
 
Hope this helps
 
AE Munich (Germany)
0 Kudos
Message 5 of 8
(4,188 Views)
Thank you, I think that could help me!
 
Schöne Grüße nach München!
Marco
0 Kudos
Message 6 of 8
(4,179 Views)

Marco,

If you want to use the IviSessionFactory, then you need an IVI-COM driver for your Fluke 45 DMM. The IVI driver you found on IDNet is an IVI-C driver. IVI-C and IVI-COM are two different architectures and cannot be used interchangeably but they can co-exist side-by-side on the same system.

 

0 Kudos
Message 7 of 8
(4,151 Views)

Ok, that should be the problem.

Thank you very much!

0 Kudos
Message 8 of 8
(4,129 Views)