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

can't find iviVisaType.h

$
0
0

I am maintaining a C++ application and when I try to compile it I see ivi.h gets included which in turn requires IviVisaType.h, but I don't have this include file on my PC.  I've tried downloading NI-Visa, but I still didn't end up with a copy of IviVisaType.h.  Can someone tell me what package I need to download to get this?

 

Claude


in NI max, VISA query can work, but write /read not

$
0
0

I am using VISA test panel in NI max to send "*IDN?\n" to a Handler. when  click "query" button, i can get response string "Hontek". but instead if i first click "write" then click "read", there is an error shows( 0xBFFF0015 Timeout expired before operation completed). through IO trace, i saw that "query" also send "write/read" command, so what's the different?

in my VB code, i am using write/read function to communication with instrument and it not work. how could i fix it?

 

Thanks again

Peter

DMM incorrect voltage reading

$
0
0

Hi,

I am trying to read voltage with DMM and LabView.

I installed the driver for DMM and If I run one of examples, I get the correct  value ( -0, 000010V)

But If I run another script, the voltage is incorrect, it measures something between -1 and -6 V.

But if I do the same thing with another PC, this script works properly and measures the same value as example vi. So the script should be fine but why it doesn't work on different PC

I don't know if it is driver issue or something else or maybe just settings are wrong

Is there anything that I can try to understand and solve this problem?

Thanks

Communicating With Keithley 2614B Using LabVIEW Driver

$
0
0

Hello all,

 

I'm fairly new to LabVIEW and I have been trying to communicate with our Keithley 2614B to acquire I-V curve data and monitor change in conductivity over time; however, I'm struggling to even interact with the device using the examples provided by the Keithley LabVIEW driver files for the 2600 models. 

 

I have contacted Keithely and National Instruments and I've done the basic checks: ran diagnostic to ensure keithley and computer are communicating, all drivers are installed and updated, etc. Additionally, with the help of a NI representative I created a simple diagnostic test using LabVIEW for simple communication with the Keithley and that also resulted in a VISA communication error.

 

As shown in the picture provided, when I try to run the example code, I receive a read error. The problem is most likely due to the fact that the VISA resource tab only provides me with options of "COM 1" and "COM 3" but no option regarding the Keithley.

 

I thank you in advance for your help.

 

Best regards,

 

FM

Error thrown with Pyvisa due to gpib_ctypes?

$
0
0

Hi,

I'm using python to talk to instruments over GPIB. My full script runs successfully, but I always get an error thrown in the python window at the very end of the run. I truncated my code to just the root of the issue, shown below. The error is also shown. Due to the error type, I've tried closing all my instruments and types, but no success. The error thrown is the same with and without the bottom portion of the code.

 

Also, I wasn't able to successfully talk to the instruments without the make_default_gpib() command. Calling this solved my issues, so it seems to be required for me.

 

import visa
import gpib_ctypes

from gpib_ctypes import make_default_gpib
make_default_gpib()

rm = visa.ResourceManager("C:\\Windows\\System32\\visa32.dll")
instr = rm.open_resource("GPIB0::5::INSTR")

Everything Below is code added to try to solve the issue
#Issue exist with and without below code
instr.__del__()
instr.close()
rm.close()
del instr
rm.__del__()
del rm

Error:

Exception ignored in: <function Gpib.__del__() at 0x02f60bb8>
Traceback (most recent call last):
     File "C:\Python37-32\lib\site-packages\gpib_ctypes\Gpib.py", line 37, in __del__
     File "C:\Python37-32\lib\site-packages\gpib_ctypes\gpib\gpib.py", line 230, in close
gpib_ctypes.gpib.gpib.GpibError: close() error: Iberr 23, invalid handle

Any help is greatly appreciated.

ActiveDSO WriteString Lecroy HDO 6054 Oscilloscope

$
0
0

I'm trying to look for other WriteString methods for Visual Basic but I only found one on ActiveDSO reference which is the Call o.WriteString("VDIV 50mV", True).

 

Can someone send me all the WriteString methods Visual Basic?

I found this Python example

scope.WriteString("VBS app.Measure.ShowMeasure = true",1) #Automation command to show measurement table

scope.WriteString("""VBS 'app.Measure.P1.ParamEngine="Mean" ' """,1) #Automation command to change P1 to Mean

scope.WriteString("VBS? 'return=app.Measure.P1.Out.Result.Value' ",1) #Queries the P1 parameter

Running niDAQmx on Opensuse 42.3, OSError: libavahi-client.so.3:

$
0
0

Hi all, 

 

