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

NI GPIB drivers installation error in red's line 6.7

$
0
0

Hi to all.

Here I am getting error while updating NI GPIB 488.2 Drivers in Redhat Linux 6.7 version.Its been giving error as Labpalu.so library is failed to initialise. 

I was installed NI VISA 15.1.1 Version with proper configuration before installing GPIB 488.2 Driver.

My system configuration is 64 BIT O.S of  Redhat Linux 6.7 with 4 GB RAM.

 

While I am using 1 GB RAM,Its was been installed correctly, but while I am using 4 GB RAM,its been giving error.

 

Here I mandatorily use the 4GB RAM version.Please give your kind suggestions to make me out of this problem.

 

Thank you in advance.

 


Communicating with a Hasomed RehaStim stimulator in Science Mode

$
0
0

Hello.  I am working on an application to apply Functional Electrical Stimulation (FES) in a clinical research setting.  We use this stimulator in "Science Mode", in which it can be commanded via a virtual COM port using the FTDI driver.  I am attempting to communicate with the stimulator using NI-MAX.  As you can see from the attached images, I have set the port settings in both Device Manager and the VISA test panel to those indicated in the manual (115200 8N2).  I can write to the device, but I recieve a timeout error when attempting to read.  I've been Googling all day to no avail... can someone help me troubleshoot?

 

Thanks,

-Jamie

Real time derivative

$
0
0

Hello folks,

 

I am preparing a labview program to acquire analog input data from a position sensor. The goal is to pass this signal through a derivative (or a general transfer function) and send it to an analog output in real time. It will be done with the USB 6211 for now.

 

Now, for discrete filters/derivatives/transfer functions I need the actual signal at time t=n, but also some past signals at t=n-1, n-2... The thing is that the time-stamp of each acquired signal point should also be known in order to calculate time differences. I guess that the only way to do this is to use a shift register to save past values and the "tick count". Should I place the DAmx and tick count next to each other in a stacked time loop?

 

Thanks

Lysander

New to motor control- need suggestion

$
0
0

Hi,

 

I am trying to control 2 motors through LabView and i am searching for a NI cheapest daq device or other brands to do it

 

my motors:

