From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-16-2008 05:29 AM
IIviDmmPtr spDmm = spSF->CreateDriver(nombre)
)
Now i could use the instruments class functions..
It's not possible? Would i install any specific intruments driver that i could use??
Thanks MAkoto
04-17-2008 06:00 AM
> It's not possible? Would i install any specific intruments driver that i could use??
Yes, it is possible. You can write an app that configures IVI Configuration Store. I think you already know how to do it as there are some example codes (written in VB6) in IVI-3.5 Configuration Server spec. In fact, many IVI drivers or their installer scripts contain such codes that will be invoked when it is being installed/registered. Also NI-MAX contains such codes.
When you write such app, probably what you must write is what configures the Logical Name(s) and its associated links to Driver Session, Software Module, Hardware Asset, and default operational behaviours (such as range check, state cache settings). But as for Software Module entry, it will already be configured when the driver was installed by its own SETUP program, therefore normally you don't have to configure Software Module contents for any instruments (though it is still possible to write it).
04-24-2008 03:09 AM
Hi Makoto
I have a Agilent RfSigGen code.
I have downloaded the driver and its runs correctly. In the programa i call agrfsiggen.lib using #include "agrfsiggen.h"
i want to get interchangeable code using ICP of NI. I have downlioaded it and i have make some changess in my code.
I change the functions Ag.... by Ivi.... and costants AG... by IVI...
I change #include "agrfsiggen.h" by "ivirfsiggen"
and i changed the librarý in my linker options: agrfsiggen.lib by ivirfsiggen.lib.
I try to compile it but i have a lot oferror LNK2019:
Example1 error LNK2019: símbolo externo _IviRfSigGen_GetAttributeViString sin resolver al que se hace referencia en la función _main
an error for Ivi function.
Can you help me? I need something more in my software??
Thanks
04-24-2008 03:39 AM
04-24-2008 03:57 AM
Thanks Makoto
I'm stupid :(. The problem was that: Rf no RF yes
The program now compiles
Now i have a problem with the logical name,
the logical name is the same that the alias VISA????
Can i change the logica name using Agilent I/O conection expert???
i use a alias visa but the program don't take it
ant thank you very much by your help
04-12-2016 08:34 AM - edited 04-12-2016 08:47 AM
I'm working on the same topic for weeks now and I'm still struggling with the interchanability part.
Following code will always fail on createDriver if I use Ividrivers from HP or Keithley since they haven't any ProgID set in Ni Max.
IIviSessionFactory factory = new IviSessionFactory();
IIviDmm dmm = (IIviDmm)factory.CreateDriver(resourceString);
dmm.Initialize(resourceString, true, false, "simulate=false");
If I set something, the code will fail cause there's no CLSID.
I was searching the registry and figured out those drivers aren't registered. Thus no CLSID and ProgID exist. So in conclusion the interchangeability function can't be used here. Or is there any other way?
appreciate any help.
Greetings
Edit: Ok while pressing Post I realized those Drivers are Ivi-C... how stupid...
04-13-2016 09:36 AM
Hi Drehstromakku,
Thanks for posting on the NI Discussion Forums to get help with your IVI driver issue. To get the best support possible, I recommend posting a new thread with a more specific description to your problem there. Becuase this thread is 8 years old, it may not receive the same visibility as a new post. Additionally, you can give details specific to the errors you're seeing because this post may be tangentially related. You can always post a link to this post if it is relevant to your issue.
In your new popst, I would suggest you give some background on your project- what you're trying to build and how. You can also post your full code to see if other users can reproduce this issue.
Hope this is helpful!