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

GPIB Communication with a soft PLC (beckhoff)

$
0
0

Hello,

I would like to setup an easy connection between my GPIB-ENET/1000 ethernet adapter and a soft-PLC running on the same windows computer. It is a beckhoff industrial PC with TwinCAT PLC.

I would like to send and receive a string from the GPIB instrument.

 

Is it possible to emulate the GPIB instrument as a seriel COM port or are there a better solution? 

 

Thanks


VISA problem with R&S

$
0
0

I have LV 2017, windows 10 1809.

VISA 18.5 and DAQmx 18.5

 

I am using Rohde&Schwarz FPC1000 (Spectrum Analyzer) and SMC100A (Signal Generator). 

 

I am not able to see any of them in NI MAX, both with USB and Ethernet.

I also updated the firmware, and reset the instrument.

Same thing happens on a new PC with windows 7 SP1

 

I also installed all drivers from the website of R&S.

 

AFAIK they give LabVIEW "drivers" that is basically SCPI commands over VISA, but also VXI and IVI drivers.

 

AFAIK I dont need IVI or VXI to use the LabVIEW VIs provided by R&S. I should only need VISA, but it doesn't work, the VISA resource name doesn't appear (see attached file).

 

Also IVI and VXI should not interfere with VISA.

 

The only working software is R&S own software that uses "R&S VISA". In that case the USB resource name is very odd, it is a string like:

USB::IDx1234:xxxxx:: 00000000-000000000-00000-0000000::instr

 

it's very odd with many zeroes.

 

Thanks for any help.

ni 488.2 update 18.5 - GPIB-USB-B not supported

$
0
0

I am trying to use a genuine GPIB-USB-B adapter on a PC running Windows 7 / 64bit.

The device is not recognized after loading NI488.2 V18.5 probably because it is now

unsupported hardware.

Is it possible to get an older driver package which would recognize the device?

Do you know exactly which older version would be required and if it is somewhere

on the NI website?

 

Regards

 

David Owen.

XBEE API MODE communication

$
0
0

I am using xbee s2c in api 2 mode to transmit data using LABVIEW to another xbee connected to xctu or arduino uno. I am able to write the frame on xbee connected to labview using VISA write function but it is not transmitting.

I am generating a hex array of the frame and then sending each element of array one after another like 7E then 00 then 10..using VISA Write.

Please help me to solve this.

Using USB port on cDAQ-9135 for Serial Input

$
0
0

Hello,

 

How can I configure one of the USB ports on the cDAQ-9135 to receive serial input? I'm already using the RS-232 serial port. 

 

I added a new serial device under "Devices and Interfaces" in NI-MAX named COM2 but I'm not sure how to bind that to the USB port. 

 

When I plug in the serial stream to the USB port, the cDAQ freezes so I'm guessing it's interpreting the serial stream as bogus instructions or trying to interpret it as a mouse/keyboard input. 

 

Any help/insight would be greatly appreciated!

 

 

Automating function generator 33500B by LabVIEW

$
0
0

Hello,

 

I am using LabVIEW to control a function generator 33500B. I have to use the burst mode to generate 20 cycles sine wave (1000Hz) in every second. And I need to keep the code running so that I can update the amplitude in every second (without clicking the RUN button again and again). Now I am using a while loop to keep the code running. I've got the following issues:

 

1) The execution time for one-time loop cycle is about 1.3s, which is longer than my desired burst cycle (1s). So I got a burst of 20 cycles sine wave in each 1.3s, instead of every 1s. My guess is that, since I am using a while loop, so in every execution cycle the function generator is re-initialized and re-configured, which is time consuming, costs about 1.3s. Is there any way to speed up the initialization and configuration process?

 

 2) I found that there is another burst of sine waves appears before the 20 cycles of sine waves. This undesired burst has the same frequency and amplitude with the desired one. This undesired burst lasts about 1.5ms. And, after about 5.8ms, the desired burst comes out. I have completely no idea why and how this undesired burst is generated. I have attached the .vi project and a photo of the waveform I got.

 

Thanks in advance!

Shanshan

Averaging Mode on Keysight DSO3024T

$
0
0

Hi,

 

I am trying to control a Keysight DSO3024T scope, but I'm having several issues using the InfiniiVision drivers from Keysight. The main one is trying to acquire data from the scope after setting the mode to Averaging.

 

