We have to upgrade our networked systems from Win7 to Win10. This system has an NI PCI-GPIB card on it. After successfully (I thought) upgrading the OS, the old GPIB driver didn't work (2.73, I think). I downloaded and ran NI4882_1700f0.exe, and accepted all the defaults. However, the GPIB card doesn't work. According to Device Manager, Driver 17.0.0.49152 is in place, but "This device cannot find enough free resources that it can use. (Code 12). If you want to use this device, you will need to disable one of the other devices on this system." There are fewer devices here now than before I started. I've restarted, reloaded, repaired, and reconsidered. NI Max tells me it is on PCI Bus 3, PCI Device 5, and Status "Present". I thought PCI was supposed to allow hardware to share interrupts? I'm not sure what to do next. Could the card be outdated?
PCI-GPIB, upgrading from Win7 to Win10 not working
Recording and watching data while Agilent 34970A is running
Hi everyone,
I am using Agilent "34970A" for measuring voltage. I would like to make a code and a dashboard with the following requirement :
- Recording data for several days.
- Be able to start and interrupt the recording process at any time.
- Watching data on a table while the Agilent is recording data.
- Being able to gathering data while the laptop is asleep.
I made a code with the Agilent VI box inspired by the "instrument driver examples in Labview"
I use a "conf trigger" to set the "Chanel delay" and the "trigger" and after block "read VI' (see picture attached) but the problem with that code is that I cannot interrupt and watch the data while the Agilent is running. I need to wait until the block "read VI" is finished and then I can see the data on the table.
I also tried to use a loop with a bloc read, so to interrupt to code I just need to interrupt my loop but my code doesn't work when my laptop is asleep and I think there must be an easier way to do it.
Could you advice me ? Any better idea ?
Thanks in advance for you comment
Oliver HUBERT
GPIB-NET/1000のIPアドレス
GPIB-NET/1000のIPアドレスを設定後、Applyのメッセージ以降、画面が更新されずそのままとなり、アドレスが設定できません。OS:Windows7、MAXバージョン:5.5.0f0
HDCP有効→スタティックアドレスの正確な手順をご教授願いたい。
Instrument not displaying in MAX
Hi
I work for a lab instruments company which uses a USB to IEEE converter. Normally in MAX, we see the interface and then an instrument aligned underneath it. In this one customer's case, it does not . The software appears to be working because our software sees and controls it. This happens both for a normal domain user and also an administrator.
Any thoughts on what to check ?
Thanks
John Walsh
Upload from an Electroglas prober
I am having trouble uploading a file (auto alignment data) from an Electroglas 2001 prober using a Windows Forms application developed under Visual Studio 2010. When I write the "UP" command to the prober, the prober's screen shows XIO BUSY as though it is responding to the request, but I never get a service request from the prober - i.e. mygpibdevice.Wait(GpibStatusFlags.DeviceServiceRequest) throws a timeout exception, as does mygpibboard.WaitForSrq(). A serflags = mygpibdevice.SerialPoll(); returns 0x00 in serflags. A statflags = mygpibdevice.GetCurrentStatus(); returns GpibStatusFlags.IOComplete. Any suggestions on why I'm not getting a DeviceServiceRequest from the prober? Anyone have code that successfully uploads a file from the prober?
Keithley 2000 data logging script
Hi all,
I've inherited a script to log resistance measurements from a Keithley 2000 multimeter and have been trying to set it up on a new computer. I've tried both drivers I was able to find online (http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E960B659CE034080020E74861 and http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=248) and tried it in Labview 2017 and 2016.
I'm new to Labview (and coding in general) and have found the online training courses but would like, if possible, a quick fix to start taking measurements again. Is anyone able to get it to run?
Many thanks in advance!
writing serial data through visa to a .csv file
I am working on a project which takes dht11 sensor values from Arduino and transfers it to LabVIEW through visa.The whole idea is to collect real-time data i.e values of temperature and humidity from the sensor and save it in a .csv file.I created a sub VI for data transmission.The problem is the text file shows only 9 values but not continuous values.
RSZVB driver print to file.vi
Hello everyone, I am new on this forum and new to LabView using a GPIB communication.
First of all, my application is to control a VNA using a GPIB communication. Until now everything is fine thanks to the RSZVB driver that I found on the NI download center. I can measure S parameters, do calibration and more... however there is something that I can't success to do : a hardcopy.
Indeed, I would like to make a hardcopy of the VNA's screen then store this copy in a file (BMP or JPEG) to finally send it to the master (computer).
This can be achieved with the vi "Print to file" and "Read File From Instrument" but when I'm using the "print to file" there is no errors but there is not file created or modified on the VNA memory. I looked on other possible directories or in the default directory, there is still nothing (even when I create by myself the file, it stays unchanged).
Of course I do the necessary before asking a print, initialising the VNA and seting the VNA display active.
Concerning the "Read File From Instrument" it's working perfectly.
Is there anyone familiar with this driver and especially this VI (Print To File) please ?
Thanks in advance for your help.
viEnableEvent returns VI_ERROR_TMO, TCP/IP connection
Hi,
I am having trouble enabling events for a callback handler on my Tektronix Scope. I Install the handler, enable the SRQ bits necessary, and then enable the event, but when my code calls viEnableEvent, it returns a timeout. I have attached the NI I/O Trace of the sequence of events.
Thanks in advance for your help.
NI MAX AND NI VISA NO SUPPORTING MY ASF USB(ATMEL with vid=03eb & pid=2423)
i am using NI-VISA Driver Wizard to make driver of my "ASF USB" (ATMEL WITH
VID=03EB & PID=2423) as shown in NI-VISA Driver Wizard.png and you can see
(numberofopenpipes: 0) then i make a driver and it successfully connect my
device then i open NI max to test my usb device ni max detect my device as
can be seen in image (ni max1. png) and when i open visa test pannel it show
bulk in pipe= no pipe present ( as highlighted in (ni max 2.png) and if i set
these value and apply changes it shows an error which can be seen on (ni
max3.png)
NOTE: unzip attached image.zip folder to see all referred images.
what can i do to get my device to properly work with ni visa?
i think NI visa is showing (numberofopenpipes:0) that's why i am having this
issue.
how can it be resolved ?
please provide a possible solution as i am stuck with it for nearly 2 day.
i have tried my USB device with other driver and software and i was working.
RS-232-C Control for Stepper Motor on Mac OS
Hi guys,
I'm an undergraduate student and I've been struggling with this Klinger Motor Controller. The relevant pages from the manual are page 35 on RS-232-C communication.
I'm new to Labview and just this stuff in general. I connected the motor controller to my Mac and MAX saw that there was something connected, however it didn't give me as many options as are shown in many of the tutorials. The only thing I was able to do was rename the connection and open up VisaIC.
I tried sending commands through the I/O panel, but though it was saying commands were being sent, the motor controller wasn't doing anything and I couldn't read any data either (it times out).
I set the motor controller to 9600 baud rate, no parity checking, 1 stop bit, and an 8 bit serial word.
When trying to work with NI-VISAIC it didn't show anywhere where I could enter these parameters to make sure I had a good connection.
I also know really know whether it may be not working because of the syntax I am sending commands in. It should be able to read ASCII commands. It mentions that "all commands should be terminated by a carriage return", and "line feeds must be suppressed". I saw an option in VISA that mentioned something like that but when I tried it, no luck.
I've tried all combinations of commands including:
G
G\n
G\r
N 1000
N 1000\r
N 1000\n
N\s1000\r, etc.
They send but nothing happens. I have no idea what to do next. My advisor is getting impatient because I've been trying to interface with this motor controller for almost a month now, and it wasn't supposed to take this long...
Help with programming low-level VIs for D2XX driver on FT4222
I have this FTDI chip: FT4222H is a USB2.0 to Quad-SPI/I2C interface Device Controller
I must comunicate with it using Labview.
Can You reference me to some good examples of LV code? Can You suggest easy way to realize the comunication?
FTDI Driver API by Ovak Tech. cannot be used in evaluation version
I'm using FT4222H for SPI and Labview.
I have installed the drivers and API found here: http://sine.ni.com/nips/cds/view/p/lang/sl/nid/212767
Problem is that I cannot use functions from this API. When VIs are called I recieve Error 7 saying: Call Library Function Not Found or Missing
In the project tree I see that DLL and Certificate has been moved and it is located in E: disk. There is also seen Yellow ! mark with DLLs and Certificate
My question is: Is it possible to use this API form Oval Tech. for free? Why I cannot use this library in evaluation mode? Why DLLs are not found in the path specified ?
Problem configuring current sweep on Keithley 2450 with LabVIEW
Good day everyone!
I'm currently working on a semiconductor measurement software and I'm using LabVIEW (2013 version), USB, and the Keithley 2450 SMU.
Now, in order, to measure the I-V characteristic of the semiconductor I wish to observe, I need the Keithley 2450 SMU in current generator mode, and measure the voltage. Therefore, I need a series of SCPI commands, to execute the process.
My problem begins, when I ought to use current sweep. The Keithley 2450 SMU won't accept the current sweep command, and the changes, which the command orders. Everything else works, but the beforementioned. Here is the SCPI code I tried (the Keithley 2450 manual also suggests it should work):
//
*RST
SOUR:FUNC CURR
SOUR:CURR:RANG 0.02 % 20mA
SENS:FUNC "VOLT"
SENS:VOLT:RANG 200
SOURWE:CURR:LIN 0, 0.02, 20, 1e-3, 1, FIXED
INIT
//
When I open manually the source sweep setting after I run the SCPI commands, the Keithley 2450 SMU[u] isn't changing the sweep settings[/u], in the graph menu nothing (or noise) can be seen, and of course I always get warnings, trigger model failure, and constant current limit problem.
Could you please help me with the current sweeping problem ? If so, could you suggest the correct SCPI commands ?
Yours Thankfully,
Bence
data acquisition using CR3000 through labview
hi all,
I'm new to Labview and VI stuff. actually i want to acquire temperature and relative humidity data using HC2S3-L probe connected to CR3000 micrologger. i need to connect this to labview. CR3000 is working fine i checked it through PC200W.
I confirmed the rs232 connection through measurements and automation explorer it's present there and working OK.
I think the problem is in my labview coding. i selected the right COM and options are OK for VISA configuration but i don't know why I'm not getting the data. the output i get is ZERO.
can you guys help me here?
thanks
Does VISA still work on Win10 ?
Hello, hello,
I'm trying to get an old VISA for USB LabWindows program I wrote years ago to run on Win10. It worked fine on XP.
1st I had a lot of difficulty to install the generated .inf file as the file isn't signed and Win10 had me jump through hoops to install it.
But when I run viFindRsrc() nothing ever gets found, even with "?*"
The NI-VISA interactive control doesn't find anything either.
I've installed the latest version of VISA and everything else.
Am I missing something ?
Thanks
Connect STM32 via USB using virtual COM port
Hello Everyone!
I am trying to connect a STM32F401 via USB. Using other terminals the communication works fine. Now i want to implement it in LABVIEW 2017.
I started with installing the device driver from the ST for Virtual COM Port
In the device manager everything seems to work fine. But there is a problem accesing the device using MAX or VISA.
It is not possible to open VISA Testpanel. Error Code reads as follows
Error opening resource:
ASRL5::INSTR
VISA: (Hex 0xBFFF0000) unknown systemerror (several errors).
Using the VISA driver wizard i got the message that the drivers are already installed porperly.
Using WIN10 64 bit
Labview 2017 32 bit
MAX 17.0
Any suggestions on how to continue? Can it be possible to acces the port in LABVIEW without having a proper VISA setup?
Thankful for any suggestion, Gu
HOW TO PERFORM CURRENT MEASUREMENT USING KEITHLEY 2700 IN LABVIEW
HOW TO PERFORM CURRENT MEASUREMENT USING KEITHLEY 2700 IN LABVIEW
We tried configure the current measurement using the vi configure measurement.vi
it displays error -221
pl help us
Hex 0xBFFF003A error with Keithley 2400 sourcemeter
Hello guys,
I have a problem that I have been scratching my head with for a week. I have a Keithley 2400 sourcemeter, I want to control it with my computer using Labview. I have done the following steps:
1- I used the Labview Instrument drivers but unfortunately executing any labview driver results in this error:
2- I could communicate with the device using the simple serial communication example. but the device just responds to the write commands. I can set some parameters on the device but I can't read anything.
3- Using NI max I still can send commands to the device, but trying to read the status byte or sending any read commands results in error:
I am using labview 2017, and serial to usb converter (ch340). I don't know where this frustrating issue comes from and I haven't been able to fix it.
Data types for NI 488.2 DLL in Labview
CALL Syntax | Description |
ibask (ud%, option%, value%) | Checks current configuration parameters |
ibcac (ud%, v%) | Become Active Controller |
ibclr (ud%) | Clear specified device |
ibcmd (ud%, cmdbuf$) | Send commands from string |
ibcmda (ud%, cmdbuf$) | Send commands asynchronously from string |
ibconfig (ud%, option%, value%) | Set current configuration parameters |
ibdev (BdIndx%, pad%, sad%, tmo%, eot%, eos%, ud%) | Open and initialize a device descriptor |
ibdma (ud%,v%) | Enable/disable DMA |
ibeos (ud%,v%) | Change/disable EOS mode |
ibeot (ud%,v%) | Enable/disable END message |
ibfind (udname$,ud%) | Open device and return unit descriptor |
ibgts (ud%,v%) | Go from Active Controller to standby |
ibist (ud%,v%) | Set/clear ist |
iblines (ud%, clines%) | Returns status of the GPIB control lines |