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

VISA error 0xBFFF0072 while communicating with Thornton 770MAX

$
0
0

Hello,

 

I am running LabView to interface with two devices at the same time- a IOTech PersonalDaq/56 (over USB) and a Thornton 770Max via RS232. The program I created works fine for the Daq, but I am having issues with the RS232 communication.

When I go into the Instrument I/O Assistant and validate my setting everything seems to work well and the data is properly placed into tokens. As soon as I run my full program the first time no data is displayed on the front panel (I wired the I/O Assistant directly to a string output, all inside of a "While Loop" for data acquisition being active). After I stop the program all NI applications stop interfacing with the Thornton and when I go to validate the settings in the I/O Assistant again I get error oxBFFF0072.

There are no other running programs that would be interfacing with the Thornton. I have also tried doing a full VISA setup as the session in, and then closing it from the session out of the I/O Assistant, and keep getting the same error.

Any help is greatly appreciated.


Code sign VISA raw USB driver for Windows 8

$
0
0

Hi guys,

 

I have written a LabVIEW program that communicates with a USB measurement device using NI-VISA (USB raw class).
With the NI-VISA Driver Development Wizard I created two driver .inf files (for XP/2000 and 7/Vista).
It works like a charm on my own computer (Win 7, 64-bit) and on computers running Windows XP and 32-bit versions of Windows Vista and 7.
I can also get it to work on the 64-bit versions of Windows Vista and 7 by using 'disable driver signature enforcement' prior to installation of the driver.
Once the driver is installed it is listed under 'NI-VISA USB devices' in the Windows Device Manager. After that I can re-enable driver signature enforcement, the device will continue to work, even after a reboot.

 

Alas, in the 64-bit version of Windows 8 it's not that easy. Yes, you can temporarily disable driver signature enforcement, but not on computers that use 'secure boot' and/or UEFI.
I know that are ways of disabling secure boot in the UEFI, but I don't want to that on the computers of our customers. It looks bad and might introduce a lot of security problems.

 

The logical next step would be to sign the device driver. Our company does have a valid kernel-mode code signing certificate and we have signed other drivers with it in the past.
The problem is that I don't know how to sign my NI-VISA based device driver. According to the .inf file it uses WinUSB.sys, a generic Microsoft USB driver (part of the Windows Driver Kit, I believe).
Winusb.sys is already signed by Microsoft and I could replace the signature, but that probably will not work without some inf tweaking and generating a new catalog file.

 

Can somebody please give me some pointers on where to start? As a reference I have attached one of the inf files to this post. This inf file works on Windows Vista and 7.

Is it even possible to create a signed driver based on NI-VISA raw?

Thank you in advance for your help.

 

Paul

What is niorbmap? Shows as rootkit

$
0
0

Hi

 

Sorry Im not sure where to post this as Im not sure what it relates to.

I have drivers (+whatever else was bundled with them) installed for the NI USB-RS232 cable.

Since hten I have done a quick rootkit scan using Spybot S&D which has notified me that the file C:\Windows\System32\niorbmap may be a possible rootkit infection. When I browse to the location the file is not visible - not a good sign.

I assumed from the name and one mention-in-passing here on the forums that it is an NI related file.

Could someone confirm this and if so explain why it may be detected as a rootkit?

Thanks

PXIe 8431/8 on win 7

$
0
0

Dear members,

 

I would greatly appreciate if somebody helps me out the issue im faceing.

 

We bought NI PXIe 8431/8 Serial device and I tried to install its driver on win 7 after setting the hardware properly (put the pxi 8431 on 2nd slot).

Everything passed ok when i installed s/w provided by NI and after finishing it asked me to restart computer and i did.

Computer finds PXIe 8431/4 exactly by its name. Hoverwer the problem is it has 8 ports, nothing appeared.

I mean I had to able to have 8 port to open but no ports available.

 

And I did this steps on Win XP and everuthing is OK. I can open 8 ports and write/read.

 

Could you pls tell me what is problem with Win 7? On the disk of the PXIe 8431/8 there is written that win 7 supported.

 

No idea what to do... I cannot downgrade my OS cuz its licenced.

 

Thanks a lot.

VISA + Testut T501

$
0
0

Bonjour,

 

J'essaie de recevoir la valeur d'un terminal de pesage Testut T501 en passant par Visa Write - Read sauf que le signal reçu est instable.

 

Je joins une photo du Block Diagram ainsi que du Front Panel mais aussi la notice fournissseur de la balance.

 

Merci de m'aider pour avoir la bonne valeur numérique sous Labview !!!!!

 

 

ENET/100.

$
0
0

I have been trying to configure an ENET/100 for use on a powerpc mac.  The ethernet device config utility for the mac doesn't work (it opens and then immediately closes) so I tried to conficgure on a XP system.  The configuration seems to work (the device can be located and appears to have the proper IP address.  Even so, there is a communication problem.  The troubleshooting utility shows that there is a problem with the IP address.  I've been going in corcles with this.  The computer is directly connected to the device so I don't have to worry about network issues.  

DAQ

$
0
0

