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

Ocean Optics USB2000+ no registration in LabView

$
0
0

Hello,

I'm student and just starting with LabView from the basics. I'm using the Ocean Optics USB2000+ spectrometer with

  1. OmniDrivers from the Ocean-Optics website
  2. drivers (offered by LabView itself)
  3. LabView 2013 (32-bit)

My problem is that I can registrate the spectrometer in the NI MAX, but not in LabView. I'm using the wrapper vi's to test it. For example wrapper_openAllspectrometer...

I searched for solutions in this forum but didn't find anything. Sry if it's a really simple question.

 

Thanks for help, Alex.


NI 9870 Problem with connection in VISA test panel

$
0
0

I am using NI 9870 for serial communication. It shows me following errors when trying to connect in VISA test panel. I have cross checked all the paramters like bata bits, parity, bytes and also increased timeout. please help.

 

ATTRIBUTES :

IS PORT CONNECTED : INVALID PROPERTY VALUE

(VISA:  (Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource.)

 

READ COMMAND:

 

VISA:  (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).

 

 

Ecotech Serinus Gas Analyzer

$
0
0

Hello NI Community,

 

I am currently trying to get an Ecotech Serinus gas analyzer to communicate in labVIEW. Specifically I just want to query the instrument for instantaneous gas data.   I was wondering if anyone has had any experience with working with this instrument in labVIEW.  The device does not have any drivers and after contacting the manufacturer they told me the only way to use it in labVIEW was to use modbus protocol.  

 

If anyone has any insight I would greatly appreciate it.

Waveform identify project with MSO5204b

$
0
0

Hello, community! 
I have a project in which I should determine the USB keystroke from galvanic coupling (firstly save key waveform and secondly real-time correlation). I found that the best option is by using LabView Software. I use an MSO 5204b oscilloscope.
I had downloaded the driver & examples for my oscilloscope, but I can`t fully control the oscilloscope (set timebase, sampling frequence, ..). 

Did you have a VI which is fit for my project or another idea of how the project can be realized (eg. another software like LabView NXG)?

4 Sec. On Time with GPIB/NI488

$
0
0

Setup:

-My app controls one Power Supply and sets a static voltage for testing (simple & basic).

 

Problem:

-I have one particular user (out of thousands) whose PS is taking nearly 4 sec. to turn on once the GPIB command is sent (yes, I actually use a timer and A->D to check).

 

Q:

-Any ideas why this might be happening?  

-Any ideas for debugging?

 

HW:  

-National Instruments GPIB-USB-HS

-Agilent E3642A  power supply 

 

SW:

-Lasted NI488 drivers from NI

-My custom App (which I can provide an exe example of).

 

Driver for PTW Unidos Webline Universal Dosemeter

$
0
0

I am trying to automate a PTW Unidos Webline dosemeter. The PTW commands are not SCPI so I am having some trouble. Does anyone have advice for developing a driver and/or formatting commands for this type of instrument? 

flight control in QNET_VTOL_Workbook_Student

$
0
0

Excuse me can anyone help me about the value measured of steady-state error for the VTOL device step response when using PD controller in flight control experiment related to the [QNET_VTOL_Workbook_Student.pdf- 4.3.2 In-Lab Experiment step-9] this response is unclear and I can't know the steady-state error

 

flight control

$
0
0

Excuse me can anyone help me about the value measured of steady-state error for the VTOL device step response when using PD controller in flight control experiment related to the [QNET_VTOL_Workbook_Student.pdf- 4.3.2 In-Lab Experiment step-9] this response is unclear and I can't know the steady-state error

 


TESTO 435 / 635 / 735 LabView Support Needed

$
0
0

Hi there,

Where can i find labview support for TESTO 435-2 insturment? (I should be monitoring RH, temperature, Wind speed)
Kind regards,

Balázs

Keysight 33522B, 2000 Series Keysight Scope Self Test Failure

$
0
0

Hello Everyone,

I am working on Scope, Waveform Generator, and Amplifier. I am using DLL which is provided by Manufacturer.

My problem is in Self Test and All of my devices have the same problem. While self-test working, the device returns false request but ı see on the screen the self-test continue and it pass after 5-10 second.

 

How can ı do solve my problem? It looks like a timeout problem I think. I know VI_ATTR_TMO_VALUE attribute is about timeout attribute. But ı couldn't find Attribute ID.

Making the NI GPIB-RS232 converter "data transparent"

$
0
0

I have been tasked to replace old Black Box GPIB-RS232 converter boxes with NI boxes. But, there are configuration settings in the old Black Box that I am not sure can be replicated with the NI box. We are trying to make this work in "D Mode".

 

Making the GPIB-RS232 converter "data transparent" is one that is causing difficulties transmitting for GPIB to serial to our DUT. The DUT already required us to use a 25ms delay in between each byte transmission even with the old Black Box. However, the NI replacement box requires us to use 100ms delay in between each byte transmitted serially. It appears that the NI box is grouping all of the bytes in it's buffer and transmitting them without the required 25ms delay between each byte unless we increase the delay to 100ms or longer.

 

Maybe there is a timeout setting or wait setting I need to use in "G Mode"?

I2C and SPI with PXIe-6363

$
0
0

Hello,

 

our NI PXIe-1078 chassis houses a PXIe-6363 I/O card which has hardware timing capabilities as far as I know. Is it possible to communicate from this card to an I2C or SPI device directly from the chassis instead of using FPGA? The PXIe-6363 features multiple digital I/O ports and there is the palette:

"Connectivity"=>"I2C&SPI" which contains the I2C Configure.vi and the SPI Configure.vi. However both require FPGA functionality.

 

Thanks in advance

Lysandros

NIMAX/LabVIEW Issue with Agilent E5071C ENA

$
0
0

I set my Agilent/Keysight 5071C up on a LAN and downloaded drivers. The 'Status' field in NIMAX says that the device is 'Not Present'. However, If I tab over  to the 'Web Page' tab, NIMAX has the device's web page loaded(?). It successfully pings as well. 

 

I downloaded the driver package and tried using a few of the VIs. The VISA Open commands in the sub-VIS are returning the fairly standard 1073807252 (Hex 0xBFFF006C) 'Device not present' error. 

 

As for experience.... I took LabVIEW Core 1 and 2 last month so I'm fairly new.

USBTMC: a continous 0xFF data result in INITIATE_ABORT_BULK_IN message

$
0
0

Hi:

We are developing a Data Acquisition Instrument which expected to support USBTMC(subclass
488 not included), so that it can communicate with Labview easily.

While during the firmware implemention, we meet the problem described below:

    (We want to send int32 type data to the host,eg: 1 (0x00000001 in binary) and -1 (0xFFFFFFFF in binary))

    After receiving the REQUEST_DEV_DEP_MSG_IN command message, the device respond with a DEV_DEP_MSG_IN message as the USBTMC Specification required.

     When the data is 1 (0x00 0x00 0x00 0x01 in data payload), the transport finished
properly. But when we send -1 (0xFF 0xFF 0xFF 0xFF in data payload), the host abort the Bulk-IN transfer with a INITIATE_ABORT_BULK_OUT command message through the endpoint 0.

    After testing, we found that when there is a continous 0xFF (e.g 0xFFFF ) in the data
payload, the host will abort the Bulk-IN transfer with a INITIATE_ABORT_BULK_IN command
message.

     We did not find any requirement about the data(in the data payload) in the USB & USBTMC
Specification, so we are confused about this. Is there any requrements about the data in
the data payload?

 

and what does the following mean in the USBTMC Specification:

4.2.1.4 INITIATE_ABORT_BULK_IN

A Host may use the INITIATE_ABORT_BULK_IN request to abort a Bulk-IN transfer and restore
Bulk-IN synchronization. A Host should only send an INITIATE_ABORT_BULK_IN request when
resynchronization is necessary (Note: This is USBTMC Bulk-IN transfer re-synchronization,
not the USB defined DATA0/DATA1 toggle synchronization.)

Length of cable - PCIe 8430/16

$
0
0

Hello, 

 

I wanted to know the maximum length of the cables that can be used with PCIe 8430/16(RS232) card at 115200bps. It is not specified in the datasheet. 


Share COM device between two instances of application running on two computers

$
0
0

Some years ago, I wrote a LV application which controls a given number of DUTs (not represented on the pictures) and queries the status of the climate chamber by a serial communication. The test cycle is started by the operator and the application doesn't send any command (only query of the status) to the climate chamber.

One.jpg

 

Now, in order to double the number of DUTs but without the need to buy another expensive and bulky climate chamber, we want to go to this configuration.

 

Two.jpg

The same application runs on both computers. It must be possible to use each of the two computers separately but also both at a time. 

 

Which interface or technique would you use to share the COM port of the climate chamber ? A solution requiring no (or only a minor) adaptation of the application will be preferred.

 

Many thanks in advance.

Control BK Precision 1687b power supply through VISA

$
0
0

I am currently designing a data acquisition system to run tests at my work using a cDAQ-9174 chassis, and we have a programmable variable power supply that we would like to control and measure data from in LabVIEW. There was not a driver for this specific power supply on the NI website, so I followed the tutorial http://www.ni.com/tutorial/4478/en/#toc2 for configuring and installing a driver. However, I am unable to create a block diagram that runs properly because I run into "Timeout expired before operation completed" or "Invalid buffer mask specified" errors. At first DAQmx was able to validate the port settings, but even after making no changes it seems to randomly get an error "The resource is valid, but VISA cannot currently access it." Has anyone used a similar setup with greater success? I do not know much about USB protocol and the two times I have restarted the process, NI-VISA named it first as a RAW resource, and then as a INSTR resource, which to my understanding use completely different configuration settings in the block diagram. If it helps, I am using LabVIEW 2011.

NI MAX VISA Test Panel Connection with Ohaus Navigator Scale

$
0
0

I am technician that adopted a brand new system without any support from colleagues as no one has any knowledge of the equipment and software.

 

That being said, I'm trying to set up a bunch of hardware and having trouble communicating via RS232 with our Ohaus Navigator scales. I am running the PXI chassis with PXI-8430/8 and PXI-8430/16 modules. I have all the settings set alike across all equipment and have created a custom cable connecting the two serial cables as the pin outs differ. When I enter into VISA Test Panel and try to send commands the scale doesn't register anything and I get a timeout error. All I'm trying to do at this point is to verify connectivity between the PXI chassis and corresponding modules with the scales.

 

Any help with this would be greatly appreciated. 

Thermotron 8800 RS232

$
0
0

Hello.  I am interested in comments anyone has regarding inconsistent behavior of different versions of Thermotron 8800 controllers over RS232.  Here's my story...

 

I have software built on LV2014 that has been in use on a variety of test stands for quite some time.  It works fine at 9600 baud rate with standard settings on any 8800 controller with software version 2.xx on it.  The newer 8800 controllers that have been coming in are in the 4.xx version range.  The newer ones have been having issues with VISA sessions disconnecting at 9600.  We have been able to get around this by turning the baud rate up to 57600.  But on the controllers that needed 57600, the VISA session still occasionally disconnects.  It was rare enough that I gave up trying to figure it out.

 

Recently we had a 2.xx controller fail and replaced it with a new 4.xxx version.  This one is the worst yet.  It doesn't like any baud rate.  I can get a thermal started at 57600, but it won't last long.  We tried other known good PCs, cables etc.  This one just doesn't like RS232.

 

When I look at the Thermotron log of commands it receives, there are some garbled characters in addition to what the stand sent out.

 

So I decided to try switching to TCP/IP.  It works great.  I've had it cycling for two days now with no issues at all.  So that's the answer I'm going with. 

 

But people are asking why after all these years of RS232 working fine would we need to switch to Ethernet for newer controllers. 

 

Anyone have similar experience with these?

Send SCPI Command to a Raspberry Pi3 thought Ethernet

$
0
0

Hi, 

 

I would like to connect using a simple VISA connection to a Rasberry Pi3 and send some basic scpi commands, I would like to know if exists any installer package/driver to support this on Rasberry Pi.

 

Any help would be appreciated.

 

Thanks

Francisco Morales

Viewing all 5662 articles
Browse latest View live


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