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

Letter of volatility for PCIe-8362

$
0
0

Looking for letter of volatility for PCIe-8362.


LabView VIs for KE487 Picoammeter/SourceMeter

$
0
0

Hi guys,

 

I am wondering does anyone have IV sweep labview script for KE487 Picoammeter/Sourcemeter or can anyone point me to a direction where i can find the script. 

 

Thank you so much.

 

Regard,

Matt_tt

NIDMM and VTEXDMM in simulation creating different results / errors - why?

$
0
0

Hello,

i installed NIDMM-driver and VTEXDMM-driver and configured them to simulate with specific driver.

I am then calling only the iviDmm generic functions in C++.

In the list below i copied all results of the functions.

Column one is NIDMM and colum two VTEXDMM.

 

Now i wonder why:

1) "Read" is working at NIDMM and not at VTEXDMM (but Init/Fetch is working on both sides)

2) Some Configure-Functions are not working at NIDMM but on VTEXDMM

3a) Read/Fetch Multipoint are not working on both sides...

3b) ...but NIDMM still returns 10 actualPts

How can this be explained?

Is the execution order not correct?

Thanks for help

NI-VISA 16 / Linux to control Keithley 2410 SMU

$
0
0

Hi,

 

I have installed NI-VISA 16 and PyVISA on CentOS 7 to ultimately try to control a Keithley 2410 SMU via python. The installations of both NI-VISA 16 and PyVISA seemed to be successful but when I tried to do a quick test in a python interactive shell I see the following:

 

>>> import visa

>>> rm = visa.ResourceManager()

libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Aborted (core dumped)

 

Furthermore, when I tried to then update the NI drivers, as suggested, that also failed with the following error:

 

nikal: ERROR: Error locating kernel sources for the requested kernel version (3.10.0-514.6.1.el7.x86_64).

 

It was suggested on another forum that NI-VISA 16 may not work on the CentOS version I am running (1611). Could someone confirm if this is the case and, if so, provide instructions on how to cleanly uninstall NI-VISA on Linux? I cannot find any documentation whatsoever on how to uninstall N-VISA on Linux.

 

Thanks.

Frame to write for RS485 communication with Keller pressure sensor

$
0
0

I have been trying to communicate with my Keller pressure sensor with Keller's Communication Protocol and I have written my own VIs to set the hexadecimal frame (see attached VI). I also wrote my own "16-Checksum" VI which shows the same CRC check as mentioned in protocol example at page 9.

 

I am then confident with my program, though it is still not perfect. The problem is that the answer that I get is something totally wrong against the one I should read (see Capture). My sensor's address is 91 -> 5B in hex display and I am just trying to read its pressure -> Function code 03.

 

If someone has already experienced this language and such a Keller device, I would be very very grateful for some hints.

 

Thank you in advance for your answer(s).

 

Best regards

Serial communication - A simulator based on request msg from other device, it should send response.

$
0
0

Hi,

 

I want to create a simulator, which checks the request msg received from other devices via serial port and based on the request simulator should response msg.

For example: 

Other Device Request to my simulator : 2B 2B 2B

My Simulator  Response : 65 6E 74 72 61 4E 45 54 3E 20

Also, there are series of request message send sequentially to the simulator and after response is sent by simulator for each request - login successful.

 

Any heads up on how to proceed is highly appreciated.

 

Thanks

Communication LABVIEW / AUTOMATE SCHNEIDER

$
0
0

Bonjour a tous,

 

Je souhaiterais récupérer les données analogiques d'un automate MOMENTUM SCHNEIDER ELEC en protocole TCP/IP afin de récupérer les données mesurées ainsi que les commande envoyées. BUT : faire de la supervision/datalogging. J'ai déjà un VI qui récupère les données d'une centrale AGILENT et je voudrais mettre en parallèle une acquisition de données de l'automate. Je précise qu'à l'heure actuelle, je suis seulement équipé de labview BASE. 

 

Merci 'avance pour vos réponses, 

Using PsychoPy or other experimental software to trigger NI USB-6218 BNC

$
0
0

Hello,

 

I have an NI USB-6218 BNC which I'm trying to integrate into some experiment software for psychology studies. I want to be able to programme an experiment which at certain points will send a trigger to the NI box, which in turn will trigger a Digitimer DS5 (https://digitimer.com/products/clinical-neurophysiology/peripheral-stimulators-2/ds5-isolated-bipolar-constant-current-stimulator-clinical-product/) to give an electrocutaneous shock. 

 