I'm trying to set up a logger on linux with nidaqmx. As only a selection of distros are supported, I decided to use the opensuse:42.3 image. I suppose I followed the instructions, but still I'm getting 

 

OSError: libavahi-client.so.3: cannot open shared object file: No such file or directory

 

Did I miss something? Here's my Dockerfile

 

FROM opensuse:42.3

COPY rpm_OpenSUSE423.rpm /tmp
COPY getpip.py /tmp


RUN rpm -vi /tmp/rpm_OpenSUSE423.rpm
RUN zypper -n update
RUN zypper install -y ni-daqmx
RUN zypper install -y python3
RUN /usr/bin/python3 /tmp/getpip.py \
&& pip install --upgrade pip

COPY requirements /tmp
RUN ln -s /usr/bin/python3 /bin/python \
&& pip install -r /tmp/requirements

 

Thanks for any suggestion!

 

p.s. not sure if this is the right place on the forum

ActiveDSO WriteString Lecroy HDO 6054 Oscilloscope

$
0
0

I'm trying to look for other WriteString methods for Visual Basic but I only found one on ActiveDSO reference which is the Call o.WriteString("VDIV 50mV", True).

 

Can someone send me all the WriteString methods for Visual Basic?

I found this Python example

scope.WriteString("VBS app.Measure.ShowMeasure = true",1) #Automation command to show measurement table

scope.WriteString("""VBS 'app.Measure.P1.ParamEngine="Mean" ' """,1) #Automation command to change P1 to Mean

scope.WriteString("VBS? 'return=app.Measure.P1.Out.Result.Value' ",1) #Queries the P1 parameter


Modifying Keithley 2600 Driver Example Code

$
0
0

Hello all,

 

I have been attempting to use the example code provided in the Keithley 2600 series driver to develop an IV curve and monitor change in resistance with respect to time. The "KE26XX Config Source & Measure" example VI allows for single measurements of voltage, current, IV, and resistance values per each run sequence. I would like to modify this code to:

  1. Continuously measure the selected value of interest until the program is halted or have a time frame to run and record (the continuous run button does not achieve this)
  2. Take the current output, which is in string form, and put it into a numeric array where the 'x' value is the input and the 'y' value is the output 
  3. Take the array information to develop plots 

I have tried using the string conversion functions for inputs into an array and then deciding the array into 'x' and 'y' sets in order to plot but it has been unsuccessful. I have attached the file in question to this post and I'd greatly appreciate any help.

 

Best regards,

 

FM

Tektronix AFG 3021C Duty Cycle Control examples

$
0
0

Hello, 

 

I have a AFG 3021C and I want to have a pulse signal and able to control the duty cycle. I tried using the examples provided with the driver but I am currently stuck. Any articles or examples are greatly appreciated. 

Voltech PM100

$
0
0

Tengo un instrumento Voltech PM100 y NO logro obtener datos como Voltaje, Amperaje y watts para trabajar con ellos, se que la interfaz GPIB esta funcionando pero no logro sacar ningún dato del dispositivo por que me marca error al intentar leer y no se como acomodar mi VI para lograr esto, adjunto mi VI

LV application closes when i try to look for a Visa resource name

$
0
0

Hello, I'm working on a PIC / LabVIEW USB transmission, the PIC is configured as a HID device, I've installed the driver generated by VISA Driver Wizard, etc. I generated an application with LabVIEW, installed it on a a couple of PC's with Windows 10 (without VISA or LV installed, only the resources generated by the "app creator") and it worked. But on Windows7, the application crashes when I try to look for a VISA resource name. It shows an "APPCRASH" error, and indicates that the error occurs on the module nivisa64.dll, can you help me?

Thanks.

 

GPIB card for an Instron 4206

$
0
0

I am putting an old Instron 4206 back into service and want to apply an old version of Series IX (version 11050, Windows 2000).  Need to interface the computer with the Instron control unit and want to know what type of GPIB board I need for the computer.  Hoping to do this without getting Instron involved considering they will probably ask me to upgrade.  I used this same Instron at my former company and know it was a National Instruments board (unfortunately they ditched the computer before I was able to acquire the system). Can anyone assist?

Unable to communicate with equipment using GPIB-USB-HS

$
0
0

Hello community!

 

I am currently using a gpib-usb-hs to communicate with my Agilent 6611C via python but when I run the code I get the following error:

 

"pyvisa.errors.VisaIOError: VI_ERROR_INV_SETUP (-1073807302): Unable to start operation because setup is invalid (usually due to attributes being set to an inconsistent state)."

 

Code used: 

 
import visa
 
rm = visa.ResourceManager()
 
