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

Communicate I2C based Current Loop receiver with RS232

$
0
0

Hey need expertise suggestion, I am using current loop receiver with raspberry Pi to check the readings of analog pressure sensor (4-20mA current based)

But I need to know what is the best way to connect the current loop receiver with PC or laptop directly to monitor the readings?

 

 

 


Yamaha Tyros 5 76-Key Arranger Workstation Keyboard

$
0
0

Yamaha Tyros 5 76-Key Arranger Workstation Keyboard

 

We are offering the Brand new Yamaha Tyros 5 keyboards for sale .. Tyros 5 black Special

Edition....Sealed in the original factory box.. with 2 years manufacturer warranty

Certificate from Japan..Plus 90 days return policy..


LIST OF PRODUCTS:


YAMAHA KEYBOARDS:

Yamaha Tyros 5 76-Key Arranger Workstation Keyboard

Yamaha Tyros 5 61 Key Arranger Workstation Keyboard

Yamaha Tyros 4 61 Key Keyboard

Yamaha Tyros 3 61 Key Keyboard

Yamaha Motif XS8 88-key

Yamaha Motif keyboard XS7 76-Key

Yamaha Tyros 2 61-Key Keyboard

Yamaha PSR-S700 61-Key keyboard

Yamaha PSR-S750 61-Key keyboard

Yamaha PSR-S900 - 61-Key Keyboard

Yamaha PSR-S910 - 61-Key Keyboard

Yamaha PSR-S950 - 61-Key Keyboard

Yamaha MOX6 61-Key keyboard

Yamaha S70 XS 76-Key Synthesizer

Yamaha MOX6 61-Key

Yamaha S90 XS Weighted Synthesizer, 88-Key

Yamaha MM8 88 Key Synthesizer Keyboard


Korg Pa3X Pro Arranger Workstation 1,500

--------------------------------------------------------------------------

Korg Pa2xpro 76 Key Pro Arranger Keyboard

Korg PA800 Arranger keyboard

Korg TR-88 88-key Workstation keyboard

Korg OASYS 88 88-Key Workstation

Korg Pa500 arranger keyboard 61 keys

Korg PA50 Arranger keyboard

Korg Kronos X88 Key Music Workstation

Korg M3 61-Key Workstation

Korg PA600 Pro Arranger

Korg PA900 Pro Arranger

Korg PA588 Digital Piano

Korg M3 88 Key Music Workstation


Other Mondels


Stage Piano Roland RD-300GX Digital

Stage Piano Roland RD-700GX Digital

Roland Fantom-G6 Workstation

Roland G-70 arranger keyboard 76 keys

Roland Fantom-G8 88-key sampling SynthWorkstation

Roland Fantom-G7 76-key Sampling Synth Workstation


MODE OF SHIPPING: FedEx, DHL or UPS


DELIVERY: Delivery is 48 hours (2 days) your package will be delivered to you at your door /

store your own favorite destination.


If you have questions regarding any of our products and services, Or The Product You're

Looking For Is Not In The List you can email ... To Provide You Help Or The Product.


For more details contact us via Email:

 

Gmail: gabjames166@gmail.com
MSN: gabjames16@hotmail.com

Skype: gabriel38600

[VISA 17]libnipalu.so failed to initialize

$
0
0

Hello guys,

I'm using OpenSUSE 42.3 KDE 64bit as system.

I've been able to install LabVIEW 2017 64bits and VIPM 17.0 .

As you can see from the title, I got problems with VISA 17, this is what I get as output:

phederigo@linux-inas:~> visaconf 
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Aborted (core dumped)

I've already used updateNIDrivers, it didn't solve the problem unfortunately.

I've had some problems during the installation related to the Kernel (here is the problems I had and how I solved them: https://forums.opensuse.org/showthread.php/530868-LEAP-42-3-KDE-64Bit-LabVIEW-2017-(VISA)?p=2864620#post2864620 ) I will put a screenshot related to the Installation, the only things that might be a bad sign was:

cat: /etc/natinst/linux/linux.dir: no such file or directory.

 

Hope some of you can find a way to help me, thanks.

 