I haven't found any experimental software which is capable of sending signals to an external device via USB (only parallel port). I'm told it's possible to build a USB signal into PsychoPy (http://www.psychopy.org), but I haven't found anyone who can do it yet.  

 

Can anybody recommend a different piece of experimental software which would be able to send a signal to the NI USB-6218 while also presenting visual and auditory stimuli for a psychology experiment (with randomisation and accurate timing etc)? Or can you suggest anybody who would be able to write the PsychoPy USB extension?

 

Any help/advice/info would be much appreciated, I'm really stuck.

 

Thank you!

Nina


VISA read of serial data issue

$
0
0

Hello everyone, I am new to LabView VISA.

My application is to read data from LDR and turn on and off bulb accordingly, the switching of bulbs is to be displayed in LabView. The program runs perfectly in Arduino and I want to indicate the bulb on/off in labview. I am using VISA for displaying the switching of bulbs.

Arduino program:

volatile int glight,Lstate;
void setup()
{
pinMode(5,OUTPUT);
Serial.begin(9600);
}

void loop()
{
glight=analogRead(A0); //ldr sensor
if(glight<140)
{
digitalWrite(5,HIGH);
Lstate=0;
}
else if(150< glight < 300)
{
digitalWrite(5,LOW);
Lstate=1;
}
Serial.print("L");
Serial.print(Lstate);
}

In LabView I sometimes get correct output indicating that the bulb is ON but that occurs only once and after that it does not run(after it executives once it shows error 85 or sometimes 1 but I assure you the connections are tight and correct). Also a point I should mention is that when I run the LabView program(Highlight Execution: ON) on the "Read buffer" from VISA Read the value that gets passed is "L0L0L0" or "L1L1L1" why does it do this? it should only show  L0 or L1. Please Help! 

Orion Star pH Meter Serial Communication

$
0
0

I have a ThermoScientific Orion Star A211 pH meter which I am trying to communicate with using LabVIEW and the simple serial example VI. The manual says the command to send is GETMEAS. When I use Hyperterminal I have no problems sending the command and receiving the response. However in LabVIEW I only get an echo of the command and not the response string. Any ideas?

 

I did see this thread which seems to be exactly my problem but when I put in GETMEAS\r\n I still don't get any response. I am using LV2016.

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Orion-5-Star-pH-Cond-meter-double-string/m-p/1132787#M42067

 

Thanks

Using NI USB-232/4

$
0
0

I have the USB-RS232/4 interface.

The communication to each individual port does not happen simultaneously. I can only read and write to one com port at a time. Is there a way I can communicate with all four ports at once?

Could I solve this by using four single port USB-RS232 adaptors?. 

Visa error only on laptop

$
0
0

Hi, i make VISA labview program to send data MCU to PC.

 

The MCU serial send code is below.

baud rate = 115200.

{

uint8_t upper= 0xBE;
uint8_t lower= 0xD7;
uint8_t buff=0;
uint32_t val[4];
val[0]=value_adc[0];
val[1]=value_adc[1];
val[2]=value_adc[2];
val[3]=value_adc[3];



HAL_UART_Transmit(&huart1, &upper, 1, HAL_MAX_DELAY);
HAL_UART_Transmit(&huart1, &lower, 1, HAL_MAX_DELAY);
buff=val[0]>>8;
HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY);
buff=val[0];
HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY);

buff=val[1]>>8;
HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY);
buff=val[1];
HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY);

buff=val[2]>>8;
HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY);
buff=val[2];
HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY);

buff=val[3]>>8;
HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY);
buff=val[3];
HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY);

}

 

This routine is send every 1ms.

 

My Labview program is attached.

 

I running the program on my desktop PC, there is no problem.

 

But running on laptop PC, the data is delayed.

 

Data is accumulated somewhere continuously.

 

When i stop send data at MCU, the labview output continuously.( I thinks it is accumulated Data)

 

The Labview program is same version.

 

Why this error is occur?

 

I check com port, but it is not problem. And another serial com program is well operation. ex) arduino serial monitor.

NI-PXI 4070 returns -1074126845 on IviDmm.RevisionQuery

$
0
0

Hello,

i am running the ivi function RevisionQuery on a 4070-DMM but i get the error -1074126845 (Max Time exceeded before operation completed.)

Can i set a timeout value somewhere in NI MAX?

 

The interesting thing is: I am calling a custom C#-dll that executes this ivi-function. When running under C# then the function returns the revision and no error. But when i call this c#-dll in teststand then it does not work anymore.

Most of the other functions like read / init&fetch are working. So the handle to the device should be ok.

 