My set up is as follows:

33522B AFG where the trig out of the AFG is fed to channel 1 of the osc and channel 1 of the AFG outputs a 100kHz sine wave, which is connected to Channel 2 of the osc.

 

I adjust the time scale, set the trigger to Channel 2, and change the acquisition mode to Averaging. Then I initate the measurement, and that's where the trouble happens.I usually get a timeout error for a larger number of averages (>500). (See attached pictures). If I set the number of averages to below 500, it works fine, but I need to be able to average a much larger number of signals.

 

In this VI, I use the initiate acquisiton SubVI, but I have also tried the iniate measurement SubVI to no avail. In addition, I have tried using the : DIGItize CHANnel 2 command, but I get a time out error. I have tried waiting excess amounts of time before requesting the data, but still nothing

 

Has anyone been able to get data using the averaging mode on one of these oscilloscopes? Could anyone help me out?

 

Best,

José

Keithley 2400 connect with computer using rs232 to usb cable

$
0
0

Recently, I started an experiment using keithley 2400.

However I tried to connect keithley 2400 with computer but it doesn't work.

I use the cable rs232 to usb. rs 232 is connected keithley 2400 and usb is connected pc.

PC recognizes the keithley 2400 on COM4 but it does not work properly.

I installed NI-VISA, NI-DAQmx, Keithley configuration panel. 

When I try to set up this equipment by using NI-VISA driver wizard. It recognized usb port but cannot proceeding installment with error 1073807171

How can I solve this problem?


Omron Power Supplies

$
0
0

Has anyone worked with the Omron S8VK power supplies, I know that there are Omron drivers for some of their other products but I don't see any LabVIEW drivers for this model.

LabView application for Watlow RMC Temp Controller

$
0
0

Hello,

I'm trying to program the labview to control RMC Watlow ez-zone, through the USB/RS-485 adapter.