Unexplained disconnection of instrument connected via ethernet/VISA

$
0
0

Hello all, 

 

My lab is using a Honeywell 2182 UDA to interface with a Durafet pH probe.  The UDA is connected directly to a Windows 7 PC via an ethernet cable, and we view the outputs (Temp, pH) via a Modbus server in Distributed Systems Manager, from which we can pull shared variables into Labview code.  

It's a finicky setup, and we've only had sporadic success.  The most difficult factor is trying to help NI-MAX establish a VISA connection to the device via entry of a raw socket IP address and Port Number.  This, mind you, is darn near impossible.  Finding the right combination of IP, port number, DNS server, etc. is a nightmare.  On the few occasions we've done this, I've been able to get my data to work with my VI in Labview without a hitch.  Until today, that is.  

Tech support from my university was able to help me find the correct IP subnet to use, and then assigned the computer and device to the same subnet while varying the last octet of the IP address (192.168.1.1 for the ethernet adapter on the PC, 192.168.1.254 for the device).  That worked fine: NI-MAX established a connection, I set up the Modbus, imported the variables into my project, and all was well with the world, until after about 45 hours, the connection cut out, suddenly, while I was running my VI.  I wasn't touching the computer at all, just watching the block diagram while the bits flowed through my code.  My PI had checked DSM every few hours since the connection was made, and we were still getting pH and Temp data.  

Pinging the IP address from CMD doesn't do anything, nor does typing the IP in a browser window (another way to view data).  I'm at a loss here, and hoping anybody can help.  

connect to a NI-PXIe 1078

$
0
0
I would like to connect to a NI-PXIe 1078 data acquisition system with an Ethernet cable through my computer (NI-PXIe 8135),
the problem is that I can not cofigure any board on the system and when I want to create a program in LabVIEW (a program for data acquisition) he does not find any card for data acquisition.
I have attached 2 pictures of NI-MAX.
 

Visa Driver Error -1073807202

$
0
0

Hello everybody,

 

since 3 days I'm struggling with the following VISA error:

 

VISA or a code library required by VISA could not be located or loaded. This is usually due to a required driver not being installed on the system. (-1073807202)

 

I've connected a frequency synthesizer via USB cable to my PC with LabView (2017, 64bit) installed. I also tried with a fiber thermometer. Communication had already been established with NI MAX to both devices as I could write and read commands with the testpanel.
When trying to communicate in LabVIEW with very basic "from scratch" programming with simple VISA elements (VISA configure serial port etc.), I keep on getting the mentioned error code at the Configure Serial Port function. I already reinstalled LabVIEW and force reinstalled NI VISA 17.5. The problem keeps reappearing though.

 

Do you have any more ideas what might be the problem? 

Attached, I added a VI and the screenshots of the block diagram and the front panel for the thermometer communication. Com Port 4 is indicated as the device's port by both the device manager and by NI MAX.

 

Thank you very much for your help, I hope I didn't forget any important information.

 

Best

PyVisa debug and my own instrument simulator, hangs on *esr?

$
0
0

Hello,

 

I had to simulate a large number of instruments on a single PC to try to support a customer's software. They used PyVisa, so I remapped their configs from an ::INSTR (LXI) to simple sockets, and wrote my own simulator (opened a pile of ports, just need to handle a few queries really).

All ran fine, including *OPC?, queries about voltage/current settings, etc. etc., until I hit upon *ESR? I have no idea why the PyVisa driver times out on the query. I checked with Wireshark, checked read/write terminations, everything looks good. I tried sending "1", "+1", etc. from examples I saw, but the query just keeps timing out.

I'm sending the reply to the correct port, and as mentioned, the other commands and instruments I simulated are working.

Is there a way to debug this in the PyVisa driver/package/whatever? I'm using Python 2.7 and PyVisa for that version, and no other issues. In fact, I can even use the visa shell and talk to my simulator on the other machine and see the +1 being returned. But not from inside a script. Is this buried in the resource manager somewhere (the socket handling, etc.?).

Any help appreciated!

Avner Ginsburg

 

GPIB is not deducting in NI MAX

$
0
0

