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

PCI-GPIB not showing in MAX or correctly in Device Manager.

$
0
0

I am having an issue with the PCI-GBIP working correctly for our setup. I have removed NI 488.2, and all associated software from the computer and have done new installs of NI 488.2 v1.7 and GPIB software.

 

Configuration for the software allows me to choose the board type, and configure the board.

 

When I test the board using diagnostics, I get the board as passed.

 

When I open device manager, it sees the board as PCI Simple Communications Controller. MAX Does not read the card at all.

 

I am using this to control an ICP-OES using WinLab32, and can get a connection, but am getting a Status Command Failed when attempting to light the plasma. There is communication, but I don't believe that it is all there.

 

I have tried reinstalling multiple times, but to no avail. There is no NI-VISA on the computer, but I didn't uninstall this either. I attempted to install NI-VISA 4.2 and it stopped communicating entirely.

 

Any help is greatly appreciated as I am stumped.


Cambio de variables

$
0
0

Hola!

 

Tengo un problema con un programa que estoy implementando. La situación es la siguiente: necesito hacer un cambio de variables para "engañar" a un equipo, la idea básica es la así:

 

X variable original número 1

Y variable original número 2

 

A variable nueva número 1

variable nueva número 2

 

X ---> A   

Y ---> B     

 

La flecha indica en lo que debe convertirse, traté de hacerlo con variables locales pero no ha sido posible ya que se necesitan indicadores o controles, 

y para las variables nuevas no necesito eso, existe una forma alterna para hacer esta operación?

 

Saludos cordiales,

command prompt mode com

$
0
0

Why am I unable to set the serial com port settings (baud etc) via the command prompt when using a NI USB RS232 serial device?

The command prompt accepts the settings but does not change them.

I am using Windows 7 32 bit.

 

VISA Write Carriage Return/Line Feed HP8566

$
0
0

I am writing a program using the HP8566 spectrum analyzer.  During long sweeps, I need to have the bus back for a parallel program that is running.  I cannot get the HP8566 to relinquish the bus during the sweep.  From the programming manual, if you suppress the carriage return or line feed command at the end of a "Take Sweep"  (TS) command, the HP8566 will return the bus.  I have not been able to do that.  (I have made sure that the VISA Write is in asynchronous mode as well.)  Does a VISA Write automatically add this termination?

 

From the HP8566 manual:

 

"In normal programming practice, a semicolon terminates each command statement. By using the semicolon as a
terminator, an automatic carriage-return/line-feed is performed by the controller. However, the controller can
perform computations or address other instruments while the analyzer is executing TS, if the carriage-return/linefeed
is suppressed."

 

Any help would be appreciated.

 

Regards, Cris

GPIB-USB-HS Intermittent

$
0
0

Hello 

 

I have two GPIB-USB-HS which I have plugged in (one at a time) to a Windows 7 (64 bit) computer with NI-488.8 drivers installed. However, on this particular computer, these devices (both of them) very quickly stopped working and started alternating between showing the yellow ready light and the green active light very quickly and alternately appearing and disappearing in the Device Manger.  Initially, only one of the controllers was doing this, so I swapped to the second GPIB-USB-HS, and it started doing the same thing (after showing a solid "ready" light for 5 minutes, right when I started trying to use it for control). 

 

I took the two controllers and plugged them into a different computer and they both display the same intermittent behavior, with the vanishing and appearing in the device manager and the alternating ready and active lights. 

 

I have tried the following and it has not solved the problem: 

1. Uninstalling and reinstalling the NI-488.8 drivers

2. Rebooting the computer

3. Using a different USB port (tried them all)

4. Setting the USB port power settings to disable automatic shutoff of the USB port to save power. All USB ports are 500mA ports. 

 

Any ideas? I'm really stuck on this one. 

 

Thank you for your assistance. 

 

Add software to Single Board Rio on NI MAX

$
0
0

Hello,

I am trying to instal the required software to Sb rio 9606 using ni MAX. 
However this message is being prompted:

Untitled3.png

 

I would be grateful if you guys can be of any help.

Thank you

Regards,
Keshav

nat9914 Controller, how can I change to talker/lisner

$
0
0

hi 

I hope you understand I speak english little bit.

 

i have probrom. 

I have developed NAT9914 Controller.

 

I will initialize Controller mode and change talker/listener.

 

initialize code...

 