1. Bipolar   ( 42BYGHM809)  4lead   (http://cdn.sparkfun.com/datasheets/Robotics/42BYGHM809.PDF)

2. Unipolar (M061-FC02)  6 lead     (http://www.wimb.net/index.php?s=slosyn&page=3)

 

driver:

both of my motor will use the driver SD8825   (http://files.panucatt.com/datasheets/sd8825_user_guide.pdf)

since unipolar driver can be connected like bipolar.

 

the motion of the motor is very small, about 0 - 5degree every 30 min.

Additional question: since this is my first time in motor control, how should i wire the step and DIR from the driver to the MCU?

 

thanks

Multiple VISA TCP clients possible?

$
0
0

I have multiple parallel Labview client threads communicating with single TCP socket server. The design works fine if I use Labview TCP library.  Each client preserves a unique TCP client connection ID. The clients connect to the same server port and the server starts a separate thread for each client connection and preserves unique connection ID for each thread.

 

I would like to switch Labview clients to VISA TCP socket protocol for a number or reasons. I tried opening a unique VISA session to the same VISA server socket with "duplicate session" set to TRUE. After some testing it looks to me that the clients are, in fact, share the same VISA TCP connection nevertheless. In other words, even if I open duplicate VISA session, the unique TCP connection is not preserved for following calls to VISA write and read using this VISA session ID.   I don't  see other options in VISA library. 

 

Is it possible to have multiple unique VISA TCP socket session in Labview at all?

NI MAX crash on exit

$
0
0

I find that NI MAX v 15 and v 16 crash upon exit with error  "Noncontinuable exception (0xC0000025) at EIP=0x00000000". It happens every time on every computer. I've been sending error reports to NI for a year a so, I wonder if someone would like to take a look at this, It's getting a bit embarrassing for me when peddling NI products to users.

PXIe-5162 Problems

$
0
0

Trying to calibrate a PXie-5162 in Calibration Executive 3.6.4 using the Rohde&Schwarz NRP-91 Sensor. I have it so that NI Max sees it but for some reason  Cal Exec won't see it. I have the 3 software/drivers installed that is required:

         NRP Tool Kit 3.1.0

         NRP-NI-VISA Passport 2.4.1.0

         NRP-Z LabVIEW Driver 2.32

Any ideas what I am doing wrong?

Thanks in advance!

 

8431/8 schematic

$
0
0

Hello,

I work for ABB Inc out of Bartlesville Oklahoma. From time to time we have issues with the 8431/8 operating at 9600, no parity, 8 bits and 1 or 2 stop bits.  I think the issue comes in 3 parts and I will try to ask the questions in terms of issue priority.

 

Bus Turn Around time when running as half duplex in 2 wire automode. How soon after the last byte leaves the UART does the processor turn the transciever from transmitt mode to recieve mode. Is the input buffer available immediately on turn around or is there a built in delay?

 

I see from data on the PCIe-8431/8 422/485 that the biasing resistors are not the PCBA with no options to put them in the cable. This last part is an assumption based on what I can find on the 68 pin header. No positive supply voltage, no way to bias the individual ports. This means the we as users have to find a way to bias the ports to meet the requirement of "all biasing and termination resistor must be in place" ( taken from Ni literature on serial interfaces). Because of this I am asking if a schematic exists for the PCBA assembly and does NI offer a recomended procedure for placing the resistors on board?

 

I see that NI offers the termination resistor pass through module and I guess that works for assemblies that have only two ports but how does the termination work without the biasing resistors?


USB RS232 serial converter problem

$
0
0

I am trying to control a UV lamp using LabVIEW via rs232 DB9 cable. 

It's working very well with the PC which is having DB9 port. The PC which I supposed to configure with the lamp doesn't have DB9 port. So, I tried using CH340 USB RS232 connector, the drivers were perfectly installed and it was detected as COM port in device manager. 

The same LabVIEW VI is not working in this configuration. It is throwing some read error. Do I need to change any VISA settings for USB port ?rs232.PNG

MAX does not see serial instruments through PCIe 8430

$
0
0

I just installed a PCIe 8430/8 and put the instruments on ports 1 and 2 respectivley.  When I try to query the instruments in MAX I get no responces from any of the ports.  This is usually trivial and frankley Im not sure what the problem could be.

cDAQ and Microstrain GX4 IMU synchronization

$
0
0

Hi, 

 

I am currently trying to synchronize a Microstrain GX4-15 USB Inertial Measurement Unit with a multichannel cDAQ. The two possibilities I have seen so far is either polling data from the IMU at each sample taken by the cDAQ, or sharing a start trigger and internal clock. I am not yet sure about how to connect the internal clock of the IMU with the cDAQ (or if it is even possible), so my prefered method would be the polling method. Does anybody now how could I trigger the IMU at each time the cDAQ takes a sample? Does anybody now any other way of synchronizing these devices?

Thanks in advance!

Mikel

VISA read function in LAb View can not read string from Agilent 33220A

$
0
0

Hi, everyone, I need a help!

Now I write a new program, showed as below:

QQ截图20160929124226.png

I can successfully run the program and 33220A also doesn't report any errors.

But the problem is that I can not receive any string and the numeric indicator also shows 0.

I also try to write reset commad, I find 33220A can reset.

Above all, now my situation is that 33220A can reaceive command and do the corresponding reaction, but can not send information back or VISA read function read nothing...............

 

Note:

 I do not understand that why there is a coercion dot in VISA read function.

 

Many thanks!

GPIB-USB-HS does not show in MAX after i used NI VISA DRIVER wizard

$
0
0

I was able to access GPIB USB HS in MAX software. As I was not able to communicate NF LCR meter remotely, so I tried NI VISA DRIVER wizard according to NI VISA Driver wizard tutorial, however, thnings went wrong and I am not able to see even GPIB in MAX software now. What shoud I do now?

The first picture below shows the GPIB USB HS as shown up in the MAX software and the other picture does not show GPIB USB HS.

 

WP_20160923_14_21_42_Pro.jpg

 

WP_20160930_10_02_35_Pro.jpg

 

Unable to read from OHAUS Ranger 7000 serial communication

$
0
0

Hello,

 

I am trying to read data from an OHAUS Ranger 7000 scale. The communication is through a virtual USB port (drivers came along with the scale). I have configured the port as per serial settings from their manual. But for some reason I am not able to read any data. The process is either timing out or I read 0 bytes data. I have attached the code snippet here. I would really appreciate any suggestions on this. 

 

Thanks

Naren

485 (GModbus) CRC/LRC error

$
0
0

    I am getting a CRC/LRC error from a half duplexed 485 system connected to a Watlow controller.  I have the instrument configured in MAX for 4-wire auto and I have this code running on other identicle systems with out an issue.  Does anyone have an idea as to what would cause such an error?


Agilent 4294A - Ethernet Visa Failure

$
0
0

I currently am running continuous RF sweeps using the Agilent 4294A Precision Impedance Analyzer via the ethernet VISA. All drivers are updated and the program will run without error for several hours before the error 0xBFFF0011 appears. I've been scouring through previous posts and have performed recommendations.

New to Labview need help Reading from GPS receiver

$
0
0

Hi,

I am new to labview, i want to ask about how to acquire GPS coordinates through a GPS receiver such as (GPS Receiver -GP20U7 (this can be changed if there are better options)). Is it possible to do it through a NI USB 6211 DAQ and Labview? how will the connection work?

 

Thanks for the help.

 

 

 

Unable to change COM port number on NI Serial ports, ALL other ports I can?

$
0
0

I have many serial devices installed on my Windows 7 PC.  I also have a NI PCI-8430/8 (RS-232) Interface.  The COM port numbers were getting a little messed up (most low numbers showed in use even though they weren't present) so I wanted to reset them all and try and organize them.  I cleared the port asignments in the registry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\COM  Name Arbiter ComDB

 

Worked great mostly.  Every serial port could now be set to what I want except the NI hardware, they stayed on what port they were and the drop down is greyed out. 

IVI Simulation Driver

$
0
0

Hello everybody,

 

I try to make a simulation driver for a DC power so I look at the exemple from CVI called "ividcpwr" which worked well. 

But now, what I want to do is trying to generate simulated return data with "simulation drive software module" that I could find in NI MAX. There is a way to display a sort of plug-in to decide which data return during a measurement according to this :

 

forum.png

 

Did I have to just call the measurement function from IviDCPwr and enable simulation to display this window ? I try to add this function in the example:

 

"IviDCPwr_Measure (instrumentHandle, chanName, IVIDCPWR_VAL_MEASURE_VOLTAGE, &testvolt);"

 

The measure works but I don't decide which data return.

Moreover, when I choose "specific driver" in MAX for drive session, I have no problem, but when I try with "nisDCPwr", i have a new error in Labwindows :

 

"Function IviDCPwr_InitWithOptions: (return value == -1074130544 [0xbffa1190]). (0xbffa1190) The session handle is not valid."

 

I don't really know the reason why I have this error because I just change "Simulate with nisDCPwr" in MAX.

So, how to display the measurement panel and generate the desire measurement base is not clear in my mind so if you could help me it would be nice Smiley Wink

 

Thanks.

Hi newbie working with Arduino and VISA

$
0
0

Hi everyone, basically I have the arduino running ROS framework on it, and I need to set up a Labview interface to override the firmware. that part of the firmware code looks like this 

voidTdsae::ak(conststd_msgs::Float64ConstPtr&msg){std_msgs::UInt16driverMsg;driverPub.publish(driverMsg); 

and my labview code looks like this,   it seems the labview code failed to override, and I dont really understand why

Viewing all 5661 articles
Browse latest View live


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