08-31-2011 06:49 AM
Hello
We are developing a software for RFSA & RFSG. The software has demo mode (without RFSG & RFSA, data from RFSA is simulated).
We use simple function for equipment (init, fetch, close etc.).
We have built "exe". It needs labview run-time and RFSA & RFSG drivers.
Before running main flow , user should select mode - normal or demo. If user are planning to use software only in demo mode there is no need to download and install RFSA & RFSG drivers (we think so).
For demo mode we use simple case structure, therefore even user select demo mode, the software requests rfsa & rfsg libraries.
All function for equipment (init, fetch, close) are in the lib, so we can not use call by reference.
Have anybody any ideas to solve this problem?
09-01-2011 04:17 PM
Hello,
Because the program does not know whether or not the user is going to select demo when it is loading, it will therefore request the RFSA and RFSG libraries, because they are needed for the program's full functionality. I do not know of any way to get around that.
I would recommend that you build separate programs, one that is only a demo, and one that uses the actual devices. That way, if the user does not want to install the drivers, they only need to run the demo program.
Regards,
Elizabeth K.
National Instruments | Applications Engineer | www.ni.com/support