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

error 1334 missing file

$
0
0

i was installng a NI VISA Run Time Engie soft panel, but when i do it appears this problem (see the photo), i have looked for some solution and i cant no find anything, i also look for the folder where the file is and it there then i do not know wthat the problem is.

 

i'm waiting for your help

 


PXIe-5413 (1 CH)

$
0
0

Hello everyone,

I have buy a PXIe-5413 (1CH) card and inserted in a 9-slot PXIe-1078. I have encountered some problems in handling the card through IVI drivers.

When I configured the device from MAX, I inserted in the Driver Setup String of Driver Session the follow:

"Model: 5413 (1CH); BoardType: PXI; MemorySize: 134217728"

in addition, in the "Virtual Name" tab I set name of the channel in "CHANNEL1" associated at physical channel 0.

I run an application and it try to initialize the PXIe-5413 by IVI driver with channel name “CHANNEL 1”, but I get the follow error: “-1074135008 - Unknown channel or repeated capability name”.

If I change the Driver Setup string in “Model:5413 (1CH);Channels:0;BoardTypeSmiley TongueXIe;MemorySize:134217728” and I run the same application with channel name “0”, I don’t get any error and PXIe-5413 work properly.

Is this a correct behavior?

PCI-GPIB not showing in MAX or correctly in Device Manager.

$
0
0

Hi I installed a PCI-GPIB under Xp Pro Sp3 using setup exe NI-488 ver 1.2 but it shows in device manager as a PCI  simple controller and I can't remove the device to try again, how can I remove it and then re install correctly (perhaps with more up to date software).

Capture.GIF

Arduino Leonardo with LINX SPI Communication

$
0
0

I am trying to read temperature using K-Type thermocouple with Arduino Leonardo. My labview program is as in the image attached. I am not getting any reading. I am new to this platform, can you please help me in troubleshooting with this issue.

 

Thanks

 

cutting serial(rs232) data streem

$
0
0

Hello,

 

I'm having a trouble with data handleing so, I need some help.

I connected a NOx analyzer (nCLD63) with PC by usb-rs232 converter.

according to the instrument's displat, I should receive a data start with \06@\02* and end with \03n (n is some number).

But instrument send data constantly (cannot change this), my program read the data start with middle of it.

for example, data should be

\06@\02*,-0.8020,-0.7834,*,*,*,*,*,AmB,B@@@,GE@,0000,0000,@@@@\03G

but program read it like

@,0000,0000,@@@@\03G\06@\02*,-0.8020,-0.7834,*,*,*,*,*,AmB,B@@@,GE@,0000,0000,@@@@\03K\06@\02*,-0.8(untill bytes are full)

 

As one data packet have constant length, I think "Search spllit/string" would be possible with about twice length of read byte setting.

And here is the question

but I'm wonder that in case of read data was

@@@@\03K
\06@\02*,-0.8010,-0.7778,*,*,*,*,*,AmB,B@@@,GE@,0000,0000,@@@@\03@
\06@\02*,-0.8020,-0.7851,*,*,*,*,*,AmB,B@@@,GE@,0000,0000,

and I put "\06@\02*" as a "Search string/char" , where is the split point? is it in front of -0.8010 or in front of -0.8020?

 

and is there are any other, better solution?

 

Thanks.

Problem recognize hardware over USB

$
0
0

Hello,

I'm useing Labview 2016 (64-bit), everything work before switching to a SSD. So everything was fresh installed.

 

I manged that the arduino and some PI Stages are working fine (shown as com ports).

But i strugel to get the other divices running again. As an oceanOptic 4000USB, and Horiba Spectrometer and a ccd Cam from bluefox.

 

I tried reinstalling Labview, setting everything back. I thing i miss some packeges. Every device is working with the Orginal software, but not with Labview anymore.

 

I look up some solution to get MAX to recognize hardware again, but the didn't work out. I have attached a pic of the MAX configuration for most information needed.

Any suggestions ?

 

Kind regards

 

Recording benchtop power supply output via LabVIEW

