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

NI XNet .dbc to FIBEX conversion

$
0
0

Hi Friends, I am using NI XNet version 18.5. in my PC. When i am trying to convert .dbc file to FIBEX or .xml (i.e cluster format) i am facing some issue. When the file is converted from .dbc to .xml file the Frame names and Signal names whose string length is more 32 are clipped and it is saving with 32 string length.

Example : Actual name in .dbc : Active_Lane_Management_Switch_Start

                After Conversion .xmlActive_Lane_Management_Switch_St

from above you can see "art " is missed.

Can anyone help in this regard how to overcome this issue.


如何以status byte (STB)形式响应主机指令

$
0
0

使用C#+USB-GPIB 开发的测试设备如何以状态字(status byte (STB))的形式响应主机的每条指令,开发手册中只发现ReadSTB这个函数并未发现有类似WriteSTB这样的函数,如果C#或USB-GPIB不支持该功能是否有产品支持该功能

VISA viWrite works but no viRead on USB

$
0
0

Hello all,

I have a custom USB device I normally use on Linux. For training I wanted to use it on XP with VISA. I conncet it, run the VISA driver wizard, create the driver, install it and launch my test program.

Writing to the card works fine, I can light up some LEDs on it.

Trying to read anything from the card fails (General protection error), it also fails from the the Visa test panel.

And taking a look at the attributes returns -1 for the IN_PIPE. What could be the cause of that ? Hardware problem ? Misconfiguration ? It works on Linux (but it's not a VISA driver, it uses libusb or libhid, I don't remember), so... ?

ERR-1073807195 in GPIB communication with Keithley 2401 and Agilent 34970A

$
0
0

Hi all!

My previous post regarding this problem did not garner much response, hence I'm reposting to report the issue along with some progress I've had:

 

I am using LabVIEW 18 for automating a battery life cycling test. This is an old code which has been handed down to me by a senior to run the testing setup. Recently, the CPU for the workstation on which this testing setup resides was changed and hence, there are some errors showing up while communicating with devices.

 

I am using Agilent 34970A for data acquisition and Keithley 2401 source meter as a power supply/DMM. I have connected the KE2401 source meter via a USB-GPIB cable to the CPU. And the Agilent 34970A is connected with a GPIB-GPIB cable to a National Instruments GPIB card in the PCI slot of my CPU.

 

I have the LV instrument drivers for Agilent 34970A and Keithley 24XX installed. Also, I've installed the Keithley IO libraries and communication expert along with the Keithley VISA as secondary. I set both the instruments in the GPIB mode via their front panels. Keithley 2400 is in GPIB SCPI mode (I have also tried with GPIB 488.1 mode). Agilent 34970A is in GPIB 488 mode. I have also checked that their primary addresses are the same in the front panel and my code. I have NI 488.2 installed and have enabled TULIP.

 

Now, both the instruments are being detected by NI MAX under miscellaneous VISA resources and I am able to communicate with them by querying the IDN command. Here are some screenshots:

1.pngGPIB devices in NI MAX2.pngKE2401 comms via VISA Test Panel3.pngAg34970A comms via VISA Test Panel

However, when I run the LabVIEW code which communicates with these, I am encountering an error with the initialize.vi. The error is -1073807195: The interface type is valid but the specified interface number isn't configured.

 

I also read some forums which asked me to uninstall the Keithley secondary VISA, but that results in NI MAX not identifying my GPIB devices. How do I troubleshoot this issue?

VISA driver for Andor iXon Ultra 897

$
0
0

Hi,

I'm trying to control an iXon 897 through LabVIEW. I have made a .inf file w/ VISA driver wizard and have succcessfully signed it (I'm using Win 10). NI-MAX identifies the USB device but when I try to interact via basic I/O *IDN?\n, it gives a read operation error and returns 0 bytes. What am I doing wrong? Is the command different for this camera?

National Instruments USB-5133 is unable to connect via the Visa interface in matlab. How to connect to the Visa interface?

