07-25-2011 04:00 AM
Dear all;
How can I make the design of a pilot of an instrument ("In general : any insrument ") wich I know his SCPI language ?
Please I want the procedure as detailed !
Thank you
07-25-2011 06:11 AM - edited 07-25-2011 06:16 AM
I would start with the Instrument Drivers and Development Tools page located here:
http://www.ni.com/devzone/idnet/development.htm
The templates have some predesigned common queries like IDN and such. I developed my own driver for a specific instrument in LabVIEW 7.1. There are new tools, icon libraries and even a wizard to get you started.
Your first inclination will probably be to jump in and start making every command available as a sub-vi. Take time to think about how the instrument is used and then create functions that support thoses use cases. When you see a repeating pattern, create sub-vis for those and add them to the library. These bog pages ar a bit old, but I think of Brian Powell's posting located here when I think about drivers...
Based on your description, you would use the General Purpose (Message Based) template.