outp(R7210_AUXMR, C7210_SW9914); // Make sure GPIB chip is in 9914 mode.

outp(R_AUXCR, C_CH_RST); // Reset the NAT9914. Logically remove device from the GPIB.
outp(R_ACCR, F_ICR | F_16MHZ); // set clock speed

outp(R_AUXCR, C_CLRPI)
outp(R_AUXCR, C_VSTDL);
outp(R_IMR0, B_BO_IE | B_BI_IE); // Byte In Interrupt Enable bit and Byte In Interrupt Enable bit
outp(R_IMR1, B_DCAS_IE | B_GET_IE); // Device Clear Active State Interrupt Enable bit and Group Execute Trigger Interrupt Enable bit
outp(R_AUXCR, C_PIIMR2);
outp( R_IMR2, B_CIC );
outp(R_AUXCR, C_CLRPI)

outp(R_AUXCR, C_PIACCR); // Page-In Accessory Register
outp(R_ACCR, F_ACCRB | B_LWC | B_ATCT );
outp(R_AUXCR, C_CLRPI)outp(R_ADR, gpib_addr); // set the GPIB address of the device

outp(R_AUXCR, C_NSWRST); // Clear Software Reset

.

.

.

.

.

and change talker/listener

 

outp(R_AUXCR, C_SIC);

outp(R_CDOR, UNL);

outp(R_CDOR, MAT1);

 

but  don't change talker register TA/listener register LA.

 

What is wrong?

Do I  implement a handshake function?

 

if write command/data to CDOR,
data sent automatically by the handshaking?

 

i refer to the NAT9914 Reference Manual Chapter 6.

 

please help..

 

age441x.llb (Agilent 4416B power meter) instrument driver

$
0
0

I am looking for the *.exe file that contains the .llb version of the Agilent/Keysight 441x power meter instrument driver.

 

The ones available on the Instrument Driver Network is the project-style.

 

I have the driver itself, but for archival purposes I am hoping to locate the orignal .exe file if possible.


Analogue signal 0-5V programmable with Labview

$
0
0

Hello,

 

I am looking for a NI product that can provide 0V to 5V analogue signal under the control of Labview. Can anyone recommend the product NI I am looking for please? 

session handle lost

$
0
0

HI

I have a system developed in LabVIEW that controls at the same time different equipments: DMM, Fgen, Scope, PowerSupply and a Switch Matrix. The complete system works without problem, but sometimes, and I don't not why some instruments lost the session. For exaple, the last error was:

Error Code: -1074130544

Error Source: IviDmm Ivi Error Converter.vi

The session handle is not valid

 

The only one way to go over the error is closing the LabView and restart the system.... 

Why does this error happen?

How can I solve it withour stopping and restarting the whole system?

thanks

Thermotron 7800 controller using USB/Serial connection

$
0
0

Hi this topic has been covered on here before a few years ago and i am a labview beginner and looking for a helping hand in the right direction

 

I am trying to control a Thermotron 7800 controller using a USB/Serial interface cable with a Labview program.

 

To try establish if i am connecting to the controller i am using in measurement and automation explorer and  devices and interfaces it recognises the USB/Serial connection as ASRL46:INSTR "COM46"

 

All the setting's match with the controllers setting but when i go to read or write in the I/O section, it just returns errors.

 

I have been told to cross pins 2 & 3 on the serial interface.

 

Has anyone worked on a similar project as this?

 

Also I have downloaded the relevant drivers from Thermotron.

 

Is there a list of what the commands are on the I/O section on the test panel?

 

 

Oscilloscope Connection

$
0
0

Hi,

 

I want to connect The Oscilloscpe to my laptop via USB-USB cable, But when I click on "Scan for instrument" the computer doesn't recognize it. I see "No connected instrument detected" while the osciloscope is ON and works. I surfed the internet, It's written the connection is GPIB but I can't see the port which is matched with GPIB cables which we already have.

I have attached the picture of the ports of oscilloscope.

the oscilloscope model" 

LeCroy WaveSurfer 432

Does anyone know what's the reason?

 

Thanks

Petar

Error 1 occurred at Scan From String (arg 1)

$
0
0

Hey,

 

I'm working on a project where I'm using LabVIEW. 

 

The objective is to send numbers to LabVIEW via Bluetooth. In LabVIEW, these numbers should create a graph but are not doing so. The error is:

 

