02-03-2008 02:20 PM
02-03-2008 03:46 PM
It's not enough to just send the CURVE? query. You have to configure and then send a command to the scope to initiate an acquisition.
The scope manual probably has a section describing the sequence of commands that you have to send to acquire a waveform but since you downloaded the driver, I would recomend that you use that instead of the Instrument I/O Assistant. Use the Assistant when there is no driver available. The driver has a 'Getting Started' example VI. The only problem that you might have with the driver is that the Initialize function has 'Old VISA Open'. This should be replaced with the VISA Open function on the VISA palette. Here's a modified version in LabVIEW 8. With the Getting Started VI, I would also recomend you replace the string control for the VISA reference with an actual VISA Resource Name control.
02-03-2008 05:45 PM
02-03-2008 06:55 PM
11-24-2009 01:00 PM
On a new linux machine (Fedora Core 10 - all modules appear to install correctly, and loaded), I get this error code in NIVISA Interactive control. I have tried a simple *?IDN\n on viWrite and tried to read on viWrite under Basic I/O.
The interface board is a PCI-GPIB/LP small form factor. Its new and has never before been used.
11-25-2009 12:06 PM
Hey m-s,
This is a very generic error code that could be the result of many scenarios. Here is a KB that addresses this issue.
Why do I Receive Timeout Error -1073807339 on VISA Write?
Some tips: verify termination characters, use the 488.2 Interactive Control.
Other things to keep in mind are that the particular distribution of Linux you are using is not "technically" supported by NI-VISA. Here is a document that talks about how someone has installed it and what versions could possibly work. The Linux Users Group may be another place of interest.
Hope this helps!
11-25-2009 12:13 PM
Well, I am using Fedora 10, which is basically Redhat Enterprise 4. What version of redhat is best supported for Labview 8.6 ? I am using Linux because our interface (GPIB-USB-B) is not supported under Mac OSX (so cannot use my macbook). So, I moved to a PC (which is not mac compatible, and use of windows is illegal in our lab thanks to endless security holes).
Basically, I need headache free operation. I have previously setup Labview 7.1 perfectly under Debian Etch (I think). However that was at a previous workplace.
I also need to know whether NI VISA Interactive explorer not detecting a GPIB interface is a bad sign. It is however listed as INFC in the Visa configuration tool but I do not even know if I am addressing the right interface. If I add a static interface, I end up with two interfaces, and that can lead to IRQ conflicts.
A link to some docs that detail first time setup of interfaces under linux would be greatly welcome.
11-30-2009 02:31 PM
This page says which distributions of Linux are officially supported by NI. If Fedora is similar to Redhat, then sounds like it should work fine
It is good news that you have the INTFC resource identified in VISA Configuration tool. What do you mean by not detecting the device in NI VISA Interactive explorer? Can you attach a screenshot?
Here is a nice video that shows how to setup your GPIB device in Linux. This KB - Configuration of GPIB Devices in Linux - may also help. Let me know if this helps!