I have to use DAQ device ELP-PCB-QNET-020 in connection with SCB 68 to stabilize an inverted pendulum.The data is given to the DAQ device through matlab.I have the DAQ device ,inbuilt in my PC.

Is this possible?

Has any body done this?

Does NI has a Self erecting Inverted pendulum model on which i can work on?

How to work with instrument drivers.

$
0
0

I am working on project in which i need to communicate with several instruments. I have downloaded the instrument drivers from NI website, but when i am copying those drivers to the folder where i am saving my project, i am getting that yellow danger( resolve conflict) sign with every .lvlib file. how should i add the drivers so that there is no conflict.

 

i also want to know is it compulsory to install the drivers, can we use them without installing.

 

Below i am attaching the image of the conflict i am getting.


Timestamps on Dnet explicit messaging

$
0
0

Hello,

 

I am using a real time chassis with a PXI-8532 card.  Also troubleshooting and creating classes locally on my machine using a NI-CAN card to test the device messaging.  I am still new to both interface standards and looking to shorten the learning curve

 

After looking through the NI-Dnet user manual for dll functions I did not find a read command, except to poll at a specified rate, that would reference a time stamp like CANOpen does.  I can communicate with my UUT and it works like a charm, but using the real time chassis I wanted to get time stamped commands so that I can build a measurement dataset based upon real time sampling rates.

 

Is there there a way whether using prepackaged VIs or using the raw dll functions to get time stampstamped data in real time or is that beyond the focus of Dnet?  If beyond the scope, can I use CanOpen to achieve this, though convert my explicit messaging method to a CanOpen type command. Would polling the Dnet data and tagging the data based upon polling rate achieve the performance of the real time chassis? 

 

Any help is greatly appreciated.

 

Regards,

Andy

SFG-830 Function Generator serial communication problem

$
0
0
Hi, I am working on my final year project titled as "Web Based Remote Access Laboratory". What i am trying to do: Using Labview web publishing tool i have now remote access to oscilloscope available in my college and everything is working fine and instrument is remolty controlled. Issue: I am trying to connect a arbitrary Function generator with the following Model/Manufacturer details: http://www.gwinstek.com/en/product/productdetail.aspx?pid=5&mid=305&id=97 SFG-830 By GW-Instek, Arbitrary Function Generator. I have downloaded the labview driver provided by the manufacturer and using VISA i have successfully established the serial connection with the instrument and my system. Now, when i run certain VI for controlling instrument (Ex. generating Sine wave or changing function Generator's Frequency etc.), there is no error displayed but the instrument isn't responding. There is no problem in serial communication as i have closely checked all the possible issues related to serial comm. Also VI isn't displaying any error message. Also all setting on the instrument are correct such as baud rate etc. Kindly provide assistance relating my problem as soon as possible as i have to submit my project by the end of my degree program.

AVL smoke meter connection problems

$
0
0

Hi,

 

I have problems to communicate with AVL 415 Smoke meter. The self-made .vi and communication has been working for years, but now when I tried to replace the 415 with 415S something strange happened. The newer 415S did not start to work - it gave time out error. I switched back to old 415 and it gives also time out error. As far as I know, I didn´t do any changes in settings during the swap.

 

The error comes in both cases, when .vi tries to read from the device. The write doesn´t give any errors. I have tried to look the communication with NI Spy and it gives following:

 

4081.  VISA Write ("Smokemeter", ". ASTZ.", 7)
Process ID: 0x0000092C         Thread ID: 0x00000084
Start Time: 12:41:52.497       Call Duration 00:00:00.000
Status: 0 (VI_SUCCESS)

4082.  VISA Read ("Smokemeter", 100, 0)
Process ID: 0x0000092C         Thread ID: 0x00000084
Start Time: 12:41:52.497       Call Duration 00:00:10.000
Status: 0xBFFF0015 (VI_ERROR_TMO)

The similar 415S is running with same vi in other computer without any problems and I have compared the serial port settings, but there seems to be no differences.

 

I have also trid to communication with test panel in Max, but the result are similar. Read gives time out error. Is it so, that write does not give any error though it wasn´t successful? It feels like there is no communication between port and devices at all.

 

BR,

Teemu

LeCroy waveRunner 64Xi with ethernet

$
0
0

Hello i'm having issues in the configuration of this instrument.
I downloaded the drivers from the site and put them in the folder \National Instruments\LabVIEW 2012\instr.lib
but i want to use this instrument also using the SCPI commands.
The first thing that I see is that in MAX I don't find the instrument in the Remote Systems. I did right click and created new but when I set the ip (192.168.32.55) but I got error "Unable to inizialize connection to remote target(s)".
Same problem if I try to write in the example VIs VICP::192.168.32.55
I'm sure the IP written before correct because I got no error with the ping in the prompt C:\
Where is the mistake?

NI 488.2 - 3.1.1 installation error (windows 7)

$
0
0

Hello,

 

I tried to install the NI 488.2 driver to connect an GPIB-USB-HS device on my computer.

All my try were unsuccessful (execute as administrator, desactivate my antivirus software,...).

 

