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

Problems with the DC Power supply QL 355TP: I can't set the voltage level

$
0
0

Hi,

I'm trying to control a DC power supply through GPIB. The power supply used is the QL355TP from the Thurlby Thandar Instruments (TTi) company. There aren't drivers from NI to control this instruments, then I have need to download and install the driver from the TTi website: the package that I have installed is the following:  

 

 

"QL-P series Power Supplies, (including QL Series II) National Instruments driver (Labview and CVI)"

 

and I also have installed the following:

 

"QL-P series Power Supplies (including QL Series II), IVI driver "

 

So, my problem is that when I'm trying to use the example application of the driver "Ouput DC Volts.vi"; that sets a specific level voltage, doesn't work properly. The application doesn't give any error but it doesn't set the specific level voltage. However, other functions are working correctly like the measurement or the output enable. I have tried many things but I don't know why it doesn't work. 

 

I have attached the block diagram of the application and the front panel:

 

front_panel.JPG

 

block_diagram.JPG

 

I have to say that I just beginning to control instruments using Labview and is possible that this problem would be because I haven't taken account mandatory and elemental things.

 

Any help is appreciated.

 

Thank you.


Keithley 224 Current Source, 199 DMM Control

$
0
0

Hi everyone,

 

I can't control some hardwares. Actually, i changed my computer and again install labview, gpib driver etc but i can't control some devices.

 

Labview connect to Keithley 224 but it can't operate the device.

* Connected to: GPIB0::17::INSTR
-> *IDN?
<- NDCI+0.0000E+0,V+3.0000E+0,W+5.0000E-2«x0D»

 

I found some topic related my problem but i can't solve that problem. 

i solved this problem in past but i don't remember how i can that. 

 

About my system;

 

* NI Labview 2013 64 bit

*Agilent GPIB 82357A USB to GPIB

*Keithley 224 Programmable Current Source

*Keithley 199 System DMM/Scanner 

*Keithley 196 System DMM

*Keithley 2401 Sourcemeter (i can control this device)

*SR530 Lock-in Amplifier Stanford Research System

etc

 

i attached below some screenshot and my vi's

 

 

How to operate a fiber optic switch with seria port?

$
0
0

I have a fiber optic switch ( 3 input channels and 1 output and serial port interface), how i can i operate it in labview? 

Where are the guidelines for how to interface customized data acquisition equipment to LabVIEW?

$
0
0

I have a need to do some very specialized data acquisition that may require building special hardware. I would still like to use LabVIEW as the front end and perhaps even carry portions of the interface over into the final product. However, I cannot find the documentation. Where is that kept? I have seen references to a number of generic protocols, without any links back to the details, that may be suitable. The data is high bandwidth, but bursty with sampling rates up to 40 MHz and events that last about 100 milliseconds. Can anyone recommend which of the various methods would best suit this application?

Remote laboratories

$
0
0

Instead of Team Viewer why LabVIEW is used for remote Laboratories?

Timeout expired before operation completed. VISA error code -1073807339 (0xBFFF0015)

$
0
0

Hello,

I am a new user. Actually, I want to control pulse generator (Quantum Composers 9000 series) with LabView. i have already downloaded its driver online and now facing this time out error 1073807339. The virtual USB COM port is visible in the MAX as well as device manager. At the moment, i could perform VISA WRITE command which tells the return count of the data entered. I am using simple VI fo initialzing it, configuring the channels and then closing the VI all using the available VI's for Quantum Composers.

Could there be some issues with the USB port drivers as well?

How to solve this problem and to start toubleshooing?

Kindly have a look at the attached images.

Thanks!

 

no visa resource found - cRIO

$
0
0

Hello,

 

I have a cRIO chassis with 3 NI-9862, 1 NI-9205 and 4 NI-9401. But in MAX, there is a warning saying that 'No VISA resources found'. And the CAN, analog and digitla IO cards are missing. 

 

Does anyone know how to resolve this issue?

 

Thanks.

