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

34925A MUX bank switching avoidance during 60 channel scan

$
0
0

Hi,

 

I am using the Agilent 34925A MUX module within the 34980A mainframe to scan for DC Voltages.  I want to scan 60 channel at the same time. When i do it, It produces a relay switching, which is due to (i think) switching in 34925A from bank 1 to bank 2.

 

 

I want to avoid that relay switching for two reseasons, first, it is very annoying and other is, it will degrade relay and consiquently module earlier.

 

My question is, Is there any way to scan 60 channels by using 34925A without relay switching?

 

 

Any help will be appreciated!


beginners question - Connecting a PXIe 8100 RT and reading values from a PXI-4065

$
0
0

guys i really hope you can help me here and please have mercy im really new to the whole technical stuff but i got a pxie 8100 RT module with 2 pxi 4065 modules in a pxie 1071 standing on my desk and now im supposed to get the voltage and current values into my vi's. so i connected it via ethernet to my pc and hooked up a powersupply at 12V. 

 

now. when i open ni max it recognizes the hardware as "NI-PXIe8100-2F15DF47" but under devices the two 4065s message an error with the driverversions not being the same. how can i make sure the drivers are right and further down the road how do i get those values into a labview vi?

 

to anyone helping a big thanks its greatly appreciated as im kinda desperate and clueless. 

34925A single bank operation

$
0
0

34925A module consists of two individual banks of 40 channels (one wire mode) each. I intend to use the module as a single bank of 80 channels (one wire mode). The module's user manual provides these directions:

1. Connect through analog bus relays.

OR

2. Use external wiring.

I wish to know if someone has knowledge regarding how to achieve any of the above mentioned techniques so as to use module as single bank of 80 channels (one wire mode).

Thanks

GPIB-120B load on bus when switched off

$
0
0

I have connected 3 instruments on my GPIB net which works fine but sometimes we have to switch off one of the oldest equipment which in turn brings the entire bus down. My solution to this is ro have a GPIB-120B bus expander in between the instrument in question and the rest. My question is what load would the GPIB-120B impose on the bus when I turn the power off on the expander. My idea here is to disconnect the mains of both the troublesome instrument and the expander at the same time and then hopefully the GPIB would not collapse.

 

Has anyone insight into this?

 

 

 

GPIB controller ---- instrument 1 ---- instrument 2---- GPIB-120b---instrument in question

                                                                                            A                          A

mains switch------------------------------------------------------------------------------------

vi to run for visa program certain amount of time

$
0
0

Hi,

 

I'm using a LabView VISA program to control some stepper motor controlers. I can get the stepper motors to move using the attached program, but all i can do is get them to move whilst the mouse button is pressed down.

How do i get the program to run for a certain number of seconds, i.e. for the stepper motor runs for a certain number of seconds in the X Y or Z direction?

 

Thanks very much for any help. I am a newbie to LabView, having learnt it a while back and now coming back to it having forgotten most of it. So this is prob quite a basic Q!

 

Cheers,

Charlie

IVI.C.NET.Adapter

$
0
0

Hi All,

I have developed a library to support transparently call Ivi-C driver from .NET application. You don't need interact with Ivi-C DLL anymore in you .NET application, it's all take care by IVI.C.NET.Adapter. I hope you guys can try it out and feedback if any issue.

Project Site: IVI.C.NET.Adapter

 

Thanks

Tom

GPIB using C++

$
0
0

Hello,

 

I want to communicate with an old optical spectrum analyzer HP71450 using C++ in order to learn and make it work faster.

 

I have a LabView interface for it and I controll it using USB-GPIB cable.

 

I read some sample program I found on the internet and I understand I need ni4882.h , and maybe other header files that replace "decl-32.h".

 

could someone help me started with this project?

 

first, I'm using windows7 on 64 bit computer - is the above file still suitable? if so, where can I found it? it not in any directory under document\national instrument.

 

can someone direct me to simple read-write file using GPIB?

 

thanks

visa exclusive lock hislip

$
0
0

Hi,

 

I try to use VI_EXCLUSIVE _LOCK for accessing HiSlip device over TCPIP (R&S CMW500)

 

What I did is to test the application locally ( 2 instances of same application running on same PC): it works as expected (both for SOCKET and for HiSlip)

 

Then I moved to use HiSlip, because SOCKET is not supposed to work for LOCK on different machines

 

When I tested real application ( 2 application running on different machines) I got following result:

- at the beginning it look as it is working: lock works and second machine is waiting for access granted

- after timeout of about 10s (very similar to default timeout for communication) the viOpen(..VI_EXCLUSIVE_LOCK,60000) returns with an error ( resource locked). Why 10000ms and not the 60000ms expected?

-after some loops of testing, the resource appears locked EXCLUSIVE, and I can not access from neither first or second machine

-closing the application or rebooting machines does not help: only found solution is to reboot device

 

I'm using NI-VISA 14.0 and NI-488.2 14.0.0 from a C++ application.


homing motors

$
0
0

I am using two linear actuators, one in the x axis, the other in the y axis. I am using labview to program their movement. Previously labview would automaticaly send them to the home posititon which was with each motor all the way extended and this didn't take any extra code, it just happened before they were controlled with my code. My code would then move them back in at certaint distances. Somehow the homeing has switche so now the home postion is with the motors all the way in, and it reads a negative number when they are moved out from the new zero point. This is a problem because then my code can't move the motors in, they are already all the way in. I don't know what happened to cause this change, could use some help.

デバイスIDの振り分けについて

$
0
0

NI USB-9234 2台をUSBハブに入力して、USBハブからPCに出力するデバイス構成で、かつ、PCではじめてUSB-9234を認識する場合のデバイスID(DEV1、DEV2)の割り振り方についてご教示ください。