$
0
0

I have a B&K Precision 1688B switching-mode power supply (0-18 V, 20 A max) in a test rig. I simply want to record (not control) its voltage and current output measurements with my rig's VI. The power supply has a USB port, but B&K does not have a LabVIEW driver for the device.

 

BK did make its own software (HCS operating software) to control this power supply. HCS offers datalogging services, but I'd like to record all my measurements into a single location using a single program.

 

Can LabVIEW use HCS' drivers to talk to my power supply? If so, how? BK offers HCS and USB COM drivers for the 1685B in the power supply's software page.

 

I'd rather not use high tolerance resistors, a new power supply, or an expensive new current probe just to record a measurement that an existing device is already making.

 

I'm using an 6361 DAQ along with a 2345 SCC connector block in my test rig.

Serial read with termination

$
0
0

Hello!

 

I'd like to read buffer with termination char (\r and \n)

 

My setting is 9600 / 8 / none / 1 / RTS/CTS flow control as my instrument using flow control, (RTS/CTS)

 

What I want to do is read buffer and compare with string.

 

I wrote [CB] to instrument and read buffer.

Read buffer indicate "CB" and it's byte is 4. But string "CB" is byte 2.

I want to make while loop when read buffer is "CB" but as it is not same with string "CB", I cannot finish while loop.

 

From NImax, I found that read buffer was \rCB\n. So, if I can read buffer with \r, \n, \s character, it is possible compare with "\rCB\n" string.

But I cannot figure out how to read with these termination char.

How can I do that?


Hislip service discovery from NI-MAX

$
0
0

NI-MAX is not auto-detecting the Hislip service i am running (Hislip is running along with LXI).

I have the NI-max 16.0 version. I am able to add the service manually and able to communicate without any issues. but only problem is with auto-detection.

I have verified the services being advertised using Wireshark and bonjour browser tools.

is there any other service i need to run or enable in my system for the NI-MAX to detect the Hislip?

controling agilent E4990A impedance analyzer using USB & labview

$
0
0

I have downloaded the driver of E4990A,Now,I can control it to set the Measurement parameters,and some marker parameters.There is the value on the  impedance analyzer.But I cannot to read the value from impedance analyzer on the PC with the simple example code.its value will be 0 or 9.91E37.

The code is the picture .it is the  example code of e4990a,but it does not work.My problem is that the last read value VI do not read value.The value in labview is 0,but there is the value in the e4990a impedance analyzer.

can u help me please? thank you! 

Can Virtual host only ethernet adapter (VM TCP/IP) configured/added using NI VISA ?

$
0
0

I am having an virtual machine (LINUX) debian distribution running in windows 7 host. So it have in default virtual host only adapter of TCP/IP type. ( this can be modified according to the VM network settings : e.g., Bridged Network, NAT, etc).

As per the instrument control using ethernet, the pining have to be done initially before adding or configuring the instrument (in this case Virtual Machine running on the host system connected through virtual ethernet) in NI MAX. 

So from the host computer i.e., windos 7 able to ping the Host only ethernet adapter. But while proceeding to the next step of configuring the instrument using NI-MAX were unable to add devices and 

Using the lock in driver SR830

$
0
0

Hello, dears.

I am having trouble using the 830 amplifier driver to communicate with the computer. I am using the 25 pin RS232 serial port in the Lock in and on the computer. I need to make the communication between the two. Note The labview recognizes the amplifier. I tried using the 830 and 850 driver, but neither two worked. Could someone tell me how to make them work?

PCI-E Riser/converter

ISCO pump .dll on cRIO-9067 with NI 9870 card

$
0
0

ISCO has supplied VIs and dll files for this pump, but I am concerned that these .dll files will not load on Linux based cRIO platform. 

 

I have found a few links regarding external code on RT targets, but I am still a little confused.  Some documents seem to indicate it is indeed impossible to run any .dll on a Linux based cRIO.  Only an .so file would work.  Is this true?

 

If so, what might my options be? 

 