$
0
0
I connect the NI USB5133 device to the computer and install NI-SCOPE support package successfully But can not scan to see the USB port causing unable to create interface Object.
What should I do to be able to connect to the NI USB 5133 with Matlab?
Untitled.jpg

DMM6500 Statistic Measurements Average

$
0
0

Hi, 

I'm trying to use Labview to perform a few Voltage, Current, Capacitance measurements. I do seem to have the basic communication [Ethernet VISA] working, but I think I might have a sequence of operation or settings miss match. LabviewTestingComm.pngI'm interested in the the average value for the measurement. I think I might be getting just the instant value instead the moment. [Average of sample 1]. [min/max values are exactly the same I don't think that should be the case]

 

I would appreciate any tips on how to set up my test-sequence or what I'm missing doing wrong. 

 

NOTE:

When using the meter in local mode I can select continuous measurement and things seems to display correctly, but when using remote controlling [LV] it seems to be require a trigger [section 5 of the manual

 

 

Communicating from one GPIB card to another

$
0
0

We have a few of the NI PXI GPIB cards (https://www.ni.com/en-us/support/model.pxi-gpib.html) and want to set up communication from one card to another. Are there any articles/examples I can read on how to set this up? Attempting to use NI-MAX and the interactive control results in a bus error once I connect two cards together.

 


VISA32.dll

$
0
0

Hi 

I'm running a Agilent program and got an error : *** Can't find DLL entry point 141 in VISA32.DLL at run time. Please tell me how to fix it.

 

It sounds like missing VISA32.DLL file but note that my PC is Window 7 and I already had VISA32.dll file in Program Files\system32 and widnows\sysWOW64 folders. 

Thanks

Keysight MXG N5183B Get RF Power Level

$
0
0

Hi folks,

 

I am trying to read back the set frequency and power level on a Keysight N5183B sig gen using LabVIEW. I couldn't find (or missed) any instrument driver function or SCPI command in the programming manual that does that. 

Does anyone have any idea of how can I get (read from instrument) the frequency and power level from a N5183B signal generator using LabVIEW and GPIB instrument control?

 

TIA

Mike

NI I/O trace save as text ?

$
0
0

Hello all,

I want to compare some NI I/O trace reports, but it only saves in a binary format *.nitrace.

Copy/paste of more than one line from the interface is not possible either.

Is it possible to save as text ? Or to convert the nitrace files to text ?

(Currently using version 15 of NI I/O Trace)

Thanks

Agilent 8114a

$
0
0
Hello,
 
I downloaded the Agilent 8114a driver from the NI Website for programming it in LABVIEW.
 
I found there is this "Configure Voltage vi" in which there is the option of Voltage Baseline as shown below.
 
image.png
 
I really need to use this Baseline option to set my voltage base. But I dont understand where to find and install this "Option 001" to use this Voltage Baseline option. 
 
It would be great if you guys can give a quick response. I have an urgent deadline. 
 
Thank You for your time.
 
 
Regards
 

sbRIO 9632

$
0
0

can you tell me about sbRIO 9632 which pin connected  such as pin 2 or 3 to (SDA) serial data and which pin to (SCL) serial clock. i need it necessary

GPIB to Ethernet

$
0
0

We have an old test system used to automate the testing of certain devices. Some instruments in the system are old and need replacing. But the units are neither serviceable nor replaceable, So we need to find new hardware.

But again We cannot edit the code of the control software to add in the commands for the new hardware.
So, I want to make a little black box which will sit between the controller and the new instrument and translate the old GPIB commands and transmit via ethernet.

So my black box will need to act as both an instrument and a controller in order to pose as the old instrument but then control the new instrument, but also work in reverse to send the reading back to the controller.

If i make system like that how old system will identify my system as test instrument. What settings i should do for that

PC to PC communication via GPIB

$
0
0

I want to set up two computers to communicate with each other via GPIB. I have made one as a system controller and other one as listener. But when i try to scan the instruments in NI MAX, it is not showing my listener PC address. But it shown all other test instruments which is connected via GPIB.

Why it is not detecting for listener PC as it will detect for other test instruments.

 


Instrument Getting Hung on multiple queries from PC using HISLIP .net

$
0
0

Need help understand the issue.

 

We are facing strange problem of instrument getting hung up after few days of operation.

 

I have implemented NI VISA using HISLIP to an instrument where one thread is continuously querying the status and parameters of the instrument in C#.

 

Another thread is running which sets one or two parameters every few minutes and exits.

 

I have implemented all threads to open session and keep it alive i.e. session opened is not closed and kept open. (I tried opening and closing session also but the same issue persist)

 

I understand multiple client can connect to instrument using HISLIP but I think this may be a problem.

 

Can anyone please help. Let me know if you need anything from my side.

NI 488.2 driver/device error

$
0
0

 I am using a sensor evaluation board for which LabVIEW supported VIs (exe file) are provided by the board vendor.  While running the VIs it is giving the following error. 

"error connecting to GPIB device/driver.driver NI 488.2 may not be installed".  

 

I have installed the NI 488.2 driver separately(NI  4882_1850f1) for correcting the error but still facing the same issue. Please suggest the possible reason and the resolution for the same at the earliest. I have attached the error screenshot for your reference and help.

 

Regards,

grishma

07926913880

SAC, ISRO

 

 

 

Keysight 34460 with 34401 driver

$
0
0

Hi,

 

I have a new project coming up and would like to know if the old Agilent 34401 driver will work with the newer Keysight 34460 meter. I would like to get away without making any changes to my existing Dll that I made with the older driver. Has any one used the 34401 driver with the new 34460?

 

Thanks,

 

Curt

Communication Issue with Varian V-70 Turbo Pump Controller

$
0
0

Hey All,

 

As a prelude, this issue may likely not be VISA related so much as related to either my physical connections or my misunderstanding of the product datasheet. Any help would be appreciated, but I can also reach out to the manufacturer if needed.

 

I am trying to command a Varian V-70 Turbo Pump controller from my host Windows 10 PC via a USB to RS232 adapter cable. My software configuration is as follows:

  • NI VISA 19.0
  • LabVIEW 2017 SP1 f3

I have tried to communicate with this device in both LabVIEW and in a VISA test panel in NI MAX. In both cases, I get the classic timeout error:

Capture.PNG

 

Attached is the manual for the device. Pages 74 and 75 are of interest, as they outline the physical connections and communication setup in software. Below are two relevant snippets:

 

connections.PNGCommunication Port

 

messageformat.PNGCommand and Response

I have ensured my VISA session is configured with the correct format (baud rate, data and stop bits, parity) and have also tired timeouts of various lengths. In addition, I have followed the manuals instructions for ensuring the controller is in the proper mode to accept commands via RS232. Based on everything I have tried, the questions/thoughts I have are as follows:

 

Questions:

  1. Does the first image imply in any way that a USB to RS232 converter could cause issues? The phrase "The external cable (not supplied) between the host computer and the controller doesn’t require any crossed wires so that the signal are connected correctly." is confusing to me.
  2. If (1) is the case, maybe I actually need to be using NI Serial 19.0 with a RS232 cable instead of a USB to RS232 adapter?
  3. To me, image 2 implies the commands are literally just the characters "A, B, C..etc" I am not familiar with the concept of a CRC, but some googling has explained the concepts yet I am unsure how this affects how I format my actual messages.
  4. To build off of (3), do I need to be formatting my commands as Request + CRC or is the CRC handled by the nature of VISA and the setup of my VISA session?
  5. I am not familiar with USB RAW mode, but maybe I should be using that?

Articles used:

Error -1073807339 VISA Read or Write Timeout

How Can I Communicate With a Device Using NI-VISA USB RAW Mode?

 

Thanks for any help!

GPIB-400

$
0
0

Hi All:

Does anyone have any information on this old National Instruments instrument?

Best regards.

Viewing all 5665 articles
Browse latest View live


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