Capture.PNG

Dell PC XE2 freezes when using GPIB drivers

$
0
0

I started using new Dell PC 'Optiplex XE2' (using Windows 7 64 Bit) with GPIB 488.2 devices and GPIB drivers V3.1.2. It communicates OK for a few hours and then the PC freezes. Reproducible every time after a reboot. Tried the latest GPIB drivers (V14.0), no improvement.

 

The PC has worked OK for many months, when I didn't use the GPIB device.

 

Same hardware (PCI GPIB card) and driver version work ok on other Dell PCs (e.g. Optiplex 9010).

 

Any know issues? Workarounds?

 

Thanks in advance

 

Ajit


Bluetooth Low Energy

$
0
0

Hi,
I've been trying to establish a connection between LabView and an RFduino via BLE (Bluetooth Low Energy).  I'm using the VI attached to discover any nerbay Bluetooth devices. The VI can discover my phone and other laptops but not the RFduino.  I'm using a dongle as my laptop doesn't have native Bluetooth 4.0 capability. The dongle allows me to sucesfuly pair my laptop to the RFduino , so I'm wondering if there is a different way to detect BLE ? Or does LabView lack this capability? Any suggetsions on how I may be able to circumvent this?NOTE: I'm running  Windwos 8 and using LabView 2014.

Many thanks.

E4980A GPIB Timeout when taknig multiple measurements

$
0
0

My recent project is to add support for the E4980A LCR Meter to an existing C++ program.  This program has traditionally used the 4263B.  I have added the additional code to support the new meter but I am having some problems.  

 

1.  The measurement times do not seem to match the manual.  For instance, the manual states (on page 439-440) that the measurement time for a 100Hz measurement in Medium mode should be around 180ms when no DC Bias is used.  But I measure this to be around 230 ms and sometimes more than this.  I have verified that all the conditions on page 439 have been met corectly when setting up the meter.  I am using the NI Spy/Trace to verify the times.  There is no significant portions of code that should add any extra time to between the reading of one measurement and the triggering of the next.  I see a similar timing offset as I increase the measurement frequency.  Testing at 100kHz in Medium mode should be around 89ms, but I measure it to be closer to 131ms.

 

This leads to my next question.  

 

2. When i run multiple readings back to back continuously, the meter doesn't appear to be able to keep up over the long term.  The occassional error always comes when the program is ready to send another trigger.  The meter must not be ready to accept it (maybe it is busy handling another task?) and times out.  I have added some code to try to mitigate this problem by checking the measurement status using ":smileyfrustrated:TAT:smileysurprised:PER:COND?" to verify that the previous measurement is complete before trying to send a new trigger.  Now instead of the timeout happeneing when the program tries to trigger, it happens when requesting the status of the operation status event register.

 

My guess is that these two issues are linked in some way.

Any ideas on these problems?

 

Thanks.

 

 

Xantrex XHR 7.5 - 80A

$
0
0

 

Hi Guys and Gals,

 

This is likely the wrong forum for my post, I am very stuck with a faulty power supply and hope you fiogive me for posting in the wrong place.

 

I am trying to find a schematic or service manual for a Xantrex XHR 7.5 - 80A power supply and having no luck with sorensen or xantrex websites.

 

1: Does anyone know a specific forum for such power supplies.

2: Anyone got a service manual or schematics for the units.

 

Attached is an image of a similar unit.

 

Best Regards

 

Andy

 

 

 

 

 

 

NI USB-8451 no visa alias

$
0
0

I am unable to view or change the visa alias, as you can see from the attachments the visa reference seems incorrect, but when I put it on another system I get "USB0::0x3923::0x7166::019328A3::RAW" as a reference with the same device drivers. I have un-installed the drivers and installed again, but no change. I have installed NI-845x_1400.exe from NI but no change. Is there something I am missing?

 

Thanks

gpib

$
0
0

Hello,