The joined messages appeared.

 

Thank you in advance for your advices

Chroma 61604 Serial Connection through USB Adapter

$
0
0

Hello,

 

I am using a Chroma 61604 AC power Source.  The driver which I am using can be found here: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9172659CE034080020E74861.  I am connecting it to a computer running Windows XP through a USB serial adapter.  The driver says it is GPIB compatible. When trying to communicate to the device I get the following error:

 

Error: BFFF0072

Reference valid but VISA cannot currently access it.

I am not very knowledgable in creating drivers, how can I modify this driver to be serial compatible (if that is the problem)?  Or do I need to use a GPIB to USB converter?

 

Thanks for your time,

 

Kyle Goyette

Sorensen XG series AUX output LabView Control

$
0
0

I have control of the main output supply using the XG Series LabView VI's (DC850W).  I would like the capability of enabling the AUX output via LabView control.  I set the AUX output via the front panel to be on at power up, however when I run the DC850W example program the AUX output gets disabled. 


LeCroy LT264 Lightning Impulse Test Signal Loss

$
0
0

I use Lecroy LT264 oscilloscope to trace lightning impulse test (1.2/50usec waveform). I have driver for labview and use edge triggered example. One impulse is not shown in every three impulse. What could be the reason ? Thanks for your interest.

Resource manager attribute FIND_RSRC_MODE (0x3FFF0190h)

$
0
0

Does anybody knows what is the FIND_RSRC_MODE (0x3FFF0190h) attribute responsible for ? When I communicate with my oscilloscope, I see this attribute being set to 0 in NI Spy.

PXIe-8115 intermittantly starts with CPU in an extremely slow mode affecting both BIOS and OS. (PXIe-1082-BP)

$
0
0

The predominating symptom is "extreme slowness of everything.  The good news is it happens a very approximate 1 time in 100 boots.

 

This was the third time I witnessed it occur and the first time I took time to document its behaviour.

 

Getting through the P.O.S.T.  is slower than usual.

Response to the [F10] (enter boot menu) from BIOS very slow.

Once in the boot menu, switching options very slow.

 

This time I chose to enter BIOS setup instead of booting windows.  To boot windows I will need to restart which will likely not replicate the problem.  But I have seen what happens before with windows.  Several minutes to boot for certain. And I think everything in windows was sluggish as well but not 100% sure it was a while ago.

 

But from the boot menu I chose to enter setup.

The system is so slow that each time I change tabs or open or close a dialog that requires part of the screen to redraw, I can see the redraw area, the blue background for example, redraw in about two discrete steps.  About half the redraw occurs then it then it stalls for nearly half a second then the resto fthe redraw completes.

 

Response to key presses in the interface is extremely sluggish.  anywhere from less than 1 second to 2 or more seconds to respond to a key.  Additionally keys sometimes buffer and sometimes don't. Because of slowness I tend to press an arrow key more than once, but then sometimes it skips past the option I was trying to reach because it buffered the keys and applied them after a delay.  Other times I am patient and press the key only once and wait, but nothing ever happens.  For example right arrow key to move from Advanced to LabVIEW RT takes about 1 second before it completes followed by a sluggish redraw of the next screen.

 

An interesting thing to notice is looking at the system time the seconds only update about once every 8 to 10 seconds.

 

In any case I am pretty certain my system would not function following one of these problematic boots.  The system is powered by a mobile computer power supply which is itself powered by a regulated DC bench power supply.

 

Has anyone else had this problem with the PXIe-8115 on the PXIe-1082-BP backplane.

 

The problem seems to have hardware interupt written all over it.  Its as if some device in the system is triggering hardware interupts thus forking execution time away from the POST, BIOS, boot menu and OS software.  But this is just a guess and I am not familiar enough with that level to know what could generate a hardware interupt that early in startup and that the CPU / BIOS would even be configured yet to respond to it.

Multiple VI's collecting on one DMM/Mux

$
0
0

I have a PXI-4070 mux'd with a PXI-2503. I am trying to create multiple VI's to read the DMM (for example, one VI for voltages on a range of channels, one for resisrtance on another range, etc). Is this possible? There appears to be only one IVI instrument handle for each PXI device and whenever a new VI is run it wipes out the VI that was already running.

 

Thanks.

Unable to select and place Instrument Driver VI icons onto the block diagram

$
0
0

I am trying to automate some RF measurements using a Spectrum Analyzer from Rohde and Schwarz. I downloaded the Rohde and Schwarz spectrum analyzer driver named "rsspecan" version 2.6.1 for Labview from the Rohde and Schwarz website to be used in my labview software version 7.1.

 

I copied the files into the appropriate folders within the Labview software files in the C drive. I am able to access these files through the functions--->Instrument I/O--->Instrument Driver palette in the Labview block diagram but when I select the VI icon which I want to place, I am unable to place it on the block diagram. Instead of hovering below the cursor on clicking the VI icon, clicking the VI icon has no response whatsoever.

 

Any help would be greatly appreciated.

 

Thank You

Viewing all 5662 articles
Browse latest View live