デバイスIDはどのような順序、あるいはルールで割り振られるのでしょうか。

NI MAXで確認するとシリアル番号の若い方から順番にDEV1、DEV2と割り振られるように見受けました。

 

他の方の質問で、「NIの製品は接続の順番でインタフェースIDや指定名称(Dev1やDev2など)が決まるみたいです。」との回答を見つけましたが、同時に接続されたデバイスの認識順序についてを知りたく、ご教示のほど宜しくお願いします。

 

INES GPIB USB

$
0
0

Hello, 

 

 My name is Ricardo and I´m trying to connect a legacy HP 3852 with a GPIB to USB cable (INES branded), The drivers are recognized by W8 in the device manager and I can connect to the HP 3852 through my HPBASIC connection. However, when I start NI MAX to connect through Labview, NI MAX doesn´t recognize anything. I have tried to use VISA, but I don´t know the address of the equipment and the VISA can´t find it. I have tried to follow the manual of the INES GPIB-USB and I have copied its drivers to c:\Windows\System32 but they are not recognized nor used by Labview. ¿What can I do to connect to the HP3852 through this cable? Thanks in advance for your help.

 

Regards, Ricardo.

VB.Net with N5745A etc and 8648B using National GPIB-USB-HS

$
0
0

I need to write a VB.NET program using several 'modern' Agilent instruments and also an old 8648B sig gen. The new instruments - with a mixture of USB and GPIB interfaces are working fine using the IVIAgilent type libraries. The old sig gen, with GPIB interface. has no library. How should I proceed?

All instruments can be accessed using Agilent Connection Expert and NI MAX.  I'm using Windows7.

 

 

NI-MAX task importing out of order

$
0
0

Hello All,

 

In NI-Max, I have a organized ini file with all my tasks in order.

When I import the file into NI-Max, my task names are appearing randomized.

 

This is making it very difficult to find my tasks when they are all jumbled around. I cannot seem to find a way to simply sort them.

 

Is there any way to properly sort or order the tasks in NI-Max so I can find my tasks quickly?

First glance says no.

 

Thank you in advance.

How many NI USB 232/4 modules can be connected to the PC?

$
0
0

I have multiple sensors that communicate via RS232. I found a 4 port to USB.

 

Since I have more sensors. Can I connect a few more NI USB-232-4 to other USB ports?

Lambda Genesys configuration

$
0
0

We are seeing the below error when configuring the supply multiple times in a row.  Our test sends a series of 20 configs.  During the test we receive the error below.  If we manually run config one after another we fail after about 8 times.  

UUT Result:                   Error, 'Lambda Genesys (Ser).lvlib:Write to Instrument.vi OUT ONError sending command to Genesys addr 06:   Complete call chain:      Lambda Genesys (Ser).lvlib:Write to Instrument.vi      Lambda Genesys (Ser).lvlib:Configure Output.vi      DCPWR.vi      Tx RF Output.vi      Tx RF Output.vi.ProxyCaller' at step 'TX Output' in seq 'ProcessModelPostStepRuntimeError' [Error Code: -1074001404, User-defined error code.]

 

 

Thank You for your feedback

Shaker


VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.

$
0
0

Hi

 

Iam using NI PXIe 8135 RT controller.This error has been popping up everytime.

 

Property Node (arg 1) in VISA Configure Serial Port (Instr).vi

Error -1073807246

Possible reason(s):

VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.

 

We made a new real time project and ran a sample program of basic serial write and read. The visa configure serial port function is outputting this error in error out indicator.  We are sure other services(putty, hyperterminal, com port toolkit) are not accessing the controller comport.We are stuck at this error for quite few days.

 

Regards

 

EKANTH

Serial Communications with Vaisala HMP113

$
0
0

I am having troubles communicating with this device thorough Labview 2013.  In my program I use the Visa Configure serial port and use the default settings on all of the inputs except the baud rate which has to be set at 19200. Next I have the write.vi with the command "send" which tells the insrument to "output readings once".  After this I have the read.vi with 100 bytes to be read in.  When I run this the following error occurs at the read.vi

 

Error -1073807339 occurred at VISA Read in Untitled 1

Possible reason(s):

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

 

Now I have tried this in a terminal emulator colled Terra Term

As soon as I hit enter after typeing in the command send it returns the data.  So is the issue that the data returns before labview has a chance to read it and therefore there is nothing in the read buffer.  If so how do I get around this?  If not then what is the issue?

Tektronix11801c

$
0
0

How can I coonect my digital sampling Oscilloscope, Tektronix 11801c, to the computer. Is there any Labview driver for this model?

RF Scientific GPIB Data Logger v 1.0 (for Prologix)

$
0
0

We'd like to share with You a piece of software. It is a Windows application which allows to acquire data from up to 10 instruments equipped with GPIB bus. The software supports Prologix 6 GPIB-USB converter which is a cost-effective solution. The time between measurements can be set between 1s and 1h. It was created for long-time data logging: checking stability of systems and components. In the future we plan to develop compatibility with NI GPIB-USB converter.

Here You can download the software and manual: http://rfscientific.eu/rf-scientific-gpib-logger-v10

Connecting NI PCIe to Beckman-Coulter System Gold HPLC

$
0
0

Hi, all,

 

I inherited a never before used Beckman-Coulter System Gold HPLC and the computer containing the NI PCIe card. Although I do have all of the original packaging and parts to get the HPLC up and running, I seem to be missing an adapter to connect the NI PCIe-GPIB board to the serial System Gold input on the Beckman-Coulter solvent module. Any advice on where to find what I need?

 

Thanks much!

Viewing all 5670 articles
Browse latest View live


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