Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all 5662 articles
Browse latest View live

Virtual serial port data to test the labview code

$
0
0

Hi,

I am working on a project  in which I am required to do the following:

  1. Continuously obtain data from a device over 9 pin serial port, parse them dynamically. I need to obtain data from 2 devices at the same time.
  2. Display the data in a table and be able to dynamically update if a button is pressed on the device. 

I am working on labview from a couple of days. I am trying to learn as much as possible frm the resources on Ni website. By seeing the tutorials, forums I understood that I need to use VISA for obtaining data from serial port and should use State machine and Queue message handler. Upon seeing the project templates, I noticed that Continuous measurement and logging template is similar to what I need but I am not sure.

 

And also, Can I use any software to create virtual data without having a physical device connected to a serial port.

 

Any advice is well appreciated. Thank you.


34980a scan rate

$
0
0

Hi,

 

I am trying to use 34980a Switch with 34922a mux modules to collect DC voltages. 

 

Here is how I am trying to achieve the intended data collection:

 

Step 1: Initialize the switch, reset it, configure it to measure DC Voltages and then configure scan with sweep count of 1.

Step1.JPG

 

Step 2: Inside the for loop, format the reading, initialize the scan, then fetch the readings. I loop 4 times, each time getting 480 DC voltages.

 

Step2.JPG

 

Issue: first loop the scan runs at a much slower rate. 480 readings take about 2 minutes. The 2nd, 3rd and 4th loop, the scan runs much faster. Less than 30 seconds per scan. 

 

Why do I have this scan rate issue? Eventually I need to collect close to 5K voltage readings so I cannot live with 2 mintues per 480 readings. 

 

If I skip step #1 VI (init/rst/config) and then run step 2 VI only, then all 4 scan loops run fast. I am quite confused.

 

Mahesh

 

How can an instrument driver been certified?

$
0
0

I am learning to write an instrument driver using ITECH Electronic IT7300( Power supply),

I am wondering how this driver not been certified, nor supported while this driver has been uploaded for more than 2 years.

So I am wondering what's the procedure of  a third-party instrument driver certification.

Thank you for your attention.

 

Trying to make software for Instrument Control

$
0
0

Hi, 

 

I am a beginner to instrument control using VISA. I have used the R&S Forum application to control instruments in the past over VISA (USB/GPIB). But now I want to make a proper GUI. And I have some shamelessly nooby questions to ask. I have googled this stuff before and found plenty of information, but I'm still not sure. Any help or pointers are appreciated. Thanking all of you very much in anticipation.

 

  1. What is the difference between NI VISA 14.x and NI VISA 5.4.x?
  2. I have an instrument, I have a PC running Windows, what do I need to install other than the instrument drivers (VISA 14 or 5.4 or 488.2 etc.)?
  3. What would you recommend for making the software (GUI), like Visual Basic or C++ or something, or this measurement studio thingy? Preferably something that doesn't cost me money.

Delayed Read response from SR810 lockin amplifier over Prologix GPIB-USB

$
0
0

Hi,
I am trying to read data from SR810 Lockin amplifier over Prologix GPIB-USB

Here is the screenshot of the shell showing commands and their responseimage.png

 

As we can see, the response to the commands is extremely delayed even when the data points are updated on-time.
Also when I am querying something I am getting reply of the previous query for example as we can see in the above screenshot, I am getting a response '8191' to the query 'print(prologix.ask('SRAT?'))' which should ideally have given me '13' as a reply as shown in this screenshot

 

image (1).png

 

 

What could be the probable reason of this delay?

Multiple request http

$
0
0

HI, I need to use multiple request http but when the second block starts, the first block is stopped, I want to receive the picture but the same time I want to receive the distance, Can you help me?

DigiVAC Model 450 Pressure Controller Labview drivers

$
0
0

Hi,

 

I have been working on writing LabVIEW instrument drivers for DigiVAC Model 450 Pressure Controller using VISA.

I have tried searching on the ni.com/idnet but could not find a driver. It would be great if anyone can help me in this regard.

 

 

Thanks
Srikar