Hi,

i am facing issue with Ni max. PCI-GPIB is deducting in device manager, but it is not deducting in Ni MAX.

i tried all the below possibility with no result,

1. uninstalled all the ni drivers and software using msiblast and control panel add or remove program and install once again all the below software as we have some other device is also connected with the PC,

a) NIVXI 3.3.1
b) LabVIEW 5.1.1
c) NI DAQ 6.9.1
d) NI 488.2 1.60
e) NI CAN 1.5
f) ICP22.exe

2. deleted GPIB-32.dll under system32 folder manually and tried installing all the drivers once again in the above order, but still i am not able to find GPIB in NI MAX. 

3. We have another PC where all the drivers are installed properly, i tried to put this PCI-GPIB interface card to that PC and verified. it is deducting in NI MAX.

 

can anyone please help me on this?

 

thanks,

kalpana 

 


Controlling a SainSmart 16-Channel 9-36V USB Relay Module

agilent 34903 Actuator/Relay card not working in remote mode

$
0
0

I have a simple SPDT relay on the 34903A card, hooked into a 34972A DAQ Unit.

The COM is a 5V supply from an external source,and I have the NO pin hooked up to an input externally as well.

When testing this relay on the front, it works fine.

However, I am unable to actuate it remotely. I send the following cmd:

"ROUT:CLOS (@301)"

I dont get any errors back and I get a return message from the cmd. However, the relay doesnt actually switch.

 

As soon as I make a connection to the 34972A, the front panel no longer gives me control for open/closing the channel also.

 

If I use the same command on an unused channel(@302), it works even remotely.

What is going on here?

USB-8452 USB 2 SPI box not communicating continuosly

$
0
0

Hopefully this is the correct forum.

 

I have a USB-8452 that I am using to talk to some equipment with over a SPI bus. The problem is that when increasing the clock rate, that doesn't speed up the communication as a whole.

 

Scope captures....

Clock at Lower frequency (KHZ)

