GSR Posted February 23, 2009 Report Share Posted February 23, 2009 I write up a data acquisition for my friend, but I don't have the corresponding hardware to test. Any program that can mimic the hardware for me to test my program? Thanks Quote Link to comment
ASTDan Posted February 23, 2009 Report Share Posted February 23, 2009 You can create a simulated channel in daqmx http://zone.ni.com/devzone/cda/tut/p/id/3698 Quote Link to comment
MikaelH Posted February 24, 2009 Report Share Posted February 24, 2009 QUOTE (zmarcoz @ Feb 23 2009, 10:34 AM) I write up a data acquisition for my friend, but I don't have the corresponding hardware to test. Any program that can mimic the hardware for me to test my program?Thanks ..or why don't you use an object oriented approach with simulated objects. This is how I’ve solved it. All instruments inherits from a VdTestInstrument-Base class This class has child classes for every instrument type I need. E.g. Power Supply, Digital Input units, Switches, Climate Chambers. For every sub group of instrument e.g. the Label Printing-class, I create a Simulated class and then the real implementation classes in this example I have three different implementations for printing a label. In every Simulation class I register this simulated object to a <SINGELTON> class I call “VdTestInstrumentSimulation”. ;-)This class shows a dialog box where I can select which simulated objects to open. The dialog box dynamically opens the “SimulationDialog” method in the simulated class that gives the user an interface to the Simulated object. Here the user can monitor what is written to the object and also control what responses the object should report back when you do a e.g. Read function on the object. E.g. This is how I can simulate all instruments on my Rig, I also of cause create a simulated DUT unit so I can test my software completely before deploying it in production. Cheers, Mikael Quote Link to comment
GSR Posted February 24, 2009 Author Report Share Posted February 24, 2009 QUOTE (ASTDan @ Feb 23 2009, 02:13 AM) You can create a simulated channel in daqmxhttp://zone.ni.com/devzone/cda/tut/p/id/3698 thanks This is a very good information. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.