11-08-2005 05:14 PM
11-09-2005
11:10 AM
- last edited on
07-08-2026
06:38 PM
by
Content Cleaner
It sounds like you have the general concepts right. Depending on what development environment you are using, however, much of the work may already be done for you. National Instruments has drivers written for LabVIEW, CVI, and Measurement Studio for most of the common instruments out there. You can search for these in our Instrument Driver Network. What environment will you be developing in?
If you have an NI-PCI-GPIB card, you can use Measurement and Automation Explorer, which installs with the driver, to test your connection to your instrument and even send and receive commands. You can do this using a VISA (Virtual Instrument Software Architecture) test panel. VISA is an abstraction of many different communication protocols (including GPIB) which takes care of the lower level details of communication for you, making it easier to develop applications suited for your needs.
Hope this helps,
11-09-2005 11:33 AM
11-09-2005 11:50 AM - edited 11-09-2005 11:50 AM
I find it hard to believe that commands that you send in MAX are not recognized by the instrument. It shouldn't matter what version of GPIB the instrument supports as long as you're sending the correct commands. It probably won't respond to the *IDN? command but since you're able to get the waveform, you're obviously abel to communcate with it in some fashion. Scaling the x and y axis are functions in LabVIEW. For example, you can create a property node for the graph and set Xscale.Offset to the start frequency and Xscale.Multiplier to the df that you've got the sa set to.
And by all means, post your VI here. It always helps to have the actual code.
Message Edited by Dennis Knutson on 11-09-2005 10:51 AM
11-09-2005 12:00 PM
11-09-2005 12:13 PM
11-18-2005 04:47 PM
Dear Denis
thnaks it helped alot