It looks ok but has pauses between the bursts of 8. (It's writing from an array of 8-bit unsigned as the out of the box VI requires)

Clock @ Lower Frequency.png

Clock at Higher frequency (MHZ)

The clock speed increases but the breaks between the communication remain the same.... this seems totally wrong to me.

 

Clock @ Higher Frequency.png

Can anyone offer insight on how to correct this so it's a continuous clocking of data?

Thanks,

Kellen

 

 

Ghost GPIB instrument in NI-MAX

$
0
0

I have a ghost instrument that shows up in NI-MAX on GPIB0::1::INSTR in NI-MAX

 

This instrument shows up even if THERE IS NO GPIB INTERFACE PRESENT!

 

How can I get rid of this?

 

VISACapture.PNG

As you can see the instrument shows up and my NI USB-GPIB-HS is disconnected from the system.

 

How can this instrument exist in NI-MAX?

Instrumentation Control of Tektronix Scope with NI-VISA

$
0
0

Hey all,

 

I'm conducting some research that uses a Tektronix DPO5204 Oscilloscope, and I've gotten it to configured through NI-VISA to talk to a PC (tested through the VISA Test Panel, sent a *IDN? command, and returned info from the scope correctly). Can also ping the device through a prompt window.

 

I have tried loading up the NI-VISA examples that came with NI-VISA version 17.5, but loading these up in Microsoft Visual Studio 2017 has yielded errors, which I'm sure has to do with the code being written in 2005 and we are now using a much later version of Microsoft Visual Studio. I was wondering if there was any up-to-date examples that I could look at for basic communication between the Scope and the PC. I have tried looking at the NI-VISA User Manual as well as the Programming Guide, but the examples don't seem to work in there either. Thanks all.

Can VISA32.dll extend to support HiSLIP? If can, which version?

$
0
0

Hi

 

We have a dll based on VISA32.dll to develop test interface.

This dll can be used to control SCPI with TCP/IP port instrument.

If we want to extend dll to control the instrument with HiSLIP interface, can native VISA32.dll support HiSLIP?

 

Thanks

JC

A question about hardcopy GPIB remote control?

$
0
0

HI
    I  have implemented some basic functions.Now I want to use the remote print screen, but there are some problems:
1,use viReadToFile ,the documents are only have 4096kb
2,use viRead,Program death
    This is my VB.NET source with viReadToFile code:
 
Private Sub FSE_btnHDCP_Click(sender As Object, e As EventArgs) Handles FSE_btnHDCP.Click
             status = viVPrintf(vi, "Smiley FrustratedYST:COMM:GPIB:RTER EOI" + vbCrLf, 0) '此命令更改分隔符。
        status = viVPrintf(vi, ":HCOPSmiley Very HappyEV:LANG WMF" + vbCrLf, 0) '设置WMF格式        
        status = viSetAttribute(vi, VI_ATTR_TMO_VALUE, 20000) '设置超时
        status = viVPrintf(vi, ":HCOPSmiley Very HappyEST1 'MMEM'" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEM:NAME 'C:\USER\DATA\FILE.WMF'" + vbCrLf, 0) '
             status = viVPrintf(vi, ":HCOP" + vbCrLf, 0) '开始
        
        status = viVPrintf(vi, ":MMEM:MSIS 'C’" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEM:CDIR '\USER\DATA\'" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEMSmiley Very HappyATA? 'FILE.WMF'" + vbCrLf, 0) '
        status = viRead(vi, strRes, 16, retCount)
        Dim x As Integer = Val(Mid(strRes, 2, 1))
        Dim y As Integer = Val(Mid(strRes, 3, x))
        VI_txtOUT.Text = retCount
        status = viVPrintf(vi, ":MMEM:MSIS 'C’" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEM:CDIR '\USER\DATA\'" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEMSmiley Very HappyATA? 'FILE.WMF'" + vbCrLf, 0) '
        status = viReadToFile(vi, "D:\YouName.WMF", x + y + 2, retCount) '最大4096,且写入不覆盖。
        status = viSetAttribute(vi, VI_ATTR_TMO_VALUE, 2000) '设置超时为默认2秒
    End Sub
 
      This is my VB.NET source with viRead code:
 
     Private Sub FSE_btnHDCP_Click(sender As Object, e As EventArgs) Handles FSE_btnHDCP.Click

        status = viVPrintf(vi, "Smiley FrustratedYST:COMM:GPIB:RTER EOI" + vbCrLf, 0) '此命令更改分隔符。
        status = viVPrintf(vi, ":HCOPSmiley Very HappyEV:LANG WMF" + vbCrLf, 0) '设置WMF格式
        status = viSetAttribute(vi, VI_ATTR_TMO_VALUE, 20000) '设置超时
        status = viVPrintf(vi, ":HCOPSmiley Very HappyEST1 'MMEM'" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEM:NAME 'C:\USER\DATA\FILE.WMF'" + vbCrLf, 0) '
        status = viVPrintf(vi, ":HCOP" + vbCrLf, 0) '开始
        Threading.Thread.Sleep(2000)
        status = viVPrintf(vi, ":MMEM:MSIS 'C’" + vbCrLf, 0) '
       status = viVPrintf(vi, ":MMEM:CDIR '\USER\DATA\'" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEMSmiley Very HappyATA? 'FILE.WMF'" + vbCrLf, 0) '
 
        status = viRead(vi, strRes, 16, retCount)
        Dim x As Integer = Val(Mid(strRes, 2, 1))
        Dim y As Integer = Val(Mid(strRes, 3, x))
        VI_txtOUT.Text = retCount
 
        status = viVPrintf(vi, ":MMEM:MSIS 'C’" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEM:CDIR '\USER\DATA\'" + vbCrLf, 0) '
        status = viVPrintf(vi, ":MMEMSmiley Very HappyATA? 'FILE.WMF'" + vbCrLf, 0) '
        status = viRead(vi, strRes, x + y + 2, retCount) '太长时读出为空,容易卡死
        If (status < VI_SUCCESS) Then
 
           MsgBox(" Failed to read from the instrument! ")
 
        End If
        VI_txtOUT.Text = VI_txtOUT.Text & retCount
 

        If strRes = “” Then
             MsgBox(“nothing”)
         Else
             strRes = Mid(strRes, x + 3, y)
             FileOpen(1, Application.StartupPath + "\YouName.WMF", OpenMode.Output) '输出文档
             Print(1, strRes)
             FileClose(1)
         End If
 
        status = viSetAttribute(vi, VI_ATTR_TMO_VALUE, 2000) '设置超时为默认2秒
    End Sub
 
 

if use  viVScanf or  viVQueryf like:

status = viVScanf(vi, "%t", strRes) 

status = viVQueryf(vi, ":MMEMSmiley Very HappyATA? 'FILE.WMF'“ + vbCrLf, "%t", strRes)

 

Sometimes the result is empty, and sometimes the result is “#572676淄茪” 


How to solve the problem of the conflict between“NI-VISA” and “IO library”

$
0
0

 HI

      when i install NI-VISA RUNTIME , My VISA program can't connection instrument.

     when i install IO library , When running NI I/O Trace I get the error "visa32.dll is not built for NI I/O Trace.

    How to solve it?

Control VXI Register Based Cards via GPIB-VXI/C in LabVIEW 2017

$
0
0

Hi All,

 

I am currently trying to upgrade an old Win7/LabVIEW2009 computer system to Win10/LabVIEW2017.  MAX is finding my E8404 VXI chassis and show a "GPIB-VXI" card as "GPIB0:1:0:INST".  This is different from the old "GPIB-VXI0:1:INST" resource ID.  My problem is none of the other VXI cards in the chassis appear in MAX.

 

I have installed NI-VISA and NI-VXI (latest versions for Win10).  How can I get MAX to recognize the rest of my VXI cards and allow the NI-VISA routines to perform register level access?

 

Any ideas?

NI Visa communcation failed

$
0
0

Hi ,

I am getting DLL (VT4034control.dll )opening of visa communication failed error .

we are using RS232 to USB cable ( through converter ) .  pls support to fix this issue

 

Visa opening error.png

How to read block data continuously?

$
0
0

hi:

     I found that I can only read the maximum of 4096kb using “viread”.So I think the max block size of instrument can only be 4096kb.

 

 

              status = viReadToFile(vi, "D:\YouName.WMF", 72676, retCount) 

              the result is  retCount = 4096

 

   continuous  use "viread ",but only first work.

   How to read block data continuously?

 

 

 

 

status = viVPrintf(vi, "Smiley FrustratedYST:COMM:GPIB:RTER EOI" + vbCrLf, 0) 
status = viVPrintf(vi, ":HCOPSmiley Very HappyEV:LANG WMF" + vbCrLf, 0) 
status = viSetAttribute(vi, VI_ATTR_TMO_VALUE, 20000)
status = viVPrintf(vi, ":HCOPSmiley Very HappyEST1 'MMEM'" + vbCrLf, 0) 
status = viVPrintf(vi, ":MMEM:NAME 'C:\USER\DATA\FILE.WMF'" + vbCrLf, 0) 
status = viVPrintf(vi, ":HCOP" + vbCrLf, 0) 
status = viVPrintf(vi, ":MMEM:MSIS 'C’" + vbCrLf, 0) 

status = viVPrintf(vi, ":MMEM:CDIR '\USER\DATA\'" + vbCrLf, 0) 
status = viVPrintf(vi, ":MMEMSmiley Very HappyATA? 'FILE.WMF'" + vbCrLf, 0) 

status = viVPrintf(vi, ":MMEM:MSIS 'C’" + vbCrLf, 0) 
status = viVPrintf(vi, ":MMEM:CDIR '\USER\DATA\'" + vbCrLf, 0) 
status = viVPrintf(vi, ":MMEMSmiley Very HappyATA? 'FILE.WMF'" + vbCrLf, 0) 
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount) 
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)
status = viReadToFile(vi, "D:\YouName.WMF", 4096, retCount)

Error 1074004013

$
0
0

I am trying to read data from a Tektronix MSO 201b Oscilloscope, and then display it to a graph.  The

error I am getting is 1074004013.  Please explain this error. thank you.

 

Viewing all 5564 articles
Browse latest View live


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