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

Is it possible to delay GPIB response without causing a timeout?

$
0
0

I understand that a GPIB slave needs to respond within a certain time to avoid a timeout error from the master.

 

However, if I'm the slave, and the command the master has sent is going to take a very long time to to perform, what can I do on the GPIB to tell the master that I'm still processing and to not move on (and not timeout)?

 

According to the datasheet for the GPIB chip (NI NAT9914 / TI TMS9914A ) there is a GPIB hardware handshake line for 'Not Ready for Data', but how can I hold off the bus once I received the data?

 


Polling without checking with RQS bit in the SRQ byte

$
0
0

Hello

 

Our machine consists of many seperate hardware parts. One of them is what we call the 'handler'. The handler is connected to an outside hardware that helps in our production.

This connection can be achieved with several connections, one of which is GPIB.

 

In GPIB the connection is a Master-Slave type, with the outside hardware been the Master and the handler been the slave.

Only one handler can be connected to this outside hardware.

The procedure we follow is the following:

-Outside hardware is polling for the RQS bit.

-When handler is ready for production it raises the RQS bit.

-Once RQS bit is read it resets back to 0.

-A special query command (implemented by us) is send from the outside hardware to handler. The handler gives a meaningfull response to that command only when the RQS bit was/is up.

-The procedure follows to the production.

 

I made a simulator of that hardware. This simulator functions by following that procedure with no problems.

One of our customers does not want to follow this procedure and the way he polls the handler is by asking only for that special command. This command will give meaningfull information when the RQS bit is up so technically it works like that as well. He faced some critical erros because of some safety nets we had in our software program from that machine. We altered these safety nets and when we put it to test to see if our changes work we faced with the following problem.

After about  5 minutes of polling with that special command the habdler GPIB communication is stuck with the last command send is that the RQS bit is up.

My question is, will there be a HW problem from the GPIB if the RQS bit is up from the Slave and the Master doesnt read it, while sending and receing data from the Slave ?

 

Thank you in advance.

Kind Regards

 

Keithley 2612A - How to operate pulse sweep on both channels and get data?

$
0
0

I need some clues how to operate pulse sweep on both channels and get data from Keithley 2612A.

One channel sweep is explained in examples of the driver.

How to measure and read data from both channels? Please help.

Acquire data from multiple (different) instruments

$
0
0

Hello there, it's my first post in the NI forum so i'll try to be as brief as possible.

I have 5 or 6 instruments to acquire data and I'm done with using 192832764 different programs to read it all, so, I want to create a VI that incorporates all of them (only 2 of them now, just to try it out).

 