Which version of the visa library support HiSLIP

$
0
0

I want to know  which version of the visa library supports HiSLIP protocol control for device? 

thanks a lot


548XX

$
0
0

I have an

Agilent 54846B scope that has been orphaned at my company by the IT deparments banning anything but Windows 7 computers on our net. Unfortunately this scope runs on Windows 98 SE and there is NO WAY to upgrade it to Windows 7 even if I wanted to as there is not enough memory to run it on the motherboard. This scope still works fine and replacements run near $20,000. All I really want to do is to be able to download saved files off the hard drive to my workstation. Does the 

548XX driver from NI support transferring files from the scope to my local hard drive? I figured that I could buy a USB/GPIB cable to do this with as long as the driver supports downloads.

 

Synchronized I/O using FPGA R Series device

$
0
0

Hi everyone,

 

I have been using the Balanced I/O Personality (http://www.ni.com/example/5961/en/) to generate and acquire analog signals. However, I am finding that it doesn't quite fit the requirements of my application.

 

I would like to acquire and generate data in a synchronized manner. I recently completed the online FPGA course, but I am still left with some questions, regarding how to modify this particular code to fit my requirements.

 

I would like to run acquisition and output loops at the same clock rate. For that, I understand that I need to use the same loop timer ticks for the AI and AO loops, which will be hard-coded into the FPGA. I also understand that the AI and AO while loops only start running if the "AI Enable" and "AO Enable" booleans are set to true. Should I only use one boolean which enables both at the same time in the FPGA VI?

 

Also, most of my confusion lies in the way the Host VI works. I would like to output and acquire a finite number of samples, starting at the same time. I am not sure which functions of the code should be synchronized. Please find attached an image containing the two original codes for AO and AI and my suggested changes to make them run simultaneously. I would really appreciate it if someone could suggest whether my proposed changes make sense and point me in the right direction.

 

The FPGA course brought to my attention the use of occurences to synchronize tasks - should I be using them for this code?

 

Thanks in advance, and looking forward to your replies.

 

 

Making analog meter ( Application: Voltage variation in frequency

$
0
0

hi , I need to make this project for my school 
i dont know how to do it , so pls can sombody help me,

This is my task
Making a analo meter  ( Application: Voltage variation in frequency )

How to retrieve NI VISA version number from API?

$
0
0

Is there a means in the VISA API to retrieve installed version numbers of VXI and VISA?

related stuff for RS-232 of the wavetek 395.

$
0
0

hi. i am quite new in this field. i am working on room temp. AFM, i want  to use external amplifier and wave genertor(wavetek 395) withcurrent AFM setup, for getting the P-E hysteresis loop, but i have not the lab view program for that SETUP. so what should i do. so i need  LABVIEW program for  that said setup. another there is a GPIB (IEEE-488) and Rs 232 as an interface for the wavetek 395. but GPIB is not working. how i can get the related stuff (software +driver) for the RS-232 of the wavetek 395.

any program/sample code of GPIB cab be used  for RS-232??

netbsd gpib driver?

$
0
0

I have a GPIB-SCSI-A used with sparcstation 10, I was also interest in perhaps the SBUS module.   I've tried to order an updated driver from NI without driver but is no longer for sale.    Is there any chance Net/Open BSD could support the either module or that the existing driver can be used in NetBSD?    Since the original driver is for SunOS (BSD based) that that driver could be ported to a modern BSD distro, as I recall the driver as released ar binary only.   

AMC7836EVM LabView control

$
0
0

Hello all,

I'm trying to build an interface around the AMC7836 ADC/DAC combo device from Texas Instruments. This evaluation module has the AMC7836 board and supporting circuitry, and then a computer connection via a "SDM-USB-DIG" dongle, which appears to be a USB serial port that speaks ASCII @ 9600N1. The evaluation module comes with a demo GUI which is written in LabView, but unfortunately compiled and the VIs are not accessible. I've had some limited success reverse engineering the GUI and was able to extract the serial control codes that are being sent to the USB-DIG, of which I've posted about on the TI e2e forums.

I'm a complete beginner to LabView, and have been struggling to design an instrument in a reliable way. I'd essentially like to be able to recreate the basic functionality of the demo GUI (here's a screencapture of the interface), but as a LabView controllable instrument, so I can wrap my own application specific interface around it. I've worked out the serial strings I need to send to the device to initialise it and read and write its registers over serial, it's just LabView programming part that I'm somewhat stuck on - not knowing best practices.

I'd like to have sliders to control the ADC output voltages, and I've played with some event blocks to try and achieve that, but I cannot achieve anything working reliably.
Is there a best practice for creating a responsive GUI that might contain a few sliders, and then when those sliders are moved, a command to set the voltage is sent out over serial to the device, then another read command is sent and processed to display the readback voltage (the specifics of these commands is not important, they can be considered as just ASCII strings to be sent over to the serial device).


Attached is the code that I've been working on so far as a source distribution. If anyone could take a look at that and give me some advice, that would be much appreciated.


Which Labview edition should I buy?

$
0
0

There are three edition of Labview: Basic, full and professional,

I am short of money currently.

I want to know if I just want to use Labview to control instruments,such as power source with SCPI protocol or frame format.

Or I want to program with SCPI protocol or frame format on Labview.

Will the basic edition meet my requirement?

Thank you for your time.

Best Regards!

 

NI PCIe-GPIB

$
0
0

Hi,

I would like to setup new test computer with NI PCIexpress-GPIB card. 

What PCIEX (1, 4, 8 or 16) connector on computer require for NI PCIexpress-GPIB card ?

Thanks,

 

Khanh

usb-gpib-hs+ support under Red Hat 7?

$
0
0

Hi,

 

I would like to know if the NI USB GPIB HS+ is supported under Red Hat 7.0 (kernel 3.10.0-123.8.1.el7.x86_64).

I would like to use it for normal GPIB control and I understand that the analyzer capability is only available under Windows.

 

I successfully installed the NI 488.2 15.1 package. From a terminal, when I run "lsusb", I can see the NI USB GPIB HS+ (as well from the dmesg output).

But when I run the /usr/local/natinst/ni4882/bin/gpibtsw  tool to check the installed GPIB controllers, nothing is reported.

 

According to the documentation published on the NI web page, my USB GPIB HS+ is supported. But is there a problem with

Red Hat 7.0 although it is listed as supported in the system requirements? Or is there something special that needs to be done with the USB GPIB HS+ (which works fine as an analyzer on my Windows 7 laptop)?

 

Thanks in advance for your support.

 

NI-488.2 15.1 for Linux

The following devices are supported for use with this download:

  • AT-GPIB/TNT (PnP)
  • GPIB-ENET/100
  • GPIB-ENET/1000
  • GPIB-USB-B
  • GPIB-USB-HS
  • GPIB-USB-HS+
  • NI ExpressCard-GPIB
  • NI PCIe-GPIB
-------------------
System Requirements
-------------------
This release of NI-488.2 for Linux software supports the following
distributions:

CentOS 7
openSUSE 13.1
openSUSE 13.2
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 7
Scientific Linux 6

 

 

Pierre

Upgrade LV application with SM2064 DMM from WXP to W7

$
0
0

I have to upgrade a LabVIEW application using a SM2064 DMM from WXP to W7.

The device is recognized by the operating system but the LabVIEW library doesn't work. The DLL seems incompatible.

Has anyone already used this discontinued DMM on a W7 64 bits machine ?

 

Many thanks in advance for any advice.

TDS784 and NI GBIP-USB-HS Problems No Communication ?

$
0
0

TDS784D and NI GBIP-USB-HS


Problem: GPIB (and soft) do not see an oscilloscope?


The interface is operating other equipment are shown and oscilloscope TDS784D shows the configuration of the BUS OFF ?

The menu NI alsodo not see theoscilloscope.

 

Advanced Settings ? Bus settings ?
Paraller Bus Durration   :   0 uSec ?
Bus timing :                    :   2 500 nSec ?

 

Does anyone know how to solvea problem orknows the problem ?

Viewing all 5662 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>