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

Does labview support BLE costum profiles?

$
0
0

Hi

 

I'm trying to establish a BLE(bluetooth low energy) connection between a Psoc pioneer kit and labview. I'm able to find my device, but when i use the "Bluetooth RFCOMM Service Discovery.vi" I'm not able to find any information on my device(sevices, UUID etc.) 

 

Does labview support BLE(or is that even necessary, when the bluetooth dongle supports BLE)? 

 

And is it possible that labview is limited to a certain numbers of BLE profile?

 

Thanks in advance! 


GPIB serial Eurotherm

$
0
0

I am having problem getting to work GPIB to Serial converter NI adapter like this one.

I am controlling an Eurotherm product. I have managed to get it working with the PC serial port but now I want to control it with the convertor and I am getting nothing. I have tried several configuration of the converter but it does not work, appear like dead. I should be in G mode, correct?

I am attaching pictures from the labview library which work with the serial port and the ones I am trying with the convertor are very similar (in oder convertor mode I fix the interface paramenter and used similar VI-with-not-interface-config to send commands) Thank you for any help here.

Controlling thermotron 2800 using lab view 2010

$
0
0

I am  using agilent 82357B GPIB - USB cable to control thermotron 2800 using lab view 2010

 

I could find the device in the MAX tool by enabling the NIVIsa tulip.dll option under passports

 

If i send the Read operation request under VISA test panel ,it always shows up the error "Time out before the operation completed " (Refer attachment)

 

I am getting the same error even in the VISA Read operation in LAB view .

 

Is the problem due to the agilent cable incompatibility?

 

Also ,It would be great if i get the sample vi's that has the GPIB settings and basic commands

(status, setting temperature , etc ) used to control thermotron 2800

 

Thanks

 

Are there known problems with using the PCI-8430/8 with windows 7?

$
0
0

Hello,

 

I have several PCI-8430/8 cards (8 serial port cards) that were originally purchased to be used in Windows XP computers for the purpose of calibrating proprietary serial devices (using 9600 baud.). When my company transitioned to Windows 7 PCs (Dell Optiplex), I discovered that the PCI cards now collect data from our devices at a noticeably slower rate than previously experienced, with our calibration process taking nearly twice as long as it used to. It almost seems as if the ports can no longer be accessed asychronously. I have tried using several different versions of the Ni-Serial driver to resolve the problem, all to no avail. Has anyone heard of this problem, or know of a potential solution to speed up the serial communications with this data card?

Connect to climate/temperature chamber in LabVIEW

$
0
0

Hi,

I'm sort of new to LabVIEW/a student and during my internship at a company I got an assignment to develop a remote control interface for the Weiss WT3 climate chamber for their tests. I'm using LabVIEW 2014 64-bit.

My previous experience in LabVIEW has been using the NI USB-6211 for remote controlling power supplies with analog voltage control and that is a bit more straight forward, I think.

Anyone with experience in this area that has any VIs that I can take a look at?

 

Here are some of the things I'm unsure of

  • How to connect it physically? There are Ethernet, USB and RS232 connectors as far as I can see
  • Use the bundled software with LabVIEW or only use LabVIEW?

lectura de datos puerto serial lenta

$
0
0

Buen dia

 

Estoy realizando un programa que lee datos que son enviados por un arduino por el puerto serial, pero al momento de ejecutar el programa se demora mucho en realizar cada loop. no le tengo tiempos de retardo al labview. y la velocidad que envia los datos el arduino es de 10ms, pero el programa en labview se demora como "un segundo" el revisar  y realizar la programacion.

 

 

espero me puedan ayudar

 

gracias.

Using Fluke Compass with GPIB-USB-HS

$
0
0

I am trying to communicate with our Schwien manometer using Fluke Compass with a NI GPIB-USB-HS. I am able to talk to the manometer with NI VISA but not with our Fluke Compass software, Compass does successfully communicate with other equipment on the bus. I used NI trace to look at the Command I am sending to the manometer and noticed some differences. Visa sends the Command D as "D", but when compass sends it, there are a couple of periods after the command "D..". Attached is a screenshot of I/O Trace. Does anyone know why I am receiving an EABO?

 

 

not getting bytes from serial port

$
0
0