Error 1 occured at Scan From String (arg 1)

 

Possible reason(s): 

LabVIEW: An input parameter is invalid. For example, if the input is a path, the path might contain a character not allowed by the OS such as ? or @.

 

Attached is my project , the error 's printscreen and a file from RCOM Serial where it can see the numbers that I want.

GPIB Driver Translator

$
0
0

Hello All,

   My problem is that I've been given a piece of compiled LabVIEW software that talks to a few different instruments.  Although we have all of the instruments, one of them is from a different manufacturer and is controlled differently than what the code is written for.  I would like to create a LabVIEW program that acts as the instrument the software is looking for and just translate the GPIB calls to a form that my instrument can recognize.  Does anyone have example code or an idea where to start?  I guess my main problem is finding a way for a LabVIEW program to register over GPIB as an instrument with an address since I'm use to just calling them.

 

Thank you.

lecroy 432

$
0
0

Hi,

 

I want to connect the scope "Lecroy wavesurfer 432" to the Labview. I have connected with Ethernet cable, in NI MAX, under "Devices and interfaces", what I see is "ASRL3::INSTR"COM3". but in Labview "NI instrument Driver finder" I can't see anything under the "connected devices".

Should I change the interface type in the scope?which part of scope exactely?

 

Please advise me, And I'm new in labview, so please include the details. :smileyhappy:

 

Thanks

Petar


Guardar datos en un solo archivo en una FLAT SEQUENCE STRUCTURE

$
0
0

Hola!

 

Hice un programa que controla una fuente CRYOGENIC SMS (VI - adjunto), tengo un problema y es que no se como se puede hacer para grabar los datos en un ÚNICO archivo, en este momento está grabando en dos. Cabe resaltar que lo que quiero grabar son los dos segmentos de datos en los que está la rutina grabando. Si alguno me puede dar una mano les quedo agradecido.

 

Saludos,

Read data from serial port mean

$
0
0

Hi

How to calculate MEAN? I received every 0.4s data from Arduino-->USB-->Visa rs232 .

 

Thanks

usb to serial communication problem

$
0
0

Hello. 

I am trying to communicate with a mesytec mscf-16 module through usb ( usb to serial converter chip from fdti ) . Using hyper terminal i can connect and send commands to the module but from labview i can't use the commands . it is like the module sens back the same string i write. 

Is there any incompatibility between the fdti vcp driver and visa? 

PCI-GPIB card cannot find instruments in Windows 7

$
0
0

hello, i am new to use Labview to control lab equipments. would be very appreciated any help in advance. Here is my case.

 

We have two NI PCI-GPIB card in lab. They are working well in old PCs with Windows XP. I installed them to new PC with Windows 7 enterprize edition. Labview version is 2014. The NI-488.2 14.0 and Ni-VISA 14.0.1 is also installed. 

 

when running NI MAX, i could see PCI-GPIB card, so far everthing is fine, no error code. But when i click scan for instruments. there is no result, also no error code message. I borrowed a GPIB-USB-HS controller from another lab. It woks well with the same GPIB cable and equipment. i could see the equipment and communicate. i tried both our PCI-GPIB card and got the same result.

 

Does someone happen to see the similar problem?

 

Thank you.

 

Yutong

VISA: Access to the resource or remote machine is denied.

$
0
0

Hello. 

 

I am using a cRIO-9076 to communicate with a Keithley 2400 through the RS-232 port on the cRIO. I have a test vi that is built using the Keithley 2400 drivers and it works perfectly fine with the vi is located under "My Computer" in my project. If I move that vi onto the Remote NI-cRIO9076 potion of the project and try to run the vi I get a

 

VISA: (Hex 0xBFFF00A8 Accesstotheresourceorremotemachineisdenied............

 

I've seen that I need to add something to the Remote Access List on the cRIO which I find a little confusing. I want to use the serial port on the cRIO through VISA to communicate to the Keithley, so I need to give the cRIO permission on the cRIO?? I'm obviously confused. 

 

I've tried adding a simple * (wildcard) to the access list as a temporary solution but I will still get the same error. 

 

I would appreciate some guidance.

 

Thank you

Roth

 

cRIO 9076

Lab View 2013

Keithley 2400

NI-VISA 5.4.0

 

 

Viewing all 5741 articles
Browse latest View live


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