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

Virtualbenchz Visa Compatibility

$
0
0

Hello everyone,

 

I'm starting fresh with Visa because I will need it for my bachelor thesis. For trying out some basic things I got my hands on a VB-8012. I tried to find information about available VISA commands for this hardware and settings but I couldn't find any documentation from NI helping me with this.

I can open the instrument with VISA, so I assume in general its compatible but whatever query I send I receive a timeout. Based on further research this is a common error and propably caused by either a wrong query message or invalid settings for termination or port. I'm having trouble setting this up because as mentioned I couldn't find any documentation from NI about Visa support of this hardware. 

Does anyone know where I could find further information or has some experience controlling VB-8012 or similar with VISA?

 

Thank you very much in advance


Using serial breaks makes the data unreadable

$
0
0

I am programming an application that sends out serial data (RS-232) streams with configurable timing between the messages.  When I experimented with a few different methods of transmitting data I found that setting the "Serial Settings -> End Mode for Writes" to "Break" with a property node after initializing the VISA resource and then setting the "Break Length" property before each write I got the best timing performance.  I did my timing testing while just sending out serial data and using tick counters to see that the appropriate time elapsed for the data to be transmitted and the breaks to occur between messages.

 

Now that I am trying to read the data in I am not receiving what I am sending out.  Instead of receiving the string I sent out I get a single byte (x00) and an error message on every other read:

 

Error -1073807298 occurred at VISA Read in Serial Receiver.vi

Possible reason(s):

VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.

 

There are no errors on the writing side and the return count from the VISA write matches the amount of data that I am sending.

 

Is there something fundamentally wrong with using the break after write mode for controlling the timing of the message spacing on transmit?

 

Do I have to do something special on the reading side to be able to read messages with breaks between them?

 

I tested this with both the PXIe-8430 serial ports and a USB to serial adapter with a loopback connector.  I also tested sending from one port to another with a null modem cable and I get the same thing in all situations.  It works fine if I don't use the break after write mode, but I don't get the timing that I need.

 

Any suggestions will be greatly appreciated.

 

Thanks,

David R. Asher

 

Install NI488 for PCMCIA-GPIB fails - unable deleting NI-VISA 2.6.0 Runtime

$
0
0

I tried installing NI488.2 312 on Win7 pro 64bit.
unfortunately there came a message "Unsupported version of NI-VISA detected".

there had been installed visa260runtime.exe which I need for a logger program.

anyway I tried uninstalling this NI-VISA 2.6.0 Runtime using windows 7 "Programme und Funktionen" "Ändern". Unfortunately this failed. If I try again I am getting a message: "Warten Sie bis die Deinstallation bzw. Änderung des aktuellen Programms abgeschlossen ist". But nothing seems to be running.

How to get rid of this NI-VISA 2.6.0 Runtime so that I can successfully restart installing this older NI488.2 version supporting this PCMCIA-GPIB card?

on a Win 7 pro 32bit I got this to work. Now I try Win 7 pro 64bit.

could you please give me a hint how to proceed?

Best,
Matthias

Virtualbench (VB-8012) Visa Compatibility

$
0
0

Hello everyone,

 

I'm starting fresh with Visa because I will need it for my bachelor thesis. For trying out some basic things I got my hands on a VB-8012. I tried to find information about available VISA commands for this hardware and settings but I couldn't find any documentation from NI helping me with this.

I can open the instrument with VISA, so I assume in general its compatible but whatever query I send I receive a timeout. Based on further research this is a common error and propably caused by either a wrong query message or invalid settings for termination or port. I'm having trouble setting this up because as mentioned I couldn't find any documentation from NI about Visa support of this hardware. 

Does anyone know where I could find further information or has some experience controlling VB-8012 or similar with VISA?

 

Thank you very much in advance

NI MAX - Device shows twice with one greyed out

$
0
0

Hi all

 

On a new setup I installed MAX and imported a configuration across which as all my devices and channels in. I then plugged in my cDAQ and it showed up a second time, but greyed out. 

 

They both report the same IP and serial number.

 

The original one that I imported seems to work fine, but this ghosted one is just there, annoying me. I can't add the device because its got the same IP address and serial number. 

 

Why doesn't MAX simply recognise the device as the same one that has been imported in the nce file?

 