Hello friends,

 

I have a force measuring instrument connected to CPU using RS-232 cable. I use the labview program made using VISA write and read. I get correct force readings. But my problem is that I get higher values of "bytes at port" reading. The instrument sends maximum 16 bytes but I see 4065 or something greater than 16byte. I can even see the COM port in MAX. Why is that happeneing? How to solve this?

 

force measurement.PNG

 

Thanks

Ashnu


Timeout error (Hex 0xBFFF0015) in NI VISA test panel when attempting to read from device

$
0
0

Hello,

 

I am attempting to control the set position of three daisy chained four-way actuator valves. They are VICI Valco and model # EUHA. I have them connected via RS-232 to USB into my computer. I was able to communicate with them when I sent some simple commands through hyperterminal and when I open MAX the devices appear and the panel says the devices are functioning properly. However, when I go into the test panel and try to run some default commands, I get the timeout error, 0xBFFF0015, when reading the command. Thank you for any help you can provide.

display dot matrix

$
0
0

Hi All

 

I got this dot matrix message board but i am trying to find software to get text onto it through serial port ( USB >>serial port )

 

the board is : FRENDS model:FDS43

 

Does anyone know pls?

 

I tried Terminal, Tera Perm but no luck so far :smileysad:

 

Greetings

NI CB-37FH pin connections

$
0
0

Hi, can someone tell me what the swtich connections look like inside this relay? As in, if pins 20,21, and 22 are a series of NC, COM, and NO pins, which one is which? The datashee here doesnt have the info (that I can see). 

 

Thanks in advance,

Connecting to a GWInstek AFG-2105 via USB

$
0
0

Good evening all,

 

I'm knocking off rust on my LV programming, and trying to incorporate a GW-Instek AFG-2105 Arbitrary Function Generator.  Ideally, I'd like to be able to specify sine waves (amplitude, frequency, and ramping) for an experiment.  The unit connects through a USB cable to my laptop, which is running LV02013 (and I believe I have NI-VISA installed; at least, I have VISA options in the block diagram functions).

 

  • Looking in NI, there don't seem to be any drivers specifically for this unit
  • Looking in NI-MAX, I'm not seeing anything (and I don't see any USB options under "Devices and Interfaces")
  • There doesn't seem to be any exciting "found new hardware" message when I plug the AFG into the laptop
  • Looking on gwinstek.com, I found drivers for Labview 7.1 that show up as a LLB file (which is new/forgotten to me). Through that, though, I can pull up a variety of VIs that I can supposedly link to, but I need a resource for them.  Presumably, I'd get that through MAX, which isn't seeing anything...

So where I am is slightly stuck, but certain it's something small I've forgotten.  Would you guys mind taking a bat and knocking me loose?

 

Thanks!

 

-G-

NI USB-6008

$
0
0

is it possible to have 100 channels from one USB-6008 DAQ device? if yes, how can i configure the hardware. are there other alternatives to obtaining the 100 channels, if yes, what are there and is it more cost effective configuring my USB-6008 to obtain the 100 channel or buying a compact device that can perform the same function. the instrument in question i want to control is a thermocouple.

data acquisition with GPIB

$
0
0

sir i m generating voltage from -10V to +10V in the steps of 0.01V from NIUSB-6251 and simultaneously i am acquiring the that data from tectronics scope with GPIB . but that procedure takes lot of time .is there any method for fast acquisition.here i have attached my programme.help me to solve this problem

modbus

$
0
0

Hello!

 
I am a beginner in Labview and I need to write a program, so please help. I am using two temperature controllers set temperature using the MODBUS protocol. I do not know how (after comparing the set and actual temperature) have the command "heat" . All I know is that the registry 25 I save the value 2 with Preset Single Register command. In Annex Vi. Thanks in advance for any advice.

NI MAX cannot see / looses network instrument

$
0
0

There appears to be a bug with NI MAX where a network instrument which was previously configured suddently dissappears and when we attempt to re-establish the instrument, MAX claims that it cannot find the instrument.

 

