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

How can I control lamp with Labview rs-232c serial communication?

$
0
0

Hello.

 

I want to turn on/off the LED lamp with rs-232c serial communication.

 

However, even though I checked the serial example, I have no idea that how to control the light intensity by the serial communication.

 

I would like to get some ideas about rs-232c communication.

 

Thank you 🙂


GPIB-USB-HS 错误代码 -37056

$
0
0

我的GPIB-USB-HS卡在WIN10系统下报错:该GPIB设备不是NI自身产品,且不受已安装的NI-488.2软件的支持。更多信息,请访问ni.com/contact联系NI销售代表。(错误代码:-37056),之前在win7系统下是正常使用的。

NI USB_GPIB_HS+ driver for linux and its bringup

$
0
0

Hello 

I am using USB_GPIB_HS+ adaptor in raspberry pi 3+.  Are there any l leads to the driver  in linux that support latest HS+ adaptor ? 

 

Looking forward for the reply

 

Athira

Develop GPIB instrument with NI-488.2

$
0
0

I need to develop an "instrument" to communicate over GPIB.  The command set is non-standard.  (Not SCPI, not hierarchical).  Does NI-488.2 work for this?  In other words, I am not looking to control instruments, I am looking to MAKE an instrument that speaks via character strings over GPIB.

Control Solenoid Valve - interface

Interface to the MKS 946

$
0
0

Hello,

 

I am completely new to the LABVIEW. I need help to decide about the interface.

 

Currently 2 vacuum gauges and 2 MFCs are connected to MKS 946 controller. MKS 946 can be communicated through RS232 cable. If I directly connect MKS 946 to the LABVIEW through RS232, Can I still acquire and save data from each gauge and MFCs separately?

 

I appreciate your help.

 

Thanks

Shreya

Timeout error during Fluke 8842a GPIB interfacing

$
0
0

I have one Fluke 8842a connected using GPIB to USB interface (I have a UGPlus controller-cable and not a NI version). I am trying to use Labview to read the instrument data using call library function - dlls. In specific, I am reading ultra-low resistance values from Fluke.

 

The problem is that the read function doesn't work if I set high-precision (smallest resistance range - 0.xxxx ohms) on Fluke and gives me a timeout error. Even a single input read command doesn't work in this range. Strangely, all other ranges like 0.xxx or more higher ranges work just fine. The only problem occurs is in the lowest range/high-precision data reading.

 

Fluke manual portrays that it takes approx 1.24 reading/sec in high-precision ranges. Any ideas what may be wrong with this?

 

Thanks!

Read command generating timeout via GPIB from Fluke 8842a

$
0
0

I have one Fluke 8842a connected using GPIB to USB interface (I have a UGPlus controller-cable and not a NI version). I am trying to use Labview to read the instrument data using call library function - dlls. In specific, I am reading ultra-low resistance values from Fluke.

 

The problem is that the read function doesn't work if I set high-precision (smallest resistance range - 0.xxxx ohms) on Fluke and gives me a timeout. Even a single input read command doesn't work in this range. Strangely, all other ranges like 0.xxx or more higher ranges work just fine. The only problem occurs is in the lowest range/high-precision data reading.

 

Fluke manual portrays that it takes approx 1.24 reading/sec in high-precision ranges. Any ideas what may be wrong with this?

 

Thanks!


NI GPIB-USB-HS+ driver in windows 7

$
0
0

Hi 

 

I have GPIB-USB-HS+ adaptor and would like to connect to windows 7. I have installed NI 488.1 .net frame work and NIVISA as well. Still when i connect the adaptor there is error showing in NI MAX that "windows doesnt have driver associated with the device ".

Are there any addiational drivers needed for the adaptor? looking forward for the reply.

 

Regards,

Athira

Remote control of DAQ board through VISA server

$
0
0

I am trying to use and control a myDAQ installed on a remote computer.

Following the instructions reported in the white paper

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LfHSAU&l=it-IT

 

I see the VISA resouces of the remote computer. Unfortunately I see only COM1 and LPT1 while the myDAQ is not listed.

Is this a specific  problem of myDAQ device or a mor general issue regarding all DAQ boards? can be solved?

RGDS

 

Max

MKS Vacuum gauge hardware interface to LABVIEW

$
0
0

Hello,

 

I am completely new to LABVIEW and I need some help to clarify one confusion about hardware interface.

 

I am using two MKS series 999 quattro multi sensor transducer - vacuum gauges. Currently they are connected to MKS PDR900-1 vacuum controller. I believe PDR900-1 can communicate through RS232 cable to the LABVIEW. I am using the DAQ chasis for other sensors. But there is no driver available for PDR900-1 from NI or MKS. I don't know how to write my own drive for PDR900-1.

 