Thx for help and ideas

 

I am using:

Windows 7 64bit

NI TestStand 2016

NI Max 16

NI DMM 15.2

Vansco 1210 PLC and USB-8743 help with establishing communication

$
0
0

Hi,

My name is Michael Szabo. I'm a student currently working on a project that requires a PLC "brain." I have obtained a Vansco 1210 module and VMM software + product key and am trying to establish communication with it through a National Instrument usb-8473 adapter. I have gone through the Vansco's manual and connected everything accordingly. My module has power and has the CAN HI, LOW, and SHIELD connected to the usb-8473 CAN adapter. I have downloaded the driver software for the adapter and tried querying the module on the VMM software with no luck. I just get the following error: "RP1210 DLA Error #:142. The hardware device is not responding." I am not sure if this message is referring to my PLC as the device or the usb-8473. I am fine with coding but initial communication always seems to be a challenge for me. I am aware that normal protocol calls for a DLA device and driver however I am unable to obtain one. Any input is greatly appreciated. Thank you for your time.

Michael

visa read timeout error -1073807339-Keithley 2700

$
0
0

  I want to control Keithley 2700 and read DC voltage using  USB-GPIB. In the code, I will input "Delay" which is the time interval between each reading in one test, and "Sample" is the total data in one single test. When I wanted to read data every one second, there was no error -1073807339, but if I wanted to read data very fast ,I added some commands in the "Write initial instruction to Keithley" to get the fastest reading rate. After adding these commands, when the program worked well, it can read 100 data,but there would arise the visa read timeout error if I tried to read over 1000 data. Sometimes, the case was even worse. When I ran the program, the display of K2700 became "--.--------V" and there was no data returned and there was also the error  -1073807339. The display was still "--.-------V" even when the program finished running and I needed to restart the equipment.

  The buffer size was set larger enough to store the experiment data. My  computer system is win7. Attached are the screenshots of the program.

  I'm new to LabView. I would appreciate it greatly for your valuable suggestions. Thank you in advance.


keithley 2700 driver problem : VISA Resource not found

$
0
0

  I downloaded the Keithley 27xx driver 2.3 and use USB-GPIB to control the K2700. When I tried to run the Single measurement example, there were many error -410. I tried to add waiting time before sending command to K2700, but the errors still existed.

  The screenshots are attached. Thank you in advance for your help!

GPIB-RS232 converter issues

$
0
0

Hi, I am having trouble communicating to the NI GPIB-RS232 converter box - http://www.ni.com/en-us/support/model.gpib-rs232.html

 

I can connect and configure the converter when in Config mode using the NI GPIB-Serial Converter Wizard.  When I test in both MAX and LabView, I get a good response when sending a *IDN?\n to the box (attached screenshot).  The problem comes when using the same settings when the converter is changed to Normal mode - I get no response from the box with the same connection using the same programs (MAX/LabView).

 

My current setup is simply using a USB-RS232 dongle to connect to the serial port on the converter box.  This will control an instrument over GPIB. 

 

Ultimately I want to use the RS232 port on my CompactRIO chassis (9064) to do this (yes, I'm aware GPIB is not real-time and generally not recommended for embedded use, I'm OK with that).  But that's down the road, I want to talk to the converter first directly.

 

Thanks in advance,

Don

error -410 when run single measurement example in Keithley 2700 driver

$
0
0

  I downloaded the Keithley 27xx driver 2.3 and use USB-GPIB to control the K2700. When I tried to run the Single measurement example, there were many error -410. I tried to add waiting time before sending command to K2700, but the errors still existed.

  The screenshots are attached. Thank you in advance for your help!

USB communication with Labview for reading data from Uart port.

$
0
0

Dear all,

Firstly, I am using MSP432 for adcconverter.

My project is about the reading data from uart and visualize in Labview. 

My problem is I want to use USB communication. I already download NI-VISA 

NI- VISA Driver Wizard giving me  error When i trying to finish connection

 

Error is :

 

An error has occured that has prevented the driver from being installed onyour computer. One reason for this may be because you lack the proper priviledges to install this driver. You may need to login as an administrator to complete this operation

 

 

I completed to this step like a adminstrator but I am not seeing my device in MAX. 

I am using Windows 10.

What should  i do about that ?

Get position from GSM

$
0
0

I want to make program that not using gps. It uses geographical position that gets from GSM board.

when the GSM give the geographical position the program in this point magniphy and showing this point. 

could anyone help me?

Viewing all 5662 articles
Browse latest View live


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