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

Example PV Cell Test from Labtracer whith 2400

$
0
0

Hi,

 

I don't have the example file to test PV cell whith Labtracer 2.0 whith the sourcemeter 2400.

 

Can someone help me to get this file?

 

best regards.


NI-MAX doesn't even have a "scan for instruments" button

$
0
0

For some reason that I can't figure out, when I'm trying to run NI-MAX to detect instruments through a GPIB-USB cable, the computer can detect that I have a cable connected, but not the intrument I've connected the cable to. Even worse, there's not even a button anywhere in the program that I can find that allows me to scan for the instrument, like there's supposed to be.

 

A little more info:

I'm using an Agilent 82357B cable and I've already installed the current keysight IO Library, which is how I got the program to detect the cable to begin with. The cable reads ready at the end (where as it read as fail before, which is how I know the program acknowledges the cable's existance). The instruments I'm attempting to use are all Agilent instruments, and I'm using the E3631A power source to test. I've also installed the driver for the instrument in the instr.lib folder, as some other tutorials and my mentor has recommended. I'm also using windows 8, which could be the reason why, but I'm hoping it isn't.

 

Thanks for the help and advice in advance

Julabo F25 Cooler Control

$
0
0

So I'm automating some testing for a company and I'm not too familiar with Labview. I have some Sylvac digital gages (that I have working properly) and a F25-ME Refrigerated/Heating Circulator. I'm currently having trouble getting any input from it. I downloaded a sample VI I found on these forums for a different Julabo and when I use the command to get actual bath temperature the operation times out. I've checked the baud rate and all the other serial settings on the actual cooler and they match what I have in Labview. Any suggestions?

Can not remove Unsupported NI Software to install official supported software

$
0
0

Hey,

 

I am just migrating from an old XP machine to a newer PC and so have to get all hardware and software working on a windows 7, 32bit OS. Everything is working fine except for the NI programs.

 

I have two GPIB boards from NI that need installing for which I have NI-488.2 2.0 to install. I tried setting all the files into compatibility and administrator mode but it pops up with many errors. Nontheless, when the board was inserted it was installed and recognized correctly, but the problem was that the NI-software for the board was not working to set the channel.

 

Then I figured out that I need the new software to be installed for windows 7 and I downloaded the oldest version that was compatible with windows 7 to avoid other issues, namely NI-488.2 2.7.3. Before installing this version I uninstalled the old software and drivers and removed the GPIB board.

When I installed this version it came up with the error that  I have to  uninstall the Unsupported NI Software to install official supported software...  and I had to go to the ni.com/info website and enter cleanvista. I tried all the proposed solutions there, even using the cleanvista.exe file but nothing worked. After restarting and trying several times it didn't work and so I made a setuplog as discribed in that blog as well (Please see attached file).

 

Could you please help me out on this as this machine really needs to run again soon. I don't need much of the software as I just need to be able to set the channel of the GPIB board as I have to install two boards.

 

Thank you ever so much!

best wishes

Tom

 

 

deploy license

$
0
0

Hello,

 

1. If I develop an application with Visual Studio while using the NI-4882 adapter and my app contains some of the NationalInstruments.*.dlls specifically NationalInstruments.Common and nationalinstruments.Visans.dll and nationalinstruments.ni4882.dll, can I release that application publicly?    I will indicate that they would need the NI-VISA runtime and mention if they have an NI4882 then that is free otherwise they need to pay NI for the runtime.  is this correct?

 

Thanks!

 

 

 

Startech Windows 7 64 bit Issue

$
0
0

Hello all,

 

I have a Startech.com PCIe RS 232 Serial adapter card (PEX2S553). When using this card on a 32-bit Windows XP machine I can read and write data with no issue. (2.3 MB  at 300 bytes per second. No read or write fails.) When I install this card on any Windows 7 64-bit machine it will run for anywhere from 30 seconds to 2 minutes and then the write will time out. Solutions tried so far with the same results:

 

2 different Windows 7 machines

Verified the 6- bit drivers were installed.

Vairous baud rates (38400 default)

Various time in between writes (3 bytes at 100Hz typical)

Various timeouts (15ms up to 150 ms)

 

What I don't have is a 32-bit Windows 7 machine to try this card out on so I am have trouble deciding exactly what the issue may be. Has anyone else seen similar issue with Startech products?

 

 

 

lecroy oscilloscope automatic acquisition

$
0
0

Hi, I am making a Labview program to control my Lecroy  Waverunner 374 to acquire signal automatically (for example, per 1 minute) from two channel (spescifically trace A and Trace B) simultaneously. I have a problem, where the result of the signal I got, it's not a smooth signal (It interupt with a certain noise). I tried to acquire the signal manually with ScopeExplorer and I got a good result, so the problem must be on my program. Can anyone help me with this? Thanks!

Can not connect instrument LAN-connected to a remote PC

$
0
0

Hi:

 

I have a RF switch connected to a remote PC (host PC) via ethernet connection. I need to control the RF switch from a client PC within the same subnet with the host PC. I am using NI Visa Server to establish the link between host and client PC. I am using NI MAX explorer to try control from the client PC.

 

As you can see from VisaTestPanel_FromClientPC.jpg, I can send query command to the RF switch.

 

But when I click the Validate button on the NI MAX explorer, as seen in ValidateFailed_FromClientPC.jpg, I received Visa error 0xBFFF0011 "Insufficient location information or the device or resource is not present in the system."

 

I am getting the same error when I trying to do it in C# 2005 using the below code. I tried both methods below all did not work:

this.session = new TcpipSocket(remoteAddress + "::" + address + "::" + port + "::sOCKET");

this.session = new TcpipSocket(remoteAddress + "::" + address + "::" + port + "::sOCKET",AccessModes.ExclusiveLock,10000,false);

the address argument is = VISA://192.168.135.203/TCPIP0::192.168.2.170::7::sOCKET

192.168.135.203 = IP address of host PC (TXPTEST43)

192.168.2.170 = static IP address of RF switch

The RF switch is connected to the host PC via a USB to LAN port adaptor on the host PC.

 

I have no problem to access the RF switch using C# 2005 if the RF switch is connected to the same PC. The address will become:

TCPIP0::192.168.2.170::7::sOCKET

 

Note: the S of the SOCKET I have to use small case, otherwise it will turn into a smiling icon

 

Any help is appreciated.

 

Thank you.

 

Chin Lin


how to open FS File??

$
0
0

i have one fuzzy file. but i cannot open it.

plz help me with this.

i also cannot attach it because it has .fs extension.

How to run the SubVI?

$
0
0

Hello,

I am using a instrument control VI and within that I have used a subVI to start the power supply after a certain point. I have created a simple two way pattern in the SubVI which includes just error in as an Input and error out as an output and wired them to the respective terminals in main VI. The SubVI has 5 control inputs which I have made default values hence it will always execute with that values. Those values act as an input to the Power Supply I am controlling with that subVI. 

Now when I run my VI it doesn't start the sub VI, It won't execute the values from control and gives 0 input to the PSU so it won't run. I want that SubVI to run when I run my Main VI. Am I missing something ? SubVI runs perfectly when I try to run it seperately.

What more things should be done when we link any SubVI to the Main VI.

Thank you.

Can not connect instrument using TcpipSocket

$
0
0

Hi:

 

I have a RF switch connected to a remote PC (host PC) via ethernet connection. I need to control the RF switch from a client PC within the same subnet with the host PC. I am using NI Visa Server to establish the link between host and client PC.

 

First I tried using NI MAX explorer to try control from the client PC.

 

As you can see below, I can send query command to the RF switch.

 VisaTestPanel_FromClientPC.jpg

 

But when I click the Validate button on the NI MAX explorer, I received Visa error 0xBFFF0011 "Insufficient location information or the device or resource is not present in the system." 

ValidateFailed_FromClientPC.jpg

 

 

I am getting the same error when I tried to do it in C# 2005 using the below code. I tried both methods below all did not work:

this.session = new TcpipSocket(remoteAddress + "::" + address + "::" + port + "::sOCKET");

this.session = new TcpipSocket(remoteAddress + "::" + address + "::" + port + "::sOCKET",AccessModes.ExclusiveLock,10000,false);

the address argument is = VISA://192.168.135.203/TCPIP0::192.168.2.170::7::sOCKET

192.168.135.203 = IP address of host PC (TXPTEST43)

192.168.2.170 = static IP address of RF switch

The RF switch is connected to the host PC via a USB to LAN port adaptor on the host PC.

 

I have no problem to access the RF switch using C# 2005 if the RF switch is connected to the same PC. The address will become:

TCPIP0::192.168.2.170::7::sOCKET

 

Note: the S of the SOCKET I have to use small case, otherwise it will turn into a smiling icon

 

Any help is appreciated.

 

Thank you.

 

Chin Lin

Again closing references and reentrant vi-calls

$
0
0

Hello,

i create a static-vi-reference that is then opened in a loop for 10 times in parallel. At the end i wait for all are finished. Then i close the reference that was created from "Open Vi reference".

Question 1: Do i also have to close the reference that is coming from "Static vi reference"?

(This 10x opening happens each second).

 

Question 2:

Currently the vi that is used as static vi-reference is set in VI-Poperties + Execution to "Shared clone reentrant execution".

What about all the subvis that are called in there? Do i also have to set them  to "Shared clone reentrant execution" or is this done automatically?

 

Question 3:

I have the effect that everything seems to run fine but the CPU and memory increases

After starting the program 50 MB RAM and CPU at 15%

Then i can be seen that there are cpu-peaks from time to time, Seems as this are the parallel-calls.

Then cpu goes higher and higher up to 72% and ram goes to 230MB (after 4 hours)

 

Is ther something that can be changed in this mimic? There is nothing else running that can eat my cpu und ram.

 

Thx

 

 

 

CloseReferences.jpg

hislip discovery

$
0
0

Hey, 

 

I am planing to make my device compatible to HiSLIP. 

Will HiSLIP devices be auto discovery by "VISA Find Resource" ?

 


And where are the specifications for the discovery algorithm .. to give me the chance to implement it on "server side"?

I only find the protocol specification from IVI... but there is nothing about the discovery process inside? 

 

Thanks for your help. 

Error VISA (Hex 0xBFFF001E) The specified state of the attribute is not valid, or is not supported as defined by the resource.

$
0
0

Hi,

 

First of all I need to say that I just beginning with the instrument control using Labview. For this reason, it's possible that the problem that i have would be easy to resolve. However, I have been looking for any solution for the forum, but unfortunately I can't fint anything. 

 

Then the situation is the following: I'm trying to connect a power analyzer (Yokogawa WT1800) with the PC through GPIB. To achieve this objective I use the Agilent 82357B USB/GPIB Interface. The connection is done properly because I can see and comunicate with it through the NI MAX explorer. 

 

In order to achieve the instrument control using Labview, I have downloaded and installed the Yokogawa WT1800 driver (ykt1800 Instrument Driver) using the NI Instrument Driver Finder tool. The problem that I have is that when I execute the provided examples I find the following error:

 

Error -1073807330 occurred at Property Node (arg1) in Yokogawa WT1800 Series.lvlib: Initialize.vi -> Yokogawa WT1800 Series Measure Continuos Normal.vi

 

Possible reason(s):

VISA: (Hex 0xBFFF001E) The specified state of the attribute is not valid, or is not supported as defined by the resource,

 

I tried to change the input arguments of the Visa open vi because I think that is there where is the problem but I can't achieve any solution. In the following image is attached the block diagram of the initialize.vi:

 

initialize_vi_wt1800.JPG

 

Any help is appreciated.

 

Thank you.

Two HP3458A synchronous triggering - time delay

$
0
0

Hi,

I would like to get time difference between synchronous triggering 2 HP3458A instruments. Expected time is in nanoseconds or microseconds. Find eclosed VI. Whole project includes reseting both HP3458A, settling parameters, getting data, calculating mean and errors. Which subVI should I use for highest accurate time measurements? And where (Before or/and after Read)? I think Get Date/TIme are not useful for this purpose.

Best,

Kristina.


keithely 2420 using the latest 24XX driver

$
0
0

Hi,

 

I'm working on a Labview program (please see attached) which can source current and measure the coresponding voltage by using keithely 2420 for battery test.

I used the latest 24XX driver for keithely instruments.

The only issue is the"read (single point) VI ". I use it to read the voltage, but it is keeping producing erro code (-1073807339). I couldn't figure it why.

 

Could someone please  help me to figure ir out?

Thanks!

LabVIEW and ICP M-7055

I would like to know a question regarding interfacing with a Yokogowa WT130 utilizing a NI GPIB-USB-HS is possible in Dasy Lab

$
0
0

I have a Yokogowa WT130 power analyzer and I would like to use this to communicate to DASY Lab. The Yokogowa utilizes IEEE 488 communication and I was thinking of using the NI GPIB-USB-HS to connect the Yokogowa to the computer. I do know that DASY Lab is capable of utilizing IEEE 488 but I am confused on if I would neede a seperate driver for the Yokogowa or if the driver for the NI GPIB-USB-HS would allow communication. Any feedback would be greatly appreciated.

Instron 8800 Control Timeout Issue using NI-VISA (VISA Error code: -1073807339) in C# Application

$
0
0

I've written an application using C# which queries an Instron 8800 controller (very old controller).  While the program is running I get seemingly random timeout errors (error code defined in title), which eventually lead to an EABO error.  The program will typically start and query fine for 2 - 3 iterations, and then give the aforementioned timeout error.  It will then work for another few iterations and timeout again.

 

I've adjusted bus timing values per Instron's suggestion, but to no avail--does anyone have any ideas?  I've attemped using both the GpibInterface and MessageBasedSession classes.

 

Code below:

using NationalInstruments.VisaNS;

namespace niVISAInstronTest
{
public partial class Form1 : Form
{
private MessageBasedSession mbSession;
private GpibInterface instron_GPIB;

private void button1_Click(object sender, EventArgs e) { timer_Cyclic.Enabled = true; textBox1.Enabled = false; button1.Enabled = false; GPIB_Address = textBox1.Text; instron_GPIB = new GpibInterface(GPIB_Address, AccessModes.NoLock, 0, false); instron_GPIB.SendEndEnabled = true; instron_GPIB.Timeout = 10000; } private void timer_Cyclic_Tick(object sender, EventArgs e) { WriteToConsole(Query("Q210").ToString()); } /// <summary> /// 500ms timeout seems to work best so far /// </summary> /// <param name="query"></param> /// <returns></returns> public double Query(string query) { double response = -1; try { //response = double.Parse(mbSession.Query(query)); instron_GPIB.Write(query); string response_s = instron_GPIB.ReadString(); response = double.Parse(response_s); return response; } catch (Exception EX) { WriteToConsole(EX.GetBaseException().ToString()); } return response; } public void WriteToConsole(string msg) { textBox_Console.Text += Environment.NewLine + msg; textBox_Console.SelectionStart = textBox_Console.TextLength; textBox_Console.ScrollToCaret(); }

 

SCXI-1102/SCXI-1303 not detected in SCXI-1000 chassis

$
0
0

I am using a setup with SCXI-1303 module in a SCXI-1102 within a SCXI-1000 chassis to take voltage and thermocouple measurements.

 

Until recently, everything was working fine. but it now appears I am unable to communicate with the interface. I have tried two different computers and the hardware is not detected in MAX. The power light and fan on the SCXI-1000 still comes on, there just appears to be no acknowledgment of the connection to the computer.

 

A few more specific error codes:

 

* When I double-clicked the DAQ Assistant in the block diagram window and clicked "Test" on one of my inputs, I received the following error:
"Error -88705:The specified device is not present or is not active in the system."

* I have also gotten the error code "Error -89130: Device not available in NI-DAQmx" in the DAQ Assistant test panel

* When closing the DAQ Assistant test panel, I see the error "Error -89130: Device not available for routing"

* In MAX, if I try to "test" the chassis or module, I have seen errors either saying that the device is not detected, or that the device needs to be reset or is in the process of being reset, or that Traditional DAQ drivers need to be reset (I've tried these reset suggestions with no result)

 

At this point I'm wondering if the board or the cable is shot. I unfortunately don't have another 68-pin cable to test at the moment.

 

Thanks in advance...

 

 

Viewing all 5661 articles
Browse latest View live


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