Question: Is it possible? Since they have their labviews drivers like Yokogawa WT210 and Fluke Hydra Series II.. (both connected through RS232.

 

Thanks and Best Regards,

 

Rennan.

 

Long measurements using Keithley 2450 SMU, USB Communication

$
0
0

Hello everyone,

I am during my long term measurements using keithley as a part of my system. I perform VdP measurments using my Keithley as a voltage source and current meter. My measuremnets took long time ( hundreds of hours ). One VdP loop took about 30 sec. I wrote LabView control driver by myself using simple SCPI code. 

 

The problem is that my communication with Keithley randomly fail. It is never the same time. When it stops I recive an error with VISA Read ( always the same ). On the other hand communication with SMU stops, and  I have to turn off the device. 

 Can anyone help me with it? My OS is Win 7 Pro and LV is 2017 and communication is via USB. 

Please find attached Keithley control program. 

 

The communication open before main loop ( in VdP program ) and only "Output" , "Measurement" and "Reset" is inside the loop. 

 

If this problem is trivial please excuse me for that, but for now I can not find any solution. 

10401, 10008 errors in Alcor JFTOT analyzer

$
0
0

Hello All,

I have a NI PCI-6024E card, working with the Alcor JFTOT device (Jet fuel thermal oxidation tester). When i try run main analyzing program, appears errors "10401 AI/AO group config", "10008 at DIO port write" and program dont work. Devices & interfaces list in MAX is empty. Screens attached

 

Can anyone help me, please?
I first time run with that issue and NI hardware.

 

Best regards,

Aleksey

Need help on USB-8452 Error -301743

$
0
0

When i execute the I2C write program, The error displayed "Error -301743 occurred at NI-845x I2C Write.vi:4470001" .How can i rectify it?

Speeding Up Keithley 2400 Plotting

$
0
0

Greetings,

 

I am using the Keithley 2400 SourceMeter to perform IV curve tracing in real time in LabVIEW 2011. Currently the VI I made creates an array of voltages from the range and step size given by the user and sends these one at a time to the 2400 then takes a reading, taking multiple readings and averaging them if the user so desires. The issue here is that all this sending and receiving is rather slow; I clocked a 210 point measurement in at taking 55 seconds.

 

I attempted to speed it up by using the 2400's built in sweep function but it doesn't seem possible to read from it while the sweep is being performed. This creates a IV curve quickly (about 1/4th the time) but not in real time. Is this simply a trade off that has to be made, or am I not seeing a better solution? Thanks! 

 

 


Choice of laptop

$
0
0

Hello all,

I am looking for a laptop to perform data acquisition activities. I found out that processor speed mostly defines the speed of execution of code. So I looked for some laptops, and now I am facing a choice: Is an i7 processor with 16 GB  worth the difference in price above an i5 with 8 GB ? 

I will use standard NI hardware and software. 

And does is matter if I use a 64 bit laptop? I read that some labVIEW toolkits are not compatible with 64 bit. 

Kind regards,

San

Converting a Text Symbol String to a Hex string

$
0
0

Hello, 

 

I have a string constant which reads a character of 0 and I want to convert this to a hexadecimal string of 30.


I tried to achieve that by using the "Format Value" function. I believe the conversion needs to see the string as a text symbol rather than a number but I couldn't find this conversion option available in the String functions library.

 

ASCII_Conversion_Table.PNG

I only need to achieve this for one string value at a time. I was hoping that it would be achievable with the use of a function rather than using a LUT. 

 

Would appreciate any feedback you may have. 

 

Many Thanks

Sudden 0xBFFF003A VISA error

$
0
0

Hello,

 

Im using a Chroma Power supply 62000P via USB cable (USB A to USB B), I have installed Keythey IO Suite 18.0 and NI MAX 17.0, NI VISA 15.0 and Labview 2012, I created a program to control the power supply and perform a sequence, all was working good for about 2 months, now I cannot connect, I get the error: VISA:  (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).

 

When using the VISA Test Panel and sending a ID command i get the same error.

 

Capture.PNG

 

I have tried restarting Computer, plugging the instrument again and reinstalling Keysight IO Suite, any ideas?


Thank you

 

 

NI VISA LINUX RHEL 7.2 installation conflicts with CVI Linux Run Time Module

$
0
0

I had installed the LABWINDOWS/CVI 2013 RUN TIME MODULE for LINUX on a RHEL 7.2 Linux system and then attempted to install NI-VISA 17.0 for Linux on the same machine and got many conflicts (see attached image).

Everything seem to make sense as far as the prompts went but perhaps I did something incorrectly during the install, two NI Products both for Linux should NOT have this many conflicts.

 

Generation of arbytrary wave to generate it by DAQ 6008.

$
0
0

Hello,

I want to create an arbytrary wave without the subVI  (Simulate arbytrary signal). I would like to create 2 arrays, one with the value of the time, and the other for the values, like the subVi does but without the need of load the file with the points. I would like insert the arrays in the front panel. Someone knows How I could do?

 

PXIe Chassis-1075 (NI-MAX configurations have been changed without any known reason)

$
0
0

Dear all, 

I am working on NI-measurement system. it is included two chassis, one for receivers (VSA) and the other one for generators (VSG). I am using PCI  cable to connect the two chassis. Everything was working fine and there was no error. suddenly I am getting the error  attached in the picture 1. while I am trying to find out the problem I found that  the configuration of the NI-MAX has been changed in a very weird way and you can see that in the attached picture 2. there was two chassis as seen in pic 1 and all the connected device are green while as you see in picture 3 almost the connected device are grayed. knowing that there is no any sign for faulty device.

 

Is there any of could help me with this, I will be really appreciated.  

Thank you very much 

Labview LIFA Control a BLDC Ctrl via I2C

$
0
0

Hi,

as a part of my bachelor thesis is to communicate via I2C with a brushless DC Control, my professor told me to use Labview and the LIFA package to communicate with it. After I programmed some examples I started to programm the control. For me is the first question why I get everytime a 5003 error, after I end the programm via the button which I implemented in the programm to end the loop. The next problem is the main one. Because I want to control the speed and the Arduino has to send a signal when I change the value. I tried to watch for a signal on the Analogue A4 and A5 Pin but i see only an offset of 5V. I am a little bit confused what is the next step or where is my mistake. The TX and RX LED is flickering, so I think the Arduino Board does something. After I could control the BLDC Ctrl, the Control sould send me some information about it`s status. 

Here is the protocol for detailed infortmation:

http://wiki.mikrokopter.de/BlCtrlProtocol

 

I really hope you could help me...

 

Greeting Dynamite


Identificacion de puerto con un picomotor driver

$
0
0

Que tal

Quiero utilizar y controlar pico motores, mediante Model 8753 iPico driver. Utilizo el ejemplo (Application.vi)

sin embargo, el programa marca un error 7001 indicando que no hay módulos en el puerto COM3, siendo que todo esta referenciado a ese puerto: Administrador de dispositivos, MAX y el programa Application.vi.

El Max lo identifica y valida correctamente.

Anexo copia de la configuración.

Porqué sale ese error?. Porque el programa no indentifica correctamente el puerto?

Me pueden orientar como solucionar este problema?

 

Gracias

HMG

Isolated analog inputs/outputs

$
0
0

Hello,

Anybody knows if there are available an USB DAQ with isolated analog inputs/outputs? I need it because I have to contol an power suply GEN 10-1000,  by the DB25 connector, which connector isn't isolated.

Thanks!

RTSI cable

$
0
0

Hello Everybody,

 

could any of you tell me what is the impact of adding RTSI configuration to the NI MAX configuration in case I already sharing trigger between the devices in the one chassis as shown in the attached picture .

I got problem in the NI-MAX configuration and one of the suggestion is to add that. my concern if there will be any conflict between the two method.   

 

 

Thank you very much

best regards

NF5600 A and NF5610B lock-in amplifiers

$
0
0

hi, I was wondering if someone can give me labview drivers for the NF5600 and NF5610 lock-in amplifiers?

The NF company was very helpful in saying that they don't have labview drivers for the said lock-in amplifiers.

 

Thank you so much

can we configure USB raw device from executable which is built-in LabVIEW instead of using NI VISA driver wizard

$
0
0

As of my understanding, USB raw device can be configured using NI VISA driver wizard.

 

http://www.ni.com/tutorial/4478/en/

 

Above link mentions how to create using NI-VISA driver wizard.

 

But I need to configure through an executable or a stand alone created from LabVIEW. 

 

 

Thanks........

 

 

Viewing all 5676 articles
Browse latest View live


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