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

Cannot see USB device in MAX when using Windows 10x

$
0
0

Thought I would just mention this in case others have had similar problem.

 

Working on a Labview program to communicate with a USB instrument of mine that does not have Labview drivers.

 

The devices manufacturer provided windows drivers and the device can be seen in the devices list of windows when turned on, so that is fine.

 

Next I used the VISA wizard to create the device in MAX and also get its RAW reference.

 

Problem now started when going into MAX device was not there.

 

Updated VISA to latest version 20.0 and refreshed etc but still no joy.

 

Went back to windows 7 pro (swapable hard disks) and went through same proceedure but the VISA version was 15. In any event the device was recognized in MAX and RAW id was cut and pasted into the VISA id for the VISA open vi. Brief operation of this vi flagged no errors so link was present.

 

This is not an issue for me because I can drop back to 7pro for any future USB development for myself but looks like issues if clients are running windows 10?

 

 

 

 


VISA interface

$
0
0

I have NI Vb 8012 for measurement. I wanted to know whether it is visa-compatible. if yes, Kindly do tell how to get visa ID string. Is it necessary to install any additional drivers for this device to be controlled by visa.

The GPIB-USB-HS+ device driver issue

$
0
0

After install the NI-VISA 19.5 driver, and I found the GPIB-USB-HS+ still can't work, NI-MAX guide me to install the correct driver. would you please advise which driver need to install. thanks.

 

driver issue.png

New GPIB can't control

$
0
0

Our company have a software to control Instrument by GPIB-USB. We want have set up 20 more systems. After buy new GPIB-USB, we can't connect on current software by new once But the old once working well always. How can I to adjust it? The pictures are new once. Thanks,

 

Compatibilità GPIB USB con HPLC alliance waters 2695

$
0
0

Buongiorno,

vorrei sostituire la scheda Waters Multi-instrument PCI BUS/LACE Interface Card con un dispositivo GPIB-USB-HS Controller, qualcuno mi sa dire se è possibile?

grazie

Cannot create switch executive virtual device in MAX

$
0
0

I am trying to create a new switch executive virtual device in MAX.  I am working at my desk with no hardware, therefore I am trying to work with simulation.

 

My switch is from Pickering and I have installed their driver.  Their driver session appears in MAXand I created a Logical Name referencing it.  I created a new switch executive virtual device, added my switch, and clicked Next.  I get this error: "An error has occurred while attempting to access device Switch1.  The session handle is not valid (0xBFFA1190)."

 

I have set my session driver's Simulate With property to Don't Simulate, Specific Driver, and nisSwtch.  All three fail with the same error.  I have not set any Hardware Assets.

 

Do I not have something configured correctly?

 

 

DSO-X 3000 Oscilloscope Simulation

$
0
0

How do I simulate a DSO-X 3000 series oscilloscope on NI MAX?
I searched the list of devices, but only find some PCLe's and USB devices that do not know

NI-VISA 4GB ram with linux version.

$
0
0

Hello,
We used a old versión of NI-VISA on linux and we had a problems when we used mora than 4GB of ram, that problem continues with the last versión of NI-VISA for linux ?
We have plans for buy the last versión of labview and use the last versión of NI-VISA, all in Linux version.
Thanks, best regards !


NI GPIB IDN ERROR

$
0
0

I have a GPIB device connected to my system, but I get an error when I try to scan for instruments using *IDN? command. The description says: "Binary Information received" After instrument timeout error is dispayed please find the attached image FYR.

 

Suggest is NI-GPIB card is defective or it can be solve by doing s/w update.

New PCs with GPIB Card Slot

$
0
0

Hello all,

 

Let me just go ahead and make this brief with bulletpoints. 

 

  • I work in a small company and we need to update an automated measurement setup as cheaply as possible
  • Current setup: measurement equipment is pretty outdated (HP) and uses GPIB for I/O to Visual Basic and Excel on a Dell Optiplex GX620 PC
  • I'm trying to convince leadership to purchase LabView and buy a new PC (the PC is for unrelated but legitimate reasons), but for this to work, I need to make sure the new PC can still connect with the old equipment through GPIB. Any additional cost with upgrading the equipment itself will spell doom for this project as I am new here.
  • Equipment make and model:
    • DMM: HP33401A
    • DC Load: HP6060B
    • Power supplies: HP6012A
    • 'Scope: HP54602B (not a critical connection to GPIB)
    • GPIB controllers: KIKUSUI DPO2212A