I tried to get rid of it by starting fresh, plugging the device in, then re-importing the nce file with my channels, but I can't do that because of the IP conflict. Its leaving me confused at how you transfer a configuration between computers without having to manually input all the channels and scales again.

 

Screen shot attached.

 

Edited to add, I did reset the configuration before importing the nce file. But again, when plugging the device in it shows as an extra device despite being the same device!

USB-RS232 Converter Driver

$
0
0

I am using a USB to rs232 converter (NI USB-232/4 interface) to communicate between a Mitituo Digmatic indicator and a Torbal force sensor.

While testing the connection in Ni MAX, I see under my device that an error "Windows does not have a driver associated with your device."

Seems like I cannot find what driver I am missing, even after downloading just about every driver I could. Not sure what else I can test at this point.

Is anyone familiar with this device, and what driver I need to get my PC to communicate with it?

 

Thanks

GPIB PC Compatability Question and Recommendations

$
0
0

Good Evening,

 

I have a client that needs PC upgrades for Eight (8) of their bench computers. These computers are pretty old and run on windows xp. A lot of the engineering equipment they use is pretty dated and almost everything is GPIB connected.

 

  1. Each old PC has one older single-port NI GPIB PCI card.
  2. The new PCs they ordered are running Windows 10 and they don't have a PCI slot on the motherboard, to directly use their old cards, just the newest PCI-E slot.

 

What do you think the best options are for upgrading 8 of these computers to be have connectivity with all 8 of these pieces of equipment via GPIB?

 

I'd like to consider costs as ordering 8 of the newest cards for this client might be a hard sale.

 

Here's what I've considered:

  • USB-to-GPIB Adapter
  • PCI-PCIe Riser Card/Adapter
  • The NI Ethernet controller
    • i'm not sure exactly how expensive it will be as all 8 of the GPIB devices will need to be plugged into something else, assuming the controller itself can't handle 8 GPIB ports.
    • If there is another hard device to connect all of the GPIB connectors, what will the total cost look like compared to 8 standalone cards?

My concerns:

  • Cost 
  • Reliability (DoD Contract)
  • Compatability

 

Too many GPIB listeners

$
0
0

Hi,

     When I Measurement & Automation Exploer to scan GPIB-USB-HS, It indicates that there are too many gpib listeners, and what should I do?

    PS:

It is ok when I reseat the GPIB


Modbus Serial RTU write and read

$
0
0

Hi everyone, first time posting here, not and experienced user but I will try to explain. I am trying to communicate with an inverter of an hydraulic pump through a usb-rs485 converter using modbus protocol. I have to perform both writing and reading operations, setting the speed of the pump and reading several parameters. In order to do this I'm using MODBUS API in labview version 2019. When I used the write and read multiple holding registers I keep getting the same error 56 timeout. So I tried to program 2 different VIs. The first one where I just try to read the holding registers and the second one where I try to write. In the former case no error occurs. In the second one timeout happens. In order to force the code I used also the clear error function because I noticed that before the error message appear the pump starts running. Highlighting the execution I noticed that the error occurs roughly once every 2 iterations of the while loop. Any help would be appreciated.

Problems with uninstall NI-VISA 2.6.0 runtime - Win 7 Professional 64bit

$
0
0

I installed NI-VISA 2.6.0 runtime for being able to use a magnetic sensor logger. 

 

For using NI488.2 it now seems to be necessary uninstalling this.

Using Windows 7 "Programme und Funktionen" it does not work trying to uninstall that. NI-VISA 2.6.0 Runtime Setup tells Updating system. But another windows shows up "Installer Information" telling Error 1500. Another installation is in progress. You must complete this installation before continuing this one"

So the system feels that another installation is active - which definitely is not the case. So I am unable getting rid of NI-VISA 2.6.0. And being unable to do so I am also unable installing NI488.2.

So what to do now?
Throw away the system?
Reinstall all windows and all other stuff?
or is there at least a workable solution for this?

I really would prefer that - if possible.

Best,
Dr. Matthias Weisser

unable to save time and power together in a file

Problem with Instrument driver

$
0
0

Hi,

I am using Tektronix Function Generator AFG3102C and controlling it using its instrument driver with the PC running LabVIEW 2017.It is working fine with USB interface but the same VI is not working with Ethernet interface connection.I am attaching the snapshot of the screen.Please suggest the solution for the problem.

 

Thanks

Rohit Mishra

GPIB-USB-HS Interface Adapter Controller

$
0
0