This was seen on 4 different stations, all sharing the similar behavior.  This was also seen at a completely different customer where the configuration was setup by a fourth person.  At client # 1 there are 4 stations.  They were setup by 3 different people using the same instructions.  Everything was fine on all 4 stations.  All of a sudden, the information dissappears from the network instrument list and it is not possible to re-configure the network instrument within MAX.  A similar behavior was reported by another client which is totally different than the first client.  NI MAX was configured by a different person than at client 1, possibly using different steps (although it is quite simple to setup a network device within NI MAX).

 

NI MAX at client #1 are versions 5.40f0 and 14.0.0a2.

NI MAX at client # 2 is version at least 14.0.0a2.

 

If we copy an exported settings file from another station, the network devices are restored and it is possible to use the network instrument.  However, if you attempt to setup the instrument manually, because MAX cannot find it automatically, it is not possible to validate the instrument and complete the setup.  Even if you cheat and complete the setup, the PC will not communicate with the instrument via VISA.  However, it is possible to communicate with the instrument outside NI MAX.  The instrument is seen by the PC and does respond to ping requests.

 

See image below.

 

 

 

 

When trying to validate the instrument, NI MAX responds with the fact that it could not open a VISA session via TCPIP.  

 

My first question is:  why does the instrument dissappear in the first place?

 

Rebooting the PC did not help.  Basic troubleshooting did not resolve the issue.  This is not the first time I work with NI MAX and with network instruments; however, this is the first time I see them dissappear fromNI MAX.  

 

I did not find anything while searching for posts for similar issues, so I do not know if anyone else has seen this.  I did encounter a similar description for a bug that was supposidly fixed in MAX 5.4

 

Does anyone at NI have a clue at how to make NI MAX more solid with respect to network instruments?

 

Thanks,


RayR

EtherCAT EL7201

$
0
0

Hi

 

My system consists of a NI cRIO – 9082 which is acting as the EtherCAT Master. The cRIO is then connected to a BeckHoff  EtherCAT coupler EK1100. Off this EK1100 I have multiple EtherCAT slaves which I can communicate to without problems (EL1008. EL2008, EL3008 and EL4008). However the EL7201 module fails to enter the ‘safe operational’ state.  I believe the issue is related to distributed clocks on the EtherCAT slave. I have enabled the distributed clock (DE) on the module however I am unable to enable the enable the  distributed clock on the Ethercat coupler (the option is greyed out).

 

I would be regretful is anyone can spot what I am doing wrong? or could give some advice on how to interface with a EL7201 module via LabVIEW?

 

Thanks

Dave B

Error-For loop

$
0
0

Hi,

 

I want to perform a frequency-sweep with "Agilent 33210A". I know that this device has the capability to do the sweep automatically, but I will use this program for other signal processing stuff.  I've written the program, but when I connect the "reset.vi" to the loop, I face the error "You have connected two terminals of different types". Should I use a data-type converter or something like that? The device has been installed correctely, because I can run the LV examples without error.

I have attached the file.

 

Does anyone know what is the reason that I cannot connect to "close.vi"?

In advance, thanks for your help.

 

Petar

 

sampling rate for signal express

$
0
0

Does anyone know where I find the sampling rate and samples to read for the Signal Express when working with a cDAQ-9172?

 

 

Maria

MHDDK with Visa: event when DMA transfer complete?

$
0
0

We are using devices like PXIe-6363, PCIe-6321 depending on requirements and these are dealt with using the MHDDK with Visa backend on Windows (I hope that is the correct terminology).

All I/O, both analog and digital simultaneously, is done using DMA transfers using the standard MHDDK classes for doing so. This all works without problems.

One last improvement is I'd like to be notified using a callback/event system when a new block of data is ready: currently I'm just polling the input DMA's available number of bytes in a continuous loop with no sleep() in order to be able to process data as soon as it's ready. Works, but keeps one cpu busy the whole time.

I didn't see any way to use callbacks using the MHDDK which makes sense since it's purely based on register I/O if I understand it correctly.

However I noticed Visa has viInstallHandler, viEnableEvent and the likes. I went through some documentation on the event types but admit this is over my head and I have no idea where to start.

Could anyone point me in the right direction?

First question is if what I'm asking for is possible? Second I think I just have to call viInstallHandler for the correct event type, then figure out if the event is for an input DMA transfer from PXI? Using viGetAttribute somehow?

 

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>