dev = rm.open_resource('GPIB0::0::INSTR')
print(dev.query("*IDN?"))
 
Has anyone come across a similar issue and have been able to solve it?
 
Thank you in advance for the attention!

USB-6343 Help

$
0
0

I would like to apologize if I posted this is in the wrong board. 

 

Our facility has the NI USB-6343 and is connected to a Dell Optiplex 7460 AIO. When we plug the USB-6343 into the computer the computer will turn on but will not load past the dell sign. When we unplug the USB-6343 then turn on the computer the computer starts and loads windows 10 with no issues. We then can plug the USB-6343 into the usb and it works just fine. We have reviewed devices and USB-6343 is listed. We are using NIDAQ 17.1. As much as it is easy to say leave the computer on, we shut it down at the end of the shift.  

 

Checked BIOS setting and all USB front/rear are enabled.

Updated windows drivers for usb

BIOS firmware has been upgraded

 

1) What is the make/model of your computer? Dell Optiplex 7460 AIO

2) Does the device show up in Windows Device Manager? Does it show up as a "Unknown Device" or somewhere else in the device manager tree? Shows up as USB-6343

3) What version of DAQmx (the driver) do you have on your laptop? 17.1

4) Do you have any activity on the LED lights on the front of the 6343?  If this connected to a good power source as well as the USB cable? Yes there are LED lights on. New USB Cable and even tried another one. 

 

Could it be the USB-6343 and the AIO are not compatible? It doesn't make sense it would work after windows has loaded. My first thought was the BIOS needed the firmware to be upgraded, but after that it did not fix the issue. 

 

Any suggestions?


-410 "Query interrupted"+0, "NO ERROR"), code -1074000000

$
0
0

Hi all,

I have a problem with a multimeter Keithley 2100, connected by USB. At one point of my measurement, the VI called "Keithley 2100 Series.lvlib: Data Read Single" (please, find the 1st screenshot on the block diagram when the error happens) throws this error: (-410 "Query interrupted"+0, "NO ERROR") with the code -1074000000.

There is a lot of entries about this error, but I don't get it how to solve it, at least in my case.

I tried to change the "bytes" from 4096 to 8192 but the same problem remains (2nd screen shot), where you can see the number that exits VISA Read (7,4642016*) (btw, what does it mean that asterisk?)

The 3rd screenshot is from the Error query VI, that come after the VISA Read, that is actually showing the error (left loop).

More: Im using LV 2018, VISA 2018 and windows 10

Any help is very well appreciated. Thanks a lot in advance. 

Cheers 

Agilent 33250A driver for LV 2013

GPIB-USB-HS+ not return the *IDN? string

$
0
0

Hi All

Recently we purchased two GPIB-USB-HS+ units and it does not return the *IDN? string
while some (purchased earlier/same model) return the *IDN? string.

I used the same instrument(Anritsu Synthesizer MG3694B)/setup to verify the *IDN? string while some return
and some don't return.
I tried GPIB-USB-HS+ and GPIB-USB-HS as well.
Also I tried installing the latest driver (Version:NI4882_1760f0) and old versions.

 

Köpa original ochfalska körkort, pass,ID-kort, visum, födelseattest, Skola #Diplom,. (((((((((fernando22clinton@gmail.com))))) Skype……………….. alldocuments Ansökomriktiga register pass, visum, körkort, ID-kort, äktenskapcertifikat, diplom etc. föratts

$
0
0

Köpa original ochfalska körkort, pass,ID-kort, visum, födelseattest, Skola #Diplom,. (((((((((fernando22clinton@gmail.com)))))


Skype……………….. alldocuments

    Ansökomriktiga register pass, visum, körkort, ID-kort, äktenskapcertifikat, diplom etc. förattsälja. Pass, medborgarskap, ID-kort, körkort, diplom, examina, intyg service. Turist- ochaffärsvisumtjänstertillgängligaförpersonerialla 50 staterochallanationaliteteröverhelavärlden. Viärunikatillverkareavautentiskahögkvalitativa pass, Real Äkta Data Base registreradeochoregistrerade Pass ochandramedborgarskapdokument. Vikangarantera dig en nyidentitet med utgångspunktfrån en rennyäktafödelseattest, ID-kort, körkort, pass, social trygghetkort med SSN, kredit-filer, ochkreditkort, diplomskola, skol grader påettheltnyttnamnutfärdatsochregistrerasidatabassystemetregeringen. Vianvänderhögkvalitativutrustningoch material förattproduceraäktaochförfalskadedokument. Allahemligafunktioneriverkliga pass noggrantduplicerasförvåraregistreradeochoregistreradehandlingar. Viärunikaproducentkvalitetsfalskaochverkligadokument. Vi erbjuderendastursprungligahögkvalitetregistreradeochoregistrerade pass, Bilister licenser, ID-kort, stämplar, Visa, skoladiplomochandraprodukterförettantalländersom: USA, Australien, Belgien, Brasilien, Kanada, Italien, Finland, Frankrike, Tyskland, Israel, Mexiko, Nederländerna, Sydafrika, Spanien, Storbritannien, etc.