I need to connect a Power Analyzer Yokogawa PZ4000 via a NI GPIB-USB-Interface to Labview to messure different waveforms. I'm relatively new to Labview. Can you give me a few hints how to connect Labview to the Power Analyzer? I can see the GPIB-Interface in the Measurement & Automation Explorer, but that's as far as I got.

For the PZ4000, there is a llb-file, in which are about 30 different VIs for it. I'm not shure, which one to use.

 

Can you give me some hints on how to proceed?

 

Thanks, Philipp

how to send lin headers

$
0
0

Hello,

 

I am using the XNET LIN driver and I would like to just send a frame header. How is it done? Do I just need to specify the ID and leave the payload field empty?

 

Thanks.

Controlling two power supplies using GPIB-USB-HS

$
0
0

Please help me to find out how to make the program behave well when one or both devices are not present

 

I am using the HP66XXA drivers.


Can query serial port with NI MAX, but doesn't work in Labview

$
0
0

I'm trying to control a Coherent Sapphire 488 with labview. It's connected via a serial to USB converter into the computer. I can communicate with a device using NI MAX, but when I try to run the vi (attached), it works for several queries, but evetually returns a null character, after which I can no longer communicate with the port. If I then go into the NI MAX interface, every time I try to read it gives the "VISA: (Hex 0xBFFF0015) Timeout expired before operation completed" error message.There are also several queriess from the instrument's manual that don't seem to work at all (with or without MAX) and always return a null character. Any help is appreciated. I'm certainly a novice with device communication. Thanks.

VBA automation to get the selected channel in oscilloscope

$
0
0

Hello,

 

I am trying to get which channel (1 or 2 or 3 or 4) is selected in Oscilloscope?
I tried to get the View property of the channels like below:

     app.Acquisition.C1.View // but there can be multiple channels whose view property is also true.

 

 

My problem is there can be more than 1 channels whose view property is also True (depend on if you toggle the channel or not). So I am unable to identify which channel is selected . (Here selected means - light on)

 

Thanks in Advance

Rahul

VISA: Parallel threads and locking instruments

$
0
0

Hello,

i have 50 instruments that are controlled in two threads running at the same time.

Thread 1: Only VISA write (configuration of the instruments)

Thread 2: Visa write and Visa read (read measurement from instrument)

 

Can i now simply add the "Visa Lock Async VI" before the write and "Visa Unlock" at the end?

 

Thread 1: Visa Lock -> Write -> Visa Unlock

Thread 2: Visa Lock -> Write -> Read -> Visa Unlock

 

Thanks

I can't use NI9870 (4port RS 232) from my project tree

$
0
0

Hello,

How to use NI9870 ports in a vi? In particular, I can see in my tree something, but I cannot drag and drop ports in the vi?

I think I have installed all the required drivers (LV2014, NI-RIO14.0.1, NI-Serial Runtime etc etc)

Can anyone help?

 

Thank you very much.

Regards.

Giancarlo

PMC-GPIB fails NI-488.2 Diagnostics after Each Re-boot of Computer

$
0
0

The PMC-GPIB fails the NI-488.2 Troubleshooting Utility software and GPIB tests as shown in the first image.  The drivers were installed, and then the PMC card was attached to the processor card and everything worked fine (i.e. our application as well as the Troubleshooting Utility).  After shutting down the system and re-booting the GPIB card would no longer communicate and the NI-488.2 diagnostics fail..  The Windows device manager indicates the a working GPIB device.  I have found that the only way to "fix" this problem is to delete the GPIB device from the WIndows device manager prior to shutting down the computer.  Upon re-boot the GPIB device is redetected and drivers re-installed.  The PMC-GPIB will continue to work correctly with both our application and the NI-488.2 Troubleshooting Utility untill the computer is re-booted.  To get it working again the GPIB device has to be deleted from the WIndws device manager and the computer re-booted.  The second and third images show our hardware and software configurations.  I have searched through the forums and help files and have not found a solution for this problem.

Viewing all 5661 articles
Browse latest View live


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