Programming GPIB Instruments in Labview: Need Help!

In summary, the conversation was about a person asking for help with programming a GPIB instrument in labview and their struggle with finding clear documentation. They also mentioned being stuck on converting data strings from the voltmeter to numbers. They received a recommendation to check a specialized forum for examples and assistance with GPIB projects.
  • #1
phygiks
16
0
Hello all,
I am trying to program a GPIB instrument (voltmeter and oscilloscope) in labview. I already have all the drivers set up, but I am having trouble finding easy to understand documentation on how to program these instruments. Does you know of any?

Right now I am stuck on trying to plot data read from the voltage meter onto a waveform graph. Apparently the voltmeter outputs data strings, how do I convert this to numbers? I have already tried multiple conversion tools under the string functions.

Any help or guidelines would be appreciated.
Thank you!
 
Engineering news on Phys.org

FAQ: Programming GPIB Instruments in Labview: Need Help!

How do I connect my GPIB instruments to Labview?

To connect your GPIB instruments to Labview, you will need to have a GPIB controller and a GPIB cable. You can then use the NI-488.2 driver software to establish a connection between your instruments and Labview. Make sure to follow the instructions provided by the manufacturer of your specific GPIB instruments for proper setup and configuration.

How can I control my GPIB instruments in Labview?

To control your GPIB instruments in Labview, you will need to use the GPIB functions provided by the NI-488.2 driver software. These functions allow you to send commands and receive data from your instruments. You can also use the Instrument I/O Assistant in Labview to easily configure and control your GPIB instruments.

What is the syntax for programming GPIB instruments in Labview?

The syntax for programming GPIB instruments in Labview depends on the specific function or command you are using. Generally, you will need to specify the address of your instrument, the command or query, and any necessary parameters. Refer to the documentation for your GPIB instruments and the NI-488.2 driver software for specific syntax examples.

Can I use Labview to program multiple GPIB instruments at once?

Yes, Labview allows you to control multiple GPIB instruments simultaneously. You can use the GPIB functions to send commands and receive data from multiple instruments, or use the Instrument I/O Assistant to control them through a graphical user interface. However, be mindful of the timing and synchronization between the instruments to ensure accurate data collection.

What resources are available for troubleshooting GPIB communication issues in Labview?

If you encounter any issues with GPIB communication in Labview, there are several resources available to help you troubleshoot. The NI-488.2 driver software includes a troubleshooting guide and a support community forum where you can ask for assistance. Additionally, the NI website offers technical support, documentation, and tutorials for using GPIB instruments in Labview.

Similar threads

Back
Top