i want to interface Atmega8 microcontroller through usb.please tell me how to it
I have a problem, any one else can help me
SQR stuck in ON position
Hi all,
I have a program written for collecting raw image data from images which are saved in a folder. I used "Read BMP File.vi" for collecting raw data. The code was working fine initially....But now it shows an error message " SQR stuck in ON position".
please help me to solve this.
attached code and corresponding screenshot.
Device does not show up in VISA resource name list or MAX
Hello,
I have an issue with my R&S HMP2030 power supply.I have it connected to the PC via a USB cable. I selected the USB mode on the device panel and installed the drivers supplied by the company. The problem is, that I can not see the device, or any USB device for that matter, when I try to select the VISA Resource Name. The deice does not show up in NI MAX either.
I tried using the NI VISA Driver-Wizard to make a driver but even after I made a certificate and signed it windows(8.1) would not accept it. I just got a message saying an error occurred, with no details as to what that error was.
What am I doing wrong? Could you please help me.
Regards
WANTED 488-PC1A board
I know this is a long shot being the board were made somewhere around 1988, but I am willing to purchase any 488-PC1A cards that anyone has in inventory. These cards are made by ICS for the ISA slot and use a very specific memory range.
Device Keithley 6517A for reading voltage output
Hello,
I use the device Keithley 6517A as a voltage supply and as a current reading.
I use the vi "V-Source Output.vi" to select the voltage value in output (-1000 V to +1000 V) and after, I do a reading current.
Before doing my current reading, I would like to check that the output voltage is correct. Does anyone know if it is possible to know this output voltage?
Thank you.
I/O Error for USB-Serial on Win10
We've got a device that uses a Cypress EZ-USB FX1 configured for CDC USB-Serial interface with the latest Cypress drivers. We're using NI-MAX with Switch Executive to interface with the serial device. I've setup the driver session to use a custom dll that uses the following settings:
VI_READ_BUF | VI_WRITE_BUF = 4096 bytes
VI_ATTR_WR_BUF_OPER_MODE = flush on access, same for RD mode
NI Spy shows that viOpen, setTimeout, set buffer sizes seem to work. Then we call a particular function implemented by the flashed FX1: setRelay(...), which elicits an I/O error having status 0xBFFF003E. (also, the relay gets set properly, I can hear the physical device switching, and the function returns nothing for the host to read).
However, doing the same thing manually in the VISA test panel works without error. Also, this used to work in Win7 with the old Cypress Win7 driver.
I've tried a bunch of stuff and haven't found an answer yet. Could someone here point me in the right direction?
Thanks
NI DAQ interactions with a temperature control unit
Unfortunately, I will not be able to provide a screenshot or exact data. But here's the issue. We're needing to run a 5V PWM from an Arduino uno r3 through a Wavelength Electronics PTC K-CH 5. When hooking up the DAQ to the unit it's been reading as a certain voltage equivalent but once disconnected and reconnected, the value changes, any suggestions? When checking online, the most frequent solution has been an RC Filter.
Ni 8452 I2C SCL
I have ni 8452 and i am working I2C. My problem is that I send example c code to device but i don't observe any clock waveform or data on oscilloscope. Can you help me? How can i see clock waveform. Also, i use pull up resistor.
Writing LabVIEW drivers for UR5e
Hi
We intend to use the Universal Robot's model UR5e with LabVIEW. The communication protocol intended to use is Ethernet (TCP/IP over Ethernet) to control the robot. Please suggest as to how can we develop the drivers for the UR5e- LabVIEW interface and communication.
Thanks in advance!
Sweep not measuring nanoAmps or microVolts
Hi everyone.
I apologise if this is a straightforward question.
I'm using a Keithley 2410. I have a vi (modified from the NI example IV sweep code, labview 15) that performs a logarithmic sweep between -1e-6 and -400 Volts, and back again. The results are then sent to an external file, using the Write Measurement to File subVI, the data is converted using Convert to Dynamic Data.
The code executes successfully.
However: the sweep only records the current to the microAmp, and the Voltage to 10mV (it records 0 until the sweep reaches these values). I need it to measure to nanoAmp, and to microVolt.
I could get the precision I need manually, but I'm hoping there is a setting I've overlooked that means I can still use the labview code.
The instructions sent to the Keithley are:
:_SOUR:FUNC VOLT
:_CURR:_PROT 5E-6
:_SOUR:VOLT:_STAR -1E-3
:_SOUR:VOLT:_STOP -400
:_SOUR:_SWE:_POIN 50
:_SOUR:_SWE:_DIR UP
:_SOUR:_SWE:_SPAC LOG
:_SOUR:_DEL:AUTO OFF
:_SOUR:_DEL 1;
:_SENS:FUNC:CONC OFF
:_SENS:FUNC "CURR"
:_SENS:CURR:RANG 5E-6
:_SOUR:VOLT:RANG:AUTO ON
The instructions are repeated on the downwards sweep, with the exception :_SOUR:_SWE:_DIR DOWN
Thanks for your help
Agilent E3633a DC power supply wont stop beeping!!
I am using VISA commands to control an agilent E3633a DC power supply given some other commands in a for loop. Every time I write with a VISA command, which is inside a for loop, the power supply beeps and it is beyond annoying. There is no errors that I can find in the VI or on the power supply, is there a write command to make this thing stop?
I don't want to have to resort to doing a hardware fix but I am open to new ideas.
GPIB To RS232 Converter Status
Hello,
I'm using the GPIB To RS232 device to communicate with a Stone age DMM and PSU, as they don't have ethernet or even serial!
The issue I have is I need to initialise my system before allowing the user to begin doing anything which includes checking the GPIB is working.
Usually you would just ask a downstream instrument for something like *IDN? However the instruments have to remain off until the user has done specific setup criteria, which are on the software screens.
Is there a way I can ask the GPIB converter directly for an ID or health status to prove out that the hardware interfaces are setup and working?
If there is a document that contains all GPIB To RS232 device specific commands this will allow me to pick an appropriate one.
Remembering with this issue there are no downstream devices active at the check time required.
VISA - Queueing
Is it possible to have a Enqueue -> Dequeue -> Enqueue in the producer loop from the producer-consumer architecture? The Enqueued elements are strings from the VISA port
I need to have a pre-procedure where the current element needs to be matched first from the queued elements before sending it to the consumer loop
Help with GPIB driver on Ubuntu
I try install ni4882-2.9.1f0 driver on ubuntu 14.04 with command bash ./INSTALL--nodeps and hava error as bellow:
Installing NI-488.2 version 2.9.1f0... Pre Installation . Post Installation . Pre Installation ............ rpm: RPM should not be used directly install RPM packages, use Alien instead! rpm: However assuming you know what you are doing... Preparing... ################################# [100%] file /usr/local/natinst conflicts between attempted installs of ni4882ki-2.9.1-f0.x86_64 and nipali-2.8.1-f0.i386 file /usr/local/natinst conflicts between attempted installs of nispyi-2.8.0-f0.i386 and ni4882ki-2.9.1-f0.x86_64 file /usr/local/natinst conflicts between attempted installs of niiotracei-3.0.2-f0.i386 and nimdnsresponder-2.1.0-f0.i386 Error installing NI-488.2 2.9.1f0. Installer is aborted.
NI 4072 - Autoranging function
I'm using an NI 4072 to measure a voltage which I expect to be around 0V. There's some noise, so I am taking 50 samples and arriving at a mean to return to a higher level function.
I was surprised to see that there were some NaNs being returned a the mean value. After all this is a 300V capable DMM and I'm measuring about 1.0V pk-pk AC noise on 0V DC. Taking a closer look, I added an indicator to show what range had been selected by the DMM (it's set in Autorange) and I noticed that it was 1V. So, I could see in my raw sample array a lot of values which were very close to 1V and given that there is the occasional NaN, I am obviusly 'sampling' voltages in excess of 1.05 (105% is the NaN overrange limit).
OK, so for my application, I could select 300V range and still get 1mV resolution which is fine for me, but it begs the question, how does the auto-range function work? Of course, I understand the objective of trying to maximise 'dynamic range' of the instrument, but I would question the sampling/filtering regime in place for the auto-range selection. If the peak value is *so* close to 105% of the range selected, doesn't that risk returning (unhelpful) NaNs?
So I would alert users to the potential for the auto-range to deliver a range setting whose maximum is very very close to the value being measured - such that if a variation in the value measured occurs within a sampling period it will return NaNs...at the same time wondering what have I missed about using this instrument that I have fallen 'victim' to this behaviour?
TIA
Write a string through labview on lcd connected by I2C to arduino nano.
Hi, I'm new in VISA and i need to send a max value of a data array to a lcd that I connected to arduino nano by I2C protocol.
I saw a lot of tutorial of send a string without I2C protocol, but I need to know how to do that with an arduino nano and a 16x4 lcd connected by I2C protocol.
I downloaded Arduino and MakeHub libraries to try to do that, but i can´t found the I2C method to send the value to the lcd.
Please, someone send me a block diagram with the solution or a guide.
Please someone send me a block diagram with the solution or a guide.
System.AccessViolationException Setting VISA Session Timeout 0xc0000005
We are seeking the community input on an exception with which we have been struggling for a couple of weeks.
The following exception occurs when setting the timeout of the open message-based session causing the application to crash:
System.AccessViolationException at NationalInstruments.Visa.Internal.NativeMethods._SetAttributeUInt64_64(NationalInstruments.Visa.Internal.SafeVisaHandle, Ivi.Visa.NativeVisaAttribute, UInt64)
The hardware and software we are using are:
VISA: 18.0
NI488.2: 17.6
Device: USB-GPIB-HS+
Windows 7 x64
Application: Visual Studio Forms application
.NET Framework: 4.6.1
Instrument: Electroglass Prober EG2001
The crash occurs with a VISA Message-Based Session open to this particular instrument with service request handling enabled. The session is capable of querying the instrument but crashes when trying to set the timeout. The service request handler was isolated to just count the number of requests. But, due to the crash, the count is not accessible.
Per the attached events file:
Faulting module name: ni4882.dll, version: 17.6.0.49153, time stamp: 0x5a329b47
Exception code: 0xc0000005
Chroma 61505 Ethernet
Hey everyone,
I am doing a team project for my university in which I should use the Chroma 61505 via Ethernet. The problem is, that I dont know first off all, which of those Initializing drivers to use. I looked up the help manual of Chromas but it doesn't quite help because with either Initialization blog, first of all, there is no TCPIP option showed, and second of all if that option is at least indicated in the help menu, like in the vi I used for this example, it doesn't work using the proposed syntax. I achieved to install the chroma on NI MAX and to ping it via comand, but it only showes the error:
Error -1074135040 with Chr61XXX Init Interface.vi
Driver Status: (Hex 0xBFFA0000)
I used the driver provided by Chroma on this homepage
http://www.chromaate.com/drivers/index
I use Labview 2018 32bit version with all other software updated to earliest level
It would also help me if someone could provide me just the right order of VIs to use for ethernet with maybe even the ethernet configuration.
Thanks
How to receive 'null' character' in serial communication through VISA?
Hello guys.
I am using PCIe 8431/8 board and trying to receive data from device. Devices are sending data including null character which is 0x00 in ASCII code. In Labview, null character is successfully received, but in Visual C++, it stops and shows error message.
I used both viRead and viScanf, but everything was failed... Is there anyone who knows how to receive null character in serial communication?? Thank you.
NI VISA y drivers
Hi everyone,
I want to control a PNA n5242 (Agilent) with Labview, but I want to install LV on the internal PNA computer, but I should not install NI VISA to make PNA's IO Control structure works properly (according to agilent support).
My first question is: are there any LV version that automatically install NI VISA (so I can avoid it)?
Then, I want to use NI drivers (Keysight PNA Series Analyzer: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=5A30F59F23F63E7AE05400144FF8B5B5), but it is said to require NI-VISA 5.4. Will they work with Agilent's VISA?
Sorry for my lack of understanding in this matter.
Thank in advance!