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

blue screen

$
0
0

hi,

 

I am using LabVIEW 2014 to control PHD Ultra pump 703007. Everything worked fine yesterday. However, the computer turned to blue screen after pump running for 20 minutes several times today. what could be the possible reason for this? And why this doesn't happen yesterday while i was doing the same procedures?

blue screen.JPG


sample programmes in C# for setting voltage in a TDK lambda power supply

$
0
0
please provide some guidance for setting the voltage of a TDK lambda power supply through GPIB. Any driver software needto be installed?

pxie-4112 dc power disable output

$
0
0

I have a PXIe-4112 DC power supply card. I need to disable the output for each channel.

 

How can I do this?

MaX 5.5 + LabVIEW 2013 + Agilent 82357B Connection Manager 17

$
0
0

Hello...

 

Just installed LabVIEW 2013 (which installs MaX 5.5) and am trying to get an Agilent 82357B USB <--> GPIB interface recognized in MaX.

 

Agilent is now known as "Keysight".

 

Per one post, I go into the Keysight Connection Manager, Settings ---> Keysight 488 Options and set the checkbox labeled "Enable Keysight GPIB cards for 488 Programs."  Connection Manager gets busy doing "something" then seems happy.  I exit Keysight Connection Manager and bring up MaX 5.5.

 

MaX 5.5 doesn't "see" the Keysight interface.  Reading further, there is supposed to be an enable for the  NIVISATulip.dll in MaX.

 

I can't find it.

 

Connection Manager "sees" the 82357B.  MaX 5.5 does not.  But MaX 5.5 doesn't display the NIVISATulip.DLL "enable".

 

Is there some special enable to show that DLL?  Could someone walk me though or point me to a post on how to enable the interface?

 

Thanks.

 

GPIB buffer size limitations?

$
0
0

Hi

I'm using the example in Calling NI-488.2 Functions Directly in Excel to read data from an instruments internal memory (Keithley 6517B) directly to an Excel sheet. But no matter how much memory I preallocate for the data I can't get more than 2160 bytes of data. I've tried both Excel 2003 and 2010 with the same results.

 

Snippet:

sBuffer = Space$(65536) ' string buffer may have to be larger
Call ibrd(udDevice, sBuffer) 'read response and store in sBuffer

 

Also, the NI-488.2 Communicator tool in MAX seems to have a similar limitation in that it doesn't read more than 2000 bytes (ibcntl: 2000).

 

When I use the exact same command string (":trace:data?") in LabView all 3240 bytes available in the instruments memory is received without any problems.

 

I wanted to use Excel since it's such a simple application and my LabView license doesn't include the LabView builder.

 

Any suggestions on how to solve this?

 

Regards,

Jocke

"Error connecting to GPIB driver or device"

$
0
0

Hello all,

 

 

This is the first posting I do on this forum, so please be forbearing, if I do mistakes.

 

Now my problem:

 

I am Using the NI USB2GPIB-Adaptor and want to communicate with any GPIB-Device by using the Simple GPIB.vi out of the NI-Example VIs.

 

Starting the VI with the correct GPIB-Adress of the Device occurs in an Error:

 

Error.jpg

 

 

My Settings of the GPIB Adaptor are these:

 

Settings.jpg

 

Can anyone explaine, why in MAX the communication runs:

 

Communication in MAX.jpg

 

 

  

 

but not in the VI. In the VI I get the Error flag, when I try to use the GPIB write function (Error bit 15 is set to 1).

 

Can anyone please help me?

 


Kind regards from good old germany,

 

 

z

Serial Datalogging in Labview

$
0
0

Hello Everyone,
I made a Pressure calibrator which continously sends data to pc via UART at an interval selected by user, now we are displaying it on hyper terminal, however I want to design a Labview program which will take this data and log it in excel. I was able to send numeric character in labview group them together and display on a Guage, however the Data format now is '+150.10mmWC  ' followed by CR and NL., if the pressure is 150.10 mm of water column.

Can you point me some sources where I will get info to break this string and use the numeric information to display it on guage and also on graph, and also log the entire string along with time stamp in an Excel file.? 

Kindly tell me the names of VI's which will be helpful for string manipulation, logging, converting that numeric string to decimal value, so I can read up on them.
Thank You.

How and When Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized

$
0
0

How and When  Does the attribute VI_ATTR_VXI_TRIG_STATUS get initialized. Do the actual trigger lines get measured or does the attribute get initialized to a default value when the vxi resource manager is executed?


VISA Closes deletes termination character?

$
0
0

I am currently working on a remote control of a laser using VISA and the actor framework. My Actor (basically an object) holds a VISA address and upon startup the termination character in a "Configure.vi" (see attachement). The object is then passed on and the first query always works but all subsequent ones fail, reason beeing that the termination character is reset from 13 to 10.

 