How do I query the GPIB-USB-HS Interface Adapter Controller and return back the Vendor, Model, Serial Number and Status? I am coding in C#.

 

I have an NI Controller and Keysight Controller and would like to be able to detect which one is hooked up. 

Ethernet tool kit in ASL package

$
0
0

Hi All,

 

I am not able to see the option to download the Ethernet/IP tool kit (Ni-Industrial communications for Ethernet/IP) from the Spring 2020 software package. We have an ASL licence and the website shows that this tool kit is a part of the package but this is not seen when I download the package manager. Did anyone else had a similar issue?

 

Issue reading multiple Channels in SR830 Lock-In Amplifier

$
0
0

Greetings all,

 

I am a beginner to LabView and I am using it to interface with the SR830 Lock-In amplifier. I am using the SR830 drivers by Stanford Research to create a program whereby I can record the values obtained from Channel 1 (for amplitude) and Channel 2 (for phase). However, the data acquisition is very erratic and sometimes it works and sometimes it doesn't. The error messages that I get are not the same as well and varies from time to time.

 

I tried following the example given by Stanford Research (attached) and replicating it to work for two channels. My trial program (SR830_Trial) has also been attached. Could somebody help to see why my program would not run? Thanks a million.


IVI Error -1074102157

$
0
0

Hi,

 

I'm using the Modular Instruments NIDCPower .NET interface to control a number of PXIe-4142 4 Channel SMU cards and this code has worked successfully for the last 4 years.

I've just bought a new system, using the 12 Channel PXIe-4162 cards and I'm seeing an error from the IVI Driver. The Error number is -1074102157 but the Exception reports that the Error Description is not found.

I've searched for the error number but can't find it; does anyone know what this error number means.

I'm using Visual Studio 2019 on .NET runtime 4.5.2.

NI DCPower Version 19.0

Thanks

HP 4155A High voltage detected error

$
0
0

Hello.

I have a question about the CAUTION in HP 4155A instrument.

 

We have a problem to control the instrument because of the error in the picture below.

 

Before the error occurs we used the instrument well by GPIB0 communication.

 

Conexión de LINX y arduino LEONARDO

$
0
0

No logro comunicar Arduino LEONARDO con LINX de Labview, me marca el error 5003: 


LabVIEW was unable to connect to the LINX device using the following settings:

Interface: Serial
COM Port: COM5

Please make sure that the LINX firmware is loaded on the device (Tools>>MakerHub >>LINX>>Firmware Wizard) that there are no other open connections to the device, then check the configuration settings, and try again.

 

Grafico 7 entradas analógicas en un chart con arduino LEONARDO no logro subir el programa cambia solo de puerto como si se desconectara y en segundos regresa al puerto donde estaba luego  me sale el error anterior, pruebo con menos entradas analógicas con un arduino UNO y funciona perfectamente, que consejo pueden darme para solucionarlo. 

Virtual COM Port Driver stops working

$
0
0

Hi, I am having problems with NI-VISA (Ver 18.0) and the CP210x SI-LABS VCP (virtual COM port) driver ver. 10.1.9 in a LabVIEW 2018 application. The application receives serial data from two contamination monitors over USB via two virtual COM ports. The app typically works fine for several days, but eventually one of the the COM ports stops returning data. I see that when this happens, in NI-MAX, under Devices and Interfaces, in the Setting pane for the COM ports, the Port Description field is set to Unknown (when working correctly it displays the name of the driver). The COM ports still show up in Windows Device Manager. The only way I’ve found to restore the drivers to working order is to re-start the computer, as restarting the app (.exe) won't fix it.

 

Wondering that I might be corrupting the driver by setting some parameters that might not be supported, I pared the property nodes for opening the COM ports down to Baud, Data Bits, Parity and Stop Bits, however this did not fix the problem. I am not writing to the port. The program uses a VISA Read vi in a loop, where the Byte Count input is set to Bytes at port to receive a message of 80 or so bytes sent out every 20 seconds. 

.

Has anyone else run into to this or know what might be causing this?  Would updating to VISA 20.0 help?  Thanks for any help on this!

LabView Interfacing with Nucleo L476RG

$
0
0

Hello, 

How can I go about interfacing LabView with a Nucleo L476RG? I would like to control the state of a onboard LED using LabView rather than by using the onboard button. 

Thanks, 

Viewing all 5661 articles
Browse latest View live


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