in its example (driver downloaded from https://www.watlow.com/products/controllers/software/labview-driver-software ) it can initialize controller, Read and write input parameters. My application have 4 zones, so the controller also have 4 inputs, I want to have a program to read at the same time the input parameters, How can I read 4 thermocouples values from the four analog inputs? Also if I want to change 4 temperature set point how I can do that.

 

I appreciate your comments or help you can provide me.

CR1 vs K1 decisions and details

$
0
0

I am american and my fiance is british. we are visiting for the first time this sept, for 6-7 weeks, after having known each other online for about 2 years. we have been doing research on this periodically for the last couple years and its so overwhelming its hard to keep it all straight. our plan was to visit this fall, and decide what we want to do from there, either marry next year for the K1, or marry during that visit for the CR1.

so a few questions: what kind of documentation or proof do we need to have organized and ready to prove its a genuine relationship and not a scam? i assume chat logs when possible, but what else? can i add him to my US bank account when he isnt a citizen?

what things are red flags that we need to be concerned about? we are different ethnicities and age groups and i read that can be an issue? (age 34 caucasian, age 20 indian/british)

being that this is our first meeting, can we marry at all if we decide we want to do the CR1, or is 1 or more meetings a prerequisite for the CR1 as well as the K1?

what can we expect to pay for hiring an immigration lawyer to help us with fees and filing to make sure everything is done correctly the first time?

Test & Measurement Setup

$
0
0

Hi everyone! 

 

I want to renew an old test/measurement setup involving the instruments listed below:

 

Tektronix TDS3032B - Oscilloscope

Keysight Technologies E4416A - Power Meter

Keysight Technologies E4445A - Spectrum Analyzer

Keysight Technologies  66000A - DC Power Module

 

The instruments are used for testing and taking measurements on a certain device and the tests are controlled using an old TestStand version on an even older PC using windows xp. The instruments are operated using GPIB interface.

 

I want to upgrade to a newer PC- and TestStand version. Thus, I'm looking for suggestions to what setup to use in regards to PC and a new GPIB-controller card.

 

Any ideas are appreciated! 

 

Regards,

Spole

 

gpibexplorer can not new device successfully

$
0
0

Environment: 

1. System:     3.10.0-862.el7.x86_64

2. NI488.2:     ni-488.2-gpibexplorer-18.0.0.49152-0+f0.x86_64

3. GPIB box:  GPIB-ENET/1000

 

Problems Description :

 

when I new device in gpibexplorer wizard, input the ip of GPIB box, and click configure

But there is no action happened always. When I click refresh ,also  can not find devices.

In fact ,the Ip can ping  successfully in linux.

 

What should I do to solve this problem?

 

 

 

 

 

 

Unknown Command Error using NI-VISA to communcate with a 3rd Party Hardware by Ethernet connection

$
0
0

Hello,

 

We are trying to control a 3rd Party Hardware using NI-VISA. The charge has a driver, however in our application we want to deploy a VI in a RT Target (in this case a PXI) and, following a NI suggestion, is better to use NI-VISA (see "IVI Driver for 3rd Party Hardware"  in [1]).

 

The charge is controlled by Ethernet Connection and we get to established a connection without problems following the tutorial presented in [2]. The problem starts when we try to test commands. When we open NI-VISA Test Panel (in NI MAX) we get to make a query unsing "*IDN?\n" command, but any order command gives "Error: Unknown Command" response.

 

After this error appears the first time even "*IDN?\n" stops working giving the same response "Error: Unknown Command" when we use query.

 

The same error happens when we try to control the 3rd party hardware direct using a VI in LabView and the "*IDN?\n" command does not work a single time when executed by this VI. A print of the VI mentioned in this paragraph is anexed.

 

[1] https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019PmbSAE&l=pt-BR

[2] http://www.ni.com/tutorial/3325/en/

NI Visa 4.6 security permissions greyed out.

$
0
0

I installed national instruments visa 4.6 to an Agilent E5061A running Windows 2000 professional.  In MAX I find VISA and the security tab, access only and Deny all access are NOT grayed out.  Access and remote configuration IS grayed out.  Do I have to tie NI-VISA to a license to get that greyed out field? 


Ni-488.2 Ethernet Wizard

$
0
0

Hey,

We're trying to do a hardware install for GPIB NI-488.2 using a GPIB to USB converter. The software was successfully installed, along with the GPIB Ethernet Wizard. Since the hardware install is being completed with a USB connection instead of an Ethernet connection, is the GPIB Ethernet Wizard necessary? If not, is there a protocol or another wizard on how to do a hardware install with a USB connection?

PCI-GPIB扫描仪器报错

$
0
0

使用Measurement & Automation 扫描PCI-GPIB 并与仪器通讯时出现如下报错。

如何解决??

 

11.png

Output delay caused by time constant of SR830 Lock-in Amplifier in A Real Time Resistance Measurement under Scanning Temperature

$
0
0

    I am establishing a system including SR830 to measure graphene electronic transport properties,especially under an ultralow temperature and ultrahigh Tesla. Both the temperature and the magnitic field need sweep. But for SR830, the output delay caused by time constant becomes a barrier to real time measurement, in which the output should following the change of resistance immediately.

    My question: I need a method to eliminate the error of output delay, or the accurate delay time of SR830. I have known that the delay time is about 5 times larger than time constant, but it is not precise.

    Following are two exampe labview VI of SR830 and SR560 that I could sharing with you. 

PCI-MXI-2 Universal

$
0
0

I would like to know if this part number 777185-01 is the PCI-MXI-2 Universal. Meaning, does it support 3.3V and 5V?

 

Thanks!

RS232 Communication with JEVAmet VCU (Vacuum Control Unit)

$
0
0

Hi All, 

 

We got in our lab a new pressure gauge JEVAmet VCU from JEVATEC company. This device allows cummincation through RS232 interface. I connected that device using RS232 cable to the PC and then, used a labview example (Continuous Serial Write and Read) to read the version number of the pressure gauge as a simple request, however, I always get the same error

Error -1073807339 occurred at VISA Read in Continuous Serial Write and Read.vi

Possible reason(s):

VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

(see the attached photo). You can find the manual of such a device to check for the string command here https://jevatec.de/index.php/en/downloads/send/26-jevamet-vcu-en/90-ba-vcu-08-2017-en. 

My attempts to solve the problem:

1- increase the timeout duration ------- failed (increasing the timeout did not solve the problem)

2- Changing the port instead of RS232 to convert it to USB using RS232 hub ---- failed

3- restart the device ---- failed

4- Changing the baud rate and check the new baud connection ------ failed

5- Check for the code display ----- failed 

 

What is the problem I am facing here?

Viewing all 5661 articles
Browse latest View live


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