I am designing a Simulator of Instrumentation following these steps:
1) re-programming, re-compiling, and re-building the DLLs from the advanced class simulation drivers included in IVI Driver Toolset 2.0 using LabWindows/CVI 7.0;
2) then i create a VI in LabVIEW 7.0 which calls an IVI Class Driver obtaining the desired simulated output data.
My problem is that I need to develop separate VIs which use the same IVI Class Driver, but each one of these VIs must receive different simulated data from the driver.
I'll try to explain it with an example...
after re-programming the source code of "nisDmm" (an Advanced Class Simulation Driver) to include my desired output simulated data, i build a Release DLL obtaining "nisDmm.dll";
i have 2 different and independent VIs in LabVIEW which call "IviDmm" (a Class Driver): one that receives the measured voltage and current in a resistor, and another one that receives the measured voltage and current in a diode;
i wonder if i could build a different DLL for each one of the VI, such as: "nisDmm_resistor.dll" and "nisDmm_diode.dll".
For each one of these situations, I'd like to create 2 different "Logical Names" in MAX 3.0 that use their own "Driver Session" that "Simulate With" their own "Simulation Driver Session" that call their respective "Simulation Driver Software Module"; in other words, I don't want both of them to call the same DLL "nisDmm.dll".
I know how to get things work in a rough manner, just by replacing the appropiate file "nisDmm.dll" located in the IVI Standard Root Directory, before i run each one of the applications in LabVIEW. However, the solution proposed above would be much more convenient.
I hope everyone has understood my question, and anyone can help.
THANK YOU VERY MUCH FOR YOUR TIME!!!