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

NI Max "Reset" button missing

$
0
0

I'm using NI Max 16.0.1 on a remote computer, which is the same version I have on my local computer.

 

On the remote computer, the often useful "Reset" button is missing, but it is present on the local computer.

 

Does this need to be enabled in some way?

 

button present: NI Max reset button present.PNG

 

button absent:

NI Max reset button absent.PNG


Where is the documentation for NI4882 in Visual Studio?

$
0
0

I would like some documentation on the methods and properties that are available when using NI488.2 in .NET (I'm using Visual Studio 2010, c#).  The NI help says that it should be under Help>>Contents, but this is not an option in Visual Studio 2010.  Does anyone know where I can find this documentation?

NI MAX TCPIP option is not functional on Mac OS

$
0
0

I install NI-VISA 17.0  on Mac OS which version is 10.12.1(Sierra). However I can not find  TCPIP option on NI MAX when I try to control CMW500 via Lan. Is there any idea about this issue?  thanks a lot.

 

The attach is NI Max UI.

How to Display a Signal from an Instrument in a Waveform Graph?

$
0
0

Hi all,

I'm fairly new to LabVIEW and I am creating a HAL to control a spectrum analyser through VISA.

I can control all the settings of the instrument from the HAL, but I want to display the signal that the instrument is showing in a digital waveform graph on the front panel (mirroring the signal that is on the instrument's screen).

I have tried using the Simulate Signal VI but it does not create a signal that looks like the one on the spectrum analyser.

Any help is much appreciated!

ICM-MODBUS Particle Counter wiring

$
0
0

PXI 8431

 

We have a ICM-Modbus Particle Counter from www.mpfiltri.co.uk.

It has 2 wires, *Data+" "and Data-", but we know there is 2 way communication.

Shoud we connect the TXD+ and the RXD+ to Data+?

 

 

 

LXI mDNS DNS-SD implemntation vs. VXI-11 for its discovery in NI-MAX

$
0
0

Hello.

I am working on the LXI (v1.5) implementation on our embedded device. We wish the device to be discovered in NI-MAX.

So far we publish the _http._tcp and _lxi.tcp services and a web server is serving the /lxi/identifcation xml file.

We have traced the network exchanges between the PC running NI-MAX and the device. We have reached the point were NI-MAX requests the identification page (which is retuned OK). But the device remains non visible in NI MAX.

However the LXI Discovery Tool can see our device on the same PC.

Tracing some other "LXI labelled" equipment we found that NI-MAX establishes a connection with its VXI-11 server.

So the question is does a VXI-11 server also required on the device to be discovered by NI-MAX ?

Many thanks

Marc

Labview crashes suddenly while running

$
0
0

Hello,

I am Lipika, working on a monitoring system  using labview.

Though the serial communication between the hardware and the labview is made successfully  initially , the connection  is  lost during the runtime of labview  and the labview crashes.

It does not happen all the time . It mostly occurs during auto run of the device  when scripted programs are run for testing.

In that case,  both labview and the system needs to be rebooted to lay the connection again which is troublesome .

The PC has 12 core processors , with 256 RAM ,OS is Windows 7.

Kindly suggest solutions  to get rid of this.

Best regards

VISA ERROR 1 at Property Node (arg 1) in VISA Configure Serial Port

$
0
0

Hi all,

 

I have build an exe that connect with RS232. It works fine on my computer which is Windows XP but got an error when I try on Windows 7. I've already install NI Visa Runtime but still didn't work. I'm using Labview 2012 for the development.

 

Visa Error 1.png

 Thank You.

 


myRIO Serial Connection custom baudrate

$
0
0

I want to set my custom baudrate on myrio, My sensor baud rate is 200 K which I want to connect directly to myRIo UART port, however , I can not set my badrate in labview to 200 K. It shows I can only save my baud rate in  multiplication of 9600. So is there anyway to set my custom baud rate ?

NI Max stops recognizing devices randomly

$
0
0

Hi,

 

I am currently running into an issue with NI max dropping communication with my devices randomly. I will have the devices populated in NI max originally, am able to run actions within teststand with no problems, however after a while teststand will not be able to communicate with the devices and when I scan for instruments in max nothing will show up. If I restart my computer the issue will go away, but this is a very annoying fix considering how often this happens. Is there any other fix for this issue?

RS485 connection does not show up NI 9871

$
0
0

Hello,

 

I am trying to connect cPCO modbus via RS485 to the NI 9871, but nothing shows up in MAX or Distributed System manager. 2 wire mode.

What do I have to do?

 

Cheers,

 

Steffen

Data card with BNC inputs

$
0
0

Dear NI community, 

 

I am seeking to connect a signal conditioner with 3 channels inputs type BNC to a data card NI. Do you know if it exists a data card with BNC inputs (with 3 or more inputs) ? 

A model available for purchase in USA. 

 

Thanks for your help

 

Regards

 

Fanny S

Automate changing of GPIB Interface IDs

$
0
0

I've had an issue with GPIB interface IDs being assigned to the wrong PCI bus/dev intermittently (using multiple PCI-GPIB cards).   After research and experimentation, I've decided the only way to resolve the issue is to manually assign the interface IDs based on the PCI slot.

 

I realize this is easily done with the Measurement and Automation Explorer by selecting the GPIB device and changing the property settings.  I'd like to automate this so our operators don't have to deal with it.  

 

C# or C/C++ is fine - which API is appropriate to use?  I've been reading documentation for 488.2 programming, NI-VISA, SystemConfiguration... I haven't been able to find a way to accomplish this. 

 

Can anyone point me in the right direction?  Thanks.

Visa.Net ResourceManager and Deployment

$
0
0

Dear community, dear NI support,

I've a couple of questions regarding VISA. I'm aware that some questions are duplicates or have been asked several times before. But up to now there was no satisfying answer for me. So I want to understand the why, then there's no need anymore for asking the how.

 

What I want to achieve:

A small, deployed C# application which is able to find connected Instruments. In the first step I just want be able to communicate with the devices on a low level with SCPI. Later on, I want to implement several device drivers (IVI based) to lower the effort to write own scpi based device drivers.Up to now, I was working with the VISA.Net implementation of Keysight but have now switched to the NI implementation due to better documentation and more functions (SendRemoteLocalCommand Method, IDisposable already implemented and so on)Current Versions I'm using:

    NationalInstruments.Visa: 17.0IVI.Visa: 5.8

Question 1 - ResourceManager:

  • I realized, that it will find sometimes old hardware aliases which are not longer connected to the pc
  • GPIB interfaces must be re scanned sometimes (in NIMax or KeysighConnectionExpert) to get current resources
  • LXI TCP/IP resource can only be added by NIMax or KeysighConnectionExpert

==> So from were does the resource manager gets its information?

==> Am I able to refresh this store, or perform a re scan on the Resource manager?

==> Am I able to add TCP/IP addresses or perform a scan on the network interface? Can the library from NI Max be used for this task?

 

Question 2 - Deployment:

==> what needs to be shipped along with the visa IO to work on an other machine?

==> Supporting only TCP/IP, Serial and USB are there any further drivers required? (Of course for Gipb I need to install some HW drivers)

 

Many thanks in advance

 

 

 

Reading magnitude and phase from lock-in simultaneously

$
0
0

Hi guys,

I need to read data from a lock-in. My VI works fine, but I've just realized that I need to retrieve not only magnitude, but also phase of the signal. I have to idea how to make it and be sure that they are retrieved at perfectly the same time?

If you take a look at the picture attached, you can find command "mag" that is sent to the lock-in (and afterwards I save it in a text file). How should I send "pha" for reading phase?  I'm afraid that inserting it in series will result in reading the phase of a signal some miliseconds after reading the magnitude.

I hope I made it clear and you get what I mean Smiley Happy

 


how to setup NI Max to control CMW500 via lan On Mac OS

$
0
0

 anybody konws how to setup NI Max to control CMW500 via lan On Mac OS?

I cannot find the TCPIP option on NI Max on Mac os.NI Max.jpg

Separation problem of two different set of data in serial plot

$
0
0

Basically, I am working on a project which has two different systems each system has a one ZigBee and both of these systems ZigBee are sending different data to single Zigbee which is connected to LabVIEW.So as in to separate both the system I have used a special character and word in starting of both of the reading.

reading are coming in this particular format 

system 1 :- $ROVER,2232,56.87,92.45...

system 2:- #PAYLOAD,84.96,9832,15.32...

 

Now the problem I am facing is I am not able to plot both of these system data simultaneously.

I have tried every possible thing I can but not able to do it.

I have attached my designed VI as well as screenshot of the logic
I have implemented two different approaches in a single VI but none of them is not giving appropriate result.
Please help me out  
 

  

Communication problem with Ocean Optics STS Spectrometer

$
0
0

Hi, 

 

I run labview 2015 on Windows 10 and i have a communication problem with Ocean Optic STS Spectrometer.

I install usb driver : http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=A4A691E2F9B24D8EE0440021287E6A9E

I follow all steps write on th "read me" html file.

 

But on NI MAX, i see my device as "USB0::0x2457::0x4000:Smiley Frustrated07499::RAW" but when i use Visa Control panel, i have a read error on I/O input Test. 

 

On example vi, visa ressource box stay empty (no usb device regognize).

 

Thanks by advance for your answer

 

GPIB-RS232 use as GPIB-232CV-A

$
0
0

I have an ATE system that currently uses a GPIB-232CV-A interface and I understand this device is no longer available as a new item.  Recommended replacement is the GPIB-RS232, so I am wondering if this is a "drop in" replacement for the CV-A version?

Thanks,

Communicate with 34410A via usb without any drivers

$
0
0

Hi, do you know, is it possible to communicate with 34410A withought any drivers? Only connect usb to PC and type SCPI commands in serial terminal, for example RealTerm. I tried to do this, but agilent always said: "Error", and no feedback in terminal. I use a RS-232/USB. In LabView it works good. Maybe i lost some preferences? CR, LF... In future i would like to connect a ESP8266 to rs-232 and get data from it. Thanks

Viewing all 5686 articles
Browse latest View live


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