03-26-2010 02:03 PM
I have to develop an automated test for some hardware I have purchased. The computer I am doing the developing on will not be the computer that the program will be running on. @ things I need to know are 1) Will I be able to develop for hardware that will not be attached to my computer? and 2) Do I have to do anything special once it is completed for the program to run on windows 7? Any help is greatly appreciated.
Thanks
Chirs
03-26-2010 02:11 PM
1) if you are using NI DAQ cards, then there is some simulation capabilities. You can run code without getting errors for missing hardware but the data you acquire is basic and probably no resemblance to actual data. The only other built-in simulation is with IVI instrument drivers. There is a bit more flexibility with data returned but sticking with IVI drivers might be a hindrance. If you need this, you should really have checked the availability of IVI drivers before ordering the instruments.
2) You would need to make sure that all drivers and the LabVIEW version is supported under windows 7. I don't have much experience with that.
03-26-2010 02:14 PM
Following Dennis' comment
National Instruments Product Compatibility for Microsoft Windows 7
03-26-2010 02:14 PM
03-26-2010 02:24 PM
The 6224 is one of the devices you can simulate with DAQmx. The 8430 is a serial port. Assuming that these ports would be connected to something else, you would need IVI drivers for those instruments if you wanted something built-in. You would also need those drivers to support a serial connection.
If you just wanted to do some writes to the serial ports, you can do that with no hardware as long as you do not use one of the handshaking modes. There would be no way to debug what you are sending.
03-26-2010 03:15 PM
03-26-2010 03:29 PM
03-26-2010 05:02 PM
chirs73 wrote:Will I be able to develop for hardware that will not be attached to my computer?
Thanks
Chirs
I'll jump on that portion (and stick to it exclusively)
Writing is writing.
Code development is code development.
I would argue that you do not even need the LabVIEW run-time engine to develop code if you have a clear software requirement specification.
While it is possible to simulate hardware, why? the interfaces to the drivers are defined, The funcions on the pallate have defined inputs, outputs and arguments. Why would the development machine need more than a list of defined interfaces in order to develope the code?
I understand that prototyping a sub-vi is sometimes helpful but that is not what I mean. I would encourage you to code INTENTIONALLY so that Before you open a IDE you have a clear purpose to develop towards. (Say to youself "I want a vi that Does this"... and write it) leave debugging for the next step-you'll code much faster in the long run and develop a better grasp of the functions you use.
03-30-2010 12:39 PM