Is it possible to "convert" a .dll to a .so file? 

 

Has anyone worked with an ISCO pump on a Linux RT platform?

 

Any info greatly appreciated!

 

Alarm Process System using 4-20mA device and SPDT Relay

$
0
0

As SPDT Relays are much more new to me and using it 4-20mA current loop sensors are much more thinking process as I am new to area

I want these SPDT relay to control the alarm processing

please suggest me as I am using 4-20mA sensor with 4-20mA current loop receiver and if any of the 4-20mA sensor readings increase from set value(like if set value is 28 degree Celsius)  then the corresponding alarm relay will be activated as I am working for project so PLC is much more costly I wanted to know can I make this circuit or use any kind of hardware to make the alarm system manual(without coding)?

or I have to use open source circuit boards (like Arduino , Raspberry Pi)

Please help me out in schematic if we can make it manually


arduino y labview comunicacion serial

$
0
0

hola que tal soy nuevo en este mundo de arduino y labview y espero puedan ayudarme, estoy haciendo una interfaz para que según el diámetro de los troncos medidos por 3  sensores sharp me envié esos troncos a un lugar donde son separados el problema es que cuando empiezo a leer y escribir los datos en labview y arduino me empieza a mostrar datos erróneos o los valores de una casilla me los visualiza en otra y no se como acomodar esto, otra cosa es q cuando las variables pasan de 255 me reinicia los valores como podrían hacer para que no suceda esto? espero puedan ayudarme lo mas pronto posible, les anexo el archivo vi y el código del arduino

Tektronix DPO4054B Channel Query

$
0
0

Hello,

Does anyone know of any command to query the channel number of a specified active measurement?

For example, when using cmd MEASUrement:MEAS<x>? This returns all measurement parameters for the specified active measurement <x>; but how to retrieve the scope channel for that measurement?

Thanks,

 

 

MODBUS Through NI USB 6008?

$
0
0

Hello.

 

I'm trying to control a VFD from my PC using Labview (could use something else if you suggest it is better).

After I get the basic control down I need to start adding PID control to it.

 

Can I use the Digital I/O of the NI USB as a port to communicate with the VFD with MODBUS protocol?

 

This might be completely far away from reality but I'm giving it a go.

 

Thanks.

Trouble Getting Started

$
0
0

‎04-11-2018 11:49 PM

I'm running into problems setting up what I would think should be a pretty straightforward configuration: running in Windows session 0 and automatically getting data at a specified interval from three channels on our Fluke 2625A. (Everything's easy when you know how.)

 

How far have I gotten? I'm barely out of the gate yet, if even that.

 

I've installed VS2013 into a VM so I can get all of what the MS2015 package has to offer. (I know we're supposed to be able to run different versions side-by-side, but I just don't trust it—especially not with a five-year-old IDE.) Once I get the driver wrapper code generated I'll copy that to my 2017 instance on my workstation and build out my Windows service from there. This is my current plan, anyway—I'm open to suggestions for improvement on this.

 

So I installed MS and NI-VISA, in that order, but I'm not sure what to do next. I'm not finding any code samples specific to my scenario. It seems I can do everything but what I want to do.

 

The driver for our device is here:

 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E2E2A3038D074997E04400144FB7D2...

 

...but it's in source code form only. I'm highly proficient in VB.NET, but I'm absolutely lost when it comes to C/C++. Do I have to build this thing from source? I sure hope not. I wouldn't trust myself for a thousand dollars on that one.

 

How do all these pieces fit together? What advice would someone have for a stone-cold beginner?

 

Thanks,
Jeff Bowman
Fairbanks, Alaska

 

946 Vacuum System Controller

$
0
0

Hi,

I need to connect a MKS 946 Vacuum System Controller using Labview software to be able to program (automate)it. My aim is to be able to define programs to open and close a throttle valve (connected to 946 controller) based on the pressure readings. MKS people could not help me because its a pretty new instrument. I really appreciate it if someone help me to find a start point.

Thanks.

Viewing all 5665 articles
Browse latest View live


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