Overview:
This is a clear front-end used to communicate from USB to GPIB Instruments using the Prologix GPIB-USB Controller
Description:
This vi handles all of the base FTDI chipset commands and will poll all of the GPIB Addresses to determine what instruments are available for communication. All SCPI (Standard Commands for Programmable Instruments) as well as the FTDI chipset commands are permitted.
Requirements:
- A GPIB-USB Controller from www.prologix.biz
- This controller device requires an USB-b plug cable for communications and power
- This controller device can be placed directly on the back of an instrument or can be used as a bus controller with multiple GPIB cables and 24-pin Centronics connectors
- The FT245R chip drivers need to be downloaded from the www.ftdichip.com website in order for proper operation of the controller device. Install the drivers according to the directions on the website.
Steps to Implement or Execute Code:
- The 'VISA resource name' is where the appropriate USB port connecting this device gets assigned.
- If the controller device is properly assigned, run the vi with all other default settings.
- The vi will poll each of the GPIB Addresses and determine which addresses respond to an *stb? query.
- Any Instrument that responded to the *stb? query will be active and not greyed out under the 'GPIB Addr' enumeration field.
- If your Instrument is active, jump over the next step and continue, else continue to the next step.
- Not all Instruments respond to the *stb? query. Check the documentation for your Instrument and select a common query that all instruments will respond to or select a command that will permit that instrument to respond. Enter that query command in the 'Query (*stb?)' field then re-run the in poll mode by selecting Poll in the 'GPIB Addr' enumeration field before hitting the run button.
- Once your Instrument is active and selected in the 'GPIB Addr' field, you can send any valid Instrument command or query in the 'write buffer (*idn?)' field. If the command string contains a '?' in the field, then it will display the intrument response in the 'Readback' field upon successful completion.
- All following commands or queries to the same address will result in a change of the 'GPIB Addr' field to Previous such that it will continue there until changed to a new GPIB Address.
Additional Information or References:
NOTE:
Any FTDI chipset commands entered into the 'write buffer (*idn?)' field only require the correct 'VISA resource name' assignment for the controller and will ignore any GPIB Addressing.