Also in the attachements is how I currently send my commands to the VISA device. I just write the command, read some data back (it shouldn't really read 256 bytes but that is why I use the termination character) and close the VISA session. So does one of these steps reset the termination character setting of the VISA device? Note that I do not store the VISA address back so I would expect it to be a copy of the one stored in my object. So even if something would change its settings, that should not affect the origial one. But I am clearly missing something here.

9870 Problem With Remote Panel Server

$
0
0

I am using a CRIO-9014 with two C-modules installed (NI-9870 and NI-9402). The 1 khz speed of the Scan mode is not fast enough for what I need to do with the 9402, so I am using the Hybrid Mode where the 9402 is under  the FPGA target and the 9870 in under the Chassis. My code runs fine using Scan mode drivers for the the 9870 and the FPGA mode for the 9402...however, it runs fine only when running the code while in the Labview development environment. If I deploy the code to run at startup on the RIO and display data through the Remote Panel Sever, I loose the 9870. In other words, serial port I/O stops. The 9402 still works as does my remote panel . What gives? Any ideas out there?

 

Thanks,

 

Steve

 

8433/4 not communicating in 2-wire auto mode in MAX or labview

$
0
0

All,

 

We're using 8433/4 PXI card to communication to a micro motion 7828 density transmitter. The NI-Serial RT software installed on the PXI and laptop is 3.3.0. The transmitter requires a 2-wire 485 setup.

 

I was able to communicate with the transmitter in MAX using a USB serial port on my laptop. I used a serial to rs485 2-wire converter. When I attempt to communicate using the PXI 8433 card in MAX I get no response.

 

Do I need more up-to-date serial rt software? or is there something else I'm overlooking in my setup?

 

Thanks

DB

GPIB-USB-HS with USB-ETHERNET adapter

$
0
0

Hello,

 

I have a GPIB-USB-HS Controller and I am trying to hook it with a USB-ETHERNET adapter so I can control it from distance. Have anyone did this before? I am wondering if this will work or not. Thanks in advance.

 

Alex

How to programmatically find NI488 software version

$
0
0

Is there a function to read the installed software version ?

 

I am finding some versions of the software does not function reliably with some versions of windows and need to warn the user to install the latest version.

 

 

NI PXIe 8361 card not detected

$
0
0

Hello,

 

I have a problem with a NI card.

 

I had my NI PXIe 8361 card mounted on a windows XP, connected to a PXIe1073 frame. It all worked fine.

Since then, I changed my PC, I now have a new one with windows 7. 

I've installed LabView, DAQmx but when I insert the card into the computer and connect it to the frame, nothing happens. 

 

-> on the card the green leds are on

-> on the frame the green power led is on but the link led is off

-> in the device manager of NI MAX I don't see any NI PXIe 8361

 

despite various attempts it won't work, did I missed something? something more to install?

 

Thanks in advance for your help.

Function Generators

$
0
0

Hello,

 

Wondering if anyone is familiar with ATTEN Instruments, more specifically their ATF20B DDS Function Wavefrom Generator. I've been trying to find drivers for it but can't seem to locate any. Does it have drivers that need to be installed?


ev2300 texas instruments

$
0
0

hi all,

Can Labview be used for read ev2300 texas instruments?

if yes how?

 

thank you

Philips PM 5781 LabView VI

$
0
0

Does anyone have a VI that can control a Philips fluke pm 5781 125 mhz programmable pulse generator? 

TDS 3032B Data Acquisition

$
0
0

Hi,


I downloaded the drivers for TDS 3032B and use a cross over ethernet cable to connect to it. I have been able to modifiy the prewritten VI for collecting data and write to a delimited .txt file. But each time I do this have problems with getting information on the time data or frequency. I was wondering if I was missing something?

 

I attached the vi I was  using.

Keithley 2400 Rear I/O

$
0
0

Good Day

 

I am new to LabVIEW and instrument control.  I am trying to achieve the following using LabVIEW and a Keithley 2400 SourceMeter:  

 

- Apply a constant current for a given amount of time and then switch the current source off

- This must be done using the rear I/O

- After a given amout of time a negative current must be applied

 

How can I achieve this using LabVIEW?  

NI IVI Compliance Package Data

$
0
0

On my development station I exported my configuration file in MAX (5.3.1) to a configdata file.  It contain an IVI Compliance Package data (4.5).

I now ported the configdata file over to my target (MAX 5.5) and tried to import it but get an error to the effect that the compliance pkg is not installed or an older version is installed.  If I go to MAX on the target, Compliance Pkg  4.6 is listed under the SW catagory.  Can't Ver 4.6 read in the config from Ver 4.5??  The machine is a test set and not on the network.

Viewing all 5662 articles
Browse latest View live


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