To avoid having to write my own driver, would it be possible to split the signal of the vacuum gauge mks 999 so that I can send it separately both to the controller PDR900-1 and to the DAQ chasis? 

NI MAX - Scan for Instruments from command line

$
0
0

I would like to use the report feature of NI MAX to automatically generate tester status report, including active devices and drivers installed on a tester.


For example: nimax.exe /REPORT:filename="d:\nimax_report.html";reportType="custom";silent="false"

Unfortunately this command does not trigger the Scan for Instruments command to collect the actual status information of different VISA devices.

 

So my question is, if there is a way to trigger this Scan for Instruments command from command line to really get an actual snapshot of connected devices?

VISA write error Arduino after hours of execution

$
0
0

Hi,

 

I'm currently working on a test bench project involving 3 serial communications and one USB communication (USBTMC). I'm using a state machine model.

One of the steps of my state machine is to send a char to my Arduino by serial port to commute a relay.

This operation is done approximatively each 30 seconds. 

I'm using very basic VISA write, and still, randomly i've got a VISA write timeout after hours of executions. After that the Arduino do not response any more, the only thing i can do is to close the visa and reopen the visa communication. Then it works again.

 

The solution i get for the moment is to do a specific error handling that closes the VISA and reopen it. It works but i would like to have a clue on what is happening. I'm not satisfied with this patch.

 

I tried to run this step of the state machine in a while loop until I have the error, but i never happens. So maybe my error is coming  from my other serial communications. 

 

Have you ever experienced a similar problem ? do you have a clue on what i could be ? 

 

Have a great day,

 

Nicolas L

 

 

 

 

Where did GetLocalManager Go?

$
0
0

I am a newbie learning VB .NET with the latest version of Visual Studio 2019 Community and the current version of NI-VISA 19.   I am trying to communicate with a Siglent spectrum analyzer.  The NI-VISA .NET examples are for C not VB but with an older version of NI-VISA (NationalInstruments.VisaNS) this snip of code worked but no longer.  I now get an error that GetLocalManager is no longer a member of ResourceManager.  Any help would be very much appreciated.  Thanks in advance and stay safe

 

Imports NationalInstruments.Visa Imports Ivi.Visa Public Class Form1 Dim mbSession As MessageBasedSession Dim visa_string As String Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click visa_string = TextBox1.Text mbSession = CType(ResourceManager.GetLocalManager().Open(visa_string), MessageBasedSession) Dim responseString As String = mbSession.Query("*IDN?") MsgBox(responseString) mbSession.Dispose() End Sub End Class

 

Siglent-Matlab-VISA

$
0
0

Hello guys, does anyone have any kind of working code for matlab to control Siglent's AWG's ?

Im trying to set up custom waveform using matlab. Documentation points toward UTF8 format, but i have not been able to implement it.

Any suggesting ?


If NI-VISA and Keysight-VISA are installed at the same time, the device cannot be found.

$
0
0

HI:
If NI-VISA and Keysight-VISA are installed at the same time, the device cannot be found.

If I install either Ni or key separately, I can search for the device.

But if I enter the address manually, I can connect and read and write.
Primary and secondary visa have been set, but still can't be searched.

Tried to check NIvisaTulip.dll, but still can't search.
thanks

(Use web translation)

C# gpib as listener with multiple secondary addresses

$
0
0

Hey all. I've got a little problem I've been beating my head against a wall on. 

 

I am writing a GPIB Listener program to emulate some hardware following the example found at as a foundation: 

 

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/NI-GPIB-USB-controller-as-a-device-C/m-p/1239744?profile.language=en

 

The issue I have is that the hardware I need to emulate uses multiple different secondary addresses for each module in it. It's an old beast. 

 

Anyway, is there some method in C# to create multiple listeners with different secondary addresses using only a single GPIB hardware interface? 

 

Thanks.

How to make a VISA Resource?

$
0
0

I need to make a VISA Socket Resource.  Not access one, but actually make it so that someone can access my PXI PharLap/LinuxRT target using VISA.  Do we have resources to achieve that?

PCIe-6738

$
0
0

Tell me please is it cryptographic encryption equipment PCIe-6738?

I need it for customs description

Keithley 2010 Scan and Read Channels

$
0
0

Hi,

 

I am trying to use the Keithley 2010 to scan and read 10 external channels over GPIB. I downloaded the instrument driver for the 2010, but I am confused on how to measure different functions for some of the channels. The examples in the driver only have VI's that measure the same function for each channel.  I need to measure voltage, temperature with RTD, and temperature with TC.

 

If anyone knows where I can find an example for multi function scanning, that would be great.

Viewing all 5665 articles
Browse latest View live


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