KONTAKTA vårasupportrar

Kontaktaosspå>>>>>>>>>>>>>>>>>>fernando22clinton@gmail.com

Skype……………….. alldocuments


Beställanågon UNIVERSAL DOKUMENT DIN behov

• PASS
• ID-kort
• Social trygghetkort
• körkort
• KanadaKort
• USA Kort
• Studentkort
• International Kort
• PrivataKort
• AntagandeCertifikat
• DopCertifikat
• FöddCertifikat
• Death Certifikat
• SkilsmässaCertifikat
• ÄktenskapCertifikat
• AnpassadCertifikat
• High School Diplom
• G.E.D. Utbildnings-
• Home School Diplom

• College Degrees
• universitetsexamina
• Handel SkicklighetCertifikat
• Validera SSN Antal
• USA grönakort
• Förfalskade dollar / euro
• Spy produkter
• Röstväxlare
• avlyssningsutrustning
• Osynligtbläck
• DMV Record Förfrågan
• Bakgrundskontroll
• UndersökaNågon


KONTAKTA vårasupportrar

Kontaktaosspå>>>>>>>>>>>>>>>>>>fernando22clinton@gmail.com

Skype……………….. alldocuments



Registreradeochoregistrerade pass iallaländer. Visum, biometriska pass, grader, körkort, id-kort. Utbildningsbevis M GCSE, A-nivåer, High School Diploma Certifikat, GMAT, MCAT och LSAT typintyg, Novelty födelse, vigselbevisochdödsattester Novelty Pass ochnyidentitetpaket, replikeras Real Grader / Diplomfrån de flestaeftergymnasialainstitutionerfrån runt omivärlden (vi haröver 3000 mallarpåfil) allaärutformadeföratt se 100% identisk med originalet. Custom Printing (om vi interedanharmallenpåfil - baramailaoss en kopiaoch vi kangöranågraändringar / ändringarenligtdinariktningar) .second, medborgarskap, identitet, identifiering, dokument, diplomatisk, nationalitet, hur man, var du kan, få, få, köp, göra, byggaett pass, id Brittiskt, Honduras, Storbritannien, USA, ossKanada, kanadensiska, utländskt, visum, Schweiz, kort, ids, dokument

Köpariktiga DOKUMENT

vårakontakterinkluderar ex privatdetektiver, konsulat, högtuppsattaregeringspersonalensocherfarnaerfarnaexperter, vi harfastaförbindelser med högre personal s påallaområdenavverkligaregisterhandlingaroch pass förändringidessaländersomärkopplade till passbyrånivartochettavdessaländeroch med hjälpavsinaförbindelser, allavårakunderkrävernågonmedborgarskapdokumenteller pass frånallaländer 100% säkersamtgaranterasattfåmyckethögkvalitetverkligaäktaregistreradedokumentsomaldrigkanidentifierassomfalska !! Inteens en kompetensanpassadtjänstemanellermaskinnågonsinkandikteradokumentsomfalska, eftersomdokumentetärinteskiljer sig från Real regeringenutfärdade! AllavåraverkligaäktadatabasRegistrerademedborgarskapsdokumenthardinapersonuppgifterregistrerasidatabassystemoch 100% maskinläsbara. Känn dig friattfåytterligare information omvåratjänster. Hoppasatthittaettsättattsamarbeta med er. Om någonavdessaprodukterintresserar dig, är du välkommenattkontaktaoss. Vikommerattge dig vårtbästapris vid mottagandetav din detaljeradeförfrågan.

 

 

 

Error message Hex 0xBFFF00AA with Keithley 2400 sourcemeter

$
0
0

I've been trying to connect a Keithley 2400 Sourcemeter to a computer using a GPIB USB HS device,

I'm certain that the device drivers have been installed correctly as the device shows up on the VISA interactive control window.

However, whenever I try to send a command I get an error message saying that the interface is non-genuine and that I should contact National Instruments for support.

I wasn't entirely sure where exactly to ask so I decided to ask here, if this is the wrong place, would you kindly direct me to the correct place?

 

I have attached the error and an image of the GPIB device

Any help would be appreciated

Viewing all 5676 articles
Browse latest View live


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