What has been tried:

  • I laid out a prototype LabView interface with the one license we have available (2013 version) to prove that this would work. It does connect with and control the DMMs so far on a HP PC with Windows 7 (don't have the model available at the moment)
  • The connection works only through VISA GPIB and not GPIB. Looking at the 'Measurement Instruments Explorer' also demonstrated that only with the VISA I was able to *IDN? the devices and go forward from there

 

So given all of these details, the question is what can I do to make sure that the new PC will still connect with the old equipment? I'm looking at hardware specs and see PCIe, as expected. I just want to make sure we don't buy it and find out that it does not have a GPIB card spot available. The port is no big deal since I can borrow it from another computer, but the slot still has to be on the motherboard.

 

Block Diagram of Measurement Setup (Bare minimum)

AnalogEE_0-1590776200231.png

 

 

USB Identification (Barcode Scanner)

$
0
0

Hi everyone,

 

I'd like to use 2- Barcode scanners via USB. So how to specify if I wanna fix text box for receive only one Barcode scanner #1 and text-box#2 receive only Barcode scanner #2.

 

Thanks in advance.

 

PB.

PCI-8232 GPIB

$
0
0

Hello: 

I have an old PCI 8232 Board

I want to know that if the ni 488.2 v2.4 support it ?

And does ni max support it ?

strange is the serial number is 0000000

Tektronix MDO 3034, read data from the scope to PC in CSV format via USB

$
0
0

Hello, could someone suggest the code for getting a measurement from Tektronix MDO 3034 scope?  I need it in CSV format (time column, and amplitude column). I also need code for setting the trigger level, after which the scope willl wait and trigger the next scope waveform reading when the trigger level is deteccted. I downloaded the drivers from the NI site, and "installed" them. Howerever, i don't see them embedded in the instrument pallett, so I am not sure how I am supposed to use those drivers. I have Labview 2014, and the drivers are for the 2016 version, maybe that is why....

Using serial breaks makes the data unreadable

$
0
0

I am programming an application that sends out serial data (RS-232) streams with configurable timing between the messages.  When I experimented with a few different methods of transmitting data I found that setting the "Serial Settings -> End Mode for Writes" to "Break" with a property node after initializing the VISA resource and then setting the "Break Length" property before each write I got the best timing performance.  I did my timing testing while just sending out serial data and using tick counters to see that the appropriate time elapsed for the data to be transmitted and the breaks to occur between messages.

 

Now that I am trying to read the data in I am not receiving what I am sending out.  Instead of receiving the string I sent out I get a single byte (x00) and an error message on every other read:

 

Error -1073807298 occurred at VISA Read in Serial Receiver.vi

Possible reason(s):

VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.

 

There are no errors on the writing side and the return count from the VISA write matches the amount of data that I am sending.

 

Is there something fundamentally wrong with using the break after write mode for controlling the timing of the message spacing on transmit?

 

Do I have to do something special on the reading side to be able to read messages with breaks between them?

 

I tested this with both the PXIe-8430 serial ports and a USB to serial adapter with a loopback connector.  I also tested sending from one port to another with a null modem cable and I get the same thing in all situations.  It works fine if I don't use the break after write mode, but I don't get the timing that I need.

 

Any suggestions will be greatly appreciated.

 

Thanks,

David R. Asher

 

HP4155A Fixture Open

$
0
0

Does anybody know how to solve Caution 30. Fixture Open in HP4155A?

 

There is no solution in the manual that I have.

 

I attach the image of back panel of my instrument.

KakaoTalk_20200604_142149244.jpg


I have this problem when connecting arduino with linx, I tried to disable the ports and use VI to close the VISA sessions but it didn't work.

MAX not showing any VISA devices / interfaces... LV2020 Community + VISA 20

$
0
0

Recently installed LabView 2020 Community and NI-VISA 20.    Opened up MAX to make sure all the drivers were up and running, and I'm getting not much at all.

 

Win10

LabView 2020 Community

NI-VISA 20

 

I've refreshed (F5), reset config data, installed / removed / re-installed / rebooted countless times, removed firewall / antivirus during install.  Installed IMAQ for giggles, those drivers seem to install and are found in MAX.

 

Has anyone had a similar issue?  Back when I used LV2014 I was able to setup a fresh station in an hr flat... it's been three days installed LV2020.

 

Thanks,

-mc

 

 

GPIB on CompactRIO

Using ServiceRequests with .Net

$
0
0

Hello,

 

I am trying to run timed sweeps with an DAQ970A connected via Ethernet using C#. I've included the following libraries:

C:\Program Files (x86)\IVI Foundation\VISA\Microsoft.NET\Framework32\v2.0.50727\VISA.NET Shared Components 5.11.0\Ivi.Visa.dll

C:\Program Files (x86)\IVI Foundation\VISA\Microsoft.NET\Framework32\v4.0.30319\NI VISA.NET 19.0\NationalInstruments.Visa.dll

 

According to my understanding, the best approach would be using Events from an activated ServiceRequest. However, I cannot get it to work. This is my code (for testing I've connected it to an USB port as I cannot disable the firewall on my dev laptop):

using Ivi.Visa; using NationalInstruments.Visa; MessageBasedSession _session; private void SessionOnServiceRequest(object sender, VisaEventArgs e) { StatusByteFlags sb = _session.ReadStatusByte(); Console.WriteLine(sb); } void main() { _session = new UsbSession("USB0::0x2A8D::0x5001::MY58002830::INSTR", AccessModes.None, 1000); _session.FormattedIO.WriteLine("*RST"); _session.FormattedIO.WriteLine("*CLS"); _session.FormattedIO.WriteLine("SYSTem:REMote"); _session.FormattedIO.WriteLine("CONF:RES 1E6,DEF, (@101:140)"); _session.FormattedIO.WriteLine("FORM:READ:CHAN ON"); _session.FormattedIO.WriteLine("FORM:READ:TIME OFF"); _session.FormattedIO.WriteLine("FORM:READ:UNIT OFF"); _session.FormattedIO.WriteLine("TRIG:SOUR TIMER"); _session.FormattedIO.WriteLine("TRIG:COUN INF"); _session.FormattedIO.WriteLine("TRIG:TIM 30"); _session.FormattedIO.WriteLine("ROUT:SCAN (@101:140)"); _session.ServiceRequest += SessionOnServiceRequest; _session.FormattedIO.WriteLine("*SRE 16"); _session.FormattedIO.WriteLine("*SRE?"); var resp = _session.FormattedIO.ReadLine().Trim(); //In Debugger, resp contains "+16" _session.FormattedIO.WriteLine("INIT"); //endless loop here waiting for user to abort }

 

The event is fired two times, the first time sb is set to RequestingService, the second time it is set to 0. That both occurs before the INIT command. However, after that the event is never fired again even after multiple sweeps.

 

Am I missing something here?

 

Best regards

Manuel

IVI Compliance Pkg: IVI class driver examples for LabWindows/CVI? Where???

$
0
0

Looking at the "NI IVI Compliance Package 19.0 Readme" at https://www.ni.com/pdf/manuals/376942d.html it mentions that I may or may not have installed "IVI class driver examples for LabWindows/CVI, LabVIEW, and Measurement Studio". I don't know how to tell whether I have that. I tried running the installer again for IVI Compliance Package 19.0, to see whether I could get to some "repair" functionality to look for that option, but the installer just comes up and says "No operation to be performed.".

 

Also, I don't know where to look on my disk to see whether I have any examples like that. I've done searches under "C:\Program Files (x86)\National Instruments" and "C:\Program Files\National Instruments" and all I see e.g. when searching for "compliance" is stuff like "C:\Program Files (x86)\National Instruments\Shared\MDF\Manifests\NI IVI Compliance Package LabWindows_CVI Support 19.0 {117E7B00-51C6-4B2D-93CE-C46DB0269D37}.xml" that looks like it might be about what I'm after, but I don't find any actual usable files.

 

Supposedly there's good stuff in the IVI Compliance Package, but where the $#&^@$% is it ????

 

Thanks for any help!

Viewing all 5661 articles
Browse latest View live


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