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

how to plot two signals from a uart serial

$
0
0

Hi,

I am using a PIC microcontroller to sample temperature and humidity every minute. I want to display this data in labview. I can currently send one data stream and plot it using the visa serial block. But I want to plot both streams simultaniously, how do I do this?.

Lets say I transmit the temperature and humidity using the following structure via uart "010,050". This is for a temperature of ten degrees and 50% humidity. Is there a way I can split these in labview so I can plot both seperately?

Thanks,


Successful keithley 230 program?

$
0
0

The current Plug and Play driver for keithley 230 has been unusable for me.

 

Does anyone either know what might be the causes or possibly have their own driver made up?

want to send data through labVIEW to arduino using visa write and the process and take steps using arduino. A

$
0
0
I want to send data through labVIEW to arduino using visa write and the process and take steps using arduino. After that I want arduino to send the necessary outputs via serial port to labVIEW which it should read using visa read and store it in a string. While I am able to individually write or read at a time, I am unable to do it consecutively. I have used advanced read and write vi for the verification of my code but to no avail. The error reads " timeout before execution". Please let me know where I may be going wrong. Also is there a way to write code for hx711 using labVIEW

hanging visa

$
0
0

hello. i have a big problem visa lab view. my labview give a string code from the microcontroller via a serial to usb converter. my program dont have problem until ,i changed the windows of the pc.then i reinstall labview and visa.but now..when i start to give code and display ,the program is ok and the recived code is display at the front panel. but after the 1 min.. my pc was reset (without error) or  the labview is hang(get data is stop after the 1min)  and  the  labview program dosent stop until , i  separated  the converter (serial to usb)     

                            

Drive a ethernet device from a CRIO

$
0
0

Dear all,

I'm trying to  communicate with a digital multimeter Agilent 34410A through Ethernet connection. If I try to communicate using a PC there is no problem but I would like to use CRIO (I have both 9024 and 9074) and exploit the ethernet connection to drive the multimeter. Unfortunately using MAX there is no way to "see" the multimeter in the network devices. If I try to add a VISA/TCPIP resource from the sub panel network device a windows appears with the following message "MAX is unable to create a VISA resource on this system. Either VISA is not installed on this system or NI-VISA does not support creating new resources on this type of system" 

 

I tried to modify the VISA Option under Software-->NI.VISA 14.0.0 including the IP of the multimeter in the Remote acess list. But there no way to communicate with the instrument.

How can I solve this problem ?

You can find the software installed on my CRIO 9074 in the image attached to this message

 

Thank you very much

 

Davide

 

 

disable abort button

$
0
0

I am writing a VISA based VI to control a pair of Cool Muscle CM1-C-23L20C servo motors.  They are accessed via USB, and my codes are working at this point.  However, when everything is finished, I need to make the operation as "bullet proof" as possible.  At this point, if you abort the VI or stop it  otherwise, the motors will continue to run as per the last serial command that was executed.  My plan is to "hide" the abort button using the :File »VI Properties, select Window Appearance from the Category drop-down, and click on the Customize... .  I would include a "STOP" button on the front panel that when activated, will triger an inner  case statement that would send the proper commands to the motors to stop them and then exit the VI.  Like wise, could I take the boolean output from my "Simple Error Handler VI", and "or" it with the output of the STOP button, to trigger the safe shutdown case statement in the event of an internal error?

Does this seem to be a reasonable solution to avoid leaving the motors in a running state?

 

Thanks.

SHIMADZU UVmini 1240 UV-VIS spectrophotometer

$
0
0

any one help me please !!! , I'm a student at univercity , I'm currently enrolled in the electronics technology program.

We have a computer class in which we have a project to hook up SHIMADZU UVmini 1240 UV-VIS spectrophotometer to a computer (RS-232)  with Lab-view

 
I can't find the driver for this instrument . Please can anyone help me! is there a generic driver that might work? 


Thanks

 

I COULDN'T CONNECT SINGLE BOARD RIO TO MY COMPUTER

$
0
0

AA.png

I INSTALLED NI RIO 14 AND FPGA XILINX COMP AND NI DRIVERS AND NI MAX AND STILL I COULDN'T CONNECT THE BOARD AFTER TRYING ALL THE TROUBLESHOOTING METHODS


What has changed in 488.2 that could effect GPIB address 22?

$
0
0

We use a NI PCI-GPIB IEEE 488.2 to communicate with an Agilent 34410A, the 34410 has an address of 22 and after a recent 488.2 update address 22 will not communication with in house written software (that hasn't changed).

NI MAX can communication with address 22. What has changed in 488.2?

What is fastest method to collect DVM and linear position data (~1000/sec to 10000/sec)

$
0
0

I currently have an old system that grabs a voltage from a HP3457 DMM and pairs it with a position that comes from a HP laser interferometer.

This is a rather old system using HPIB, HPBasic and can get data at 80 to 200 pairs per second (a minimum of 30,000 pairs is needed for each

measurement session).

 

I am looking to improve or replace this with a mind of increasing the speed around 2x to 4x, but am also thinking modern electronics may

easily permit 10x or 100x faster data gathering. This system will not need to be changed often so I would rather not use Labview if something

less pricy will do. I expect that 100x faster might be pricy and that may be ok.

Measurements are; 3VDC to 0.001VDC and linear resolution for position is 0.1um or better over a distance of 100mm minimum.

 

Questions:
What is the best interface to get continuous data pairs at this speed?
GPIB PCI card?
Is USB GPIB up to the task?
Something other than GPIB?


Any real world recommendations for a DVM that can capture 3 to 0.001VDC continuously (30,000 data pairs)
at 1000/ sec?
at 10,000/ sec?

Any real world recommendations on a linear measuring encoder that can output position at 0.1um resolution
(I like the laser, but have my doubts that even the newest can output position as fast as I want, so other encoders can be considered)
at 1000/ sec?
at 10,000/ sec?

Thanks to all!

 

Serial communication using Ti module MSP430 eZ430 RF2500

$
0
0

Hi, I have a VI that reads MSP430 continuously, stores the string in a table, parses the data depending on a string identifier and then plots in two different charts depending on the identifier.

Using the same TI module, when I use serial communication with other GUI it reads a lot faster than in LabView. But I need a VI in LabView as I have to plot the data and other GUI is just reading it. My point is that TI module is programmed currently and its the LabView that is slowing it down.I am attaching my VI, it would be great if someone could help me out. 

P.S : I am new to LabVIew and this is my first VI. 

How to process the continuous serial data (Serial data frame time is 250ms)

$
0
0

Hi,

 

I need a help to "process the serial Hex data" serial data rate is 250ms.

I am able to read the serial data and right now, we have the Concatenated Hex string but not able to Spit this string the modify and write again.

Each 250ms i get new data frame,data frame length is 1st frame 13bytes, 2nd frame 17bytes and  3rd frame 17bytes * no of module.We are develope the application to change the perticular bytes of each frame and send it again.

Mach pattern,Replace pattern all string find and replace fundamental tried not working.

 

Please help.

interfacing a andor camera

$
0
0

how I can interface a andor camera (ultra ixon 897) on labview ?.is there a specific module or examples to guide me .

Is it possible to improve the response time of my VISA write in response to a bytes read using VISA read?

$
0
0

I am using a RS485- USB cable to communicate with a pic controller. I have established communication between the labview VI and microcontroller (meaning I can read packets of data from port using Visa Read and respond appropriately with Visa Write and can keep communicating). I am observing the communication on an oscilloscope. I can see read bytes and the following write bytes that I send as a response.  The gap between the two is about 2 milliseconds. I want to improve the speed with which my visa write is responding to the read bytes (so that the time gap between read and written bytes is approximately 320 microseconds). Any suggestions on how can I achieve this? Thank you.

Using IBIC (DOS Interactive Control) to talk to HP3457a DVM?

$
0
0

I am trying to determine the maximum data output speed of an existing setup;

 

NI   AT-GPIB/TNT   ISA card in a Pentium 500 DOS computer

HPIB cable to HP 3457a DVM

 

IBdiag and IB test say my card is working ok.

I can use  IBIC to get some communication with the DVM (IBRD 16 reports the current voltage)

but  if I try to send a command to the DVM such as IBWRT "BEEP"  or DISPLAY OFF , nothing happens.

I suspect I may have the EOI flag or EOS flag or ??? set wrong    (EIO last  now = 1,  EOS now = 0).

 

How can I send commands to the HP3457a?  and ideas appreciated!

Thanks!


Agilent 34970A communication issue with labview 2012

$
0
0
Dear All, we have a labview software to control Agilent 34970 acquisition switch unit, we found when issue command write/read in NI MAX, it works well and RMT and ADRS (refer to listen and talk) LEDS are ON. but in labview software run, same command issued to 34970A, it shows non existent GPIB interface error. PC use GPIB-USB-HS converter to communicate with 34970A, it set to GPIB0 in NI MAX, and 34970A primary address set to 7 in both NI MAX, labview software and the 34970A instrument. we install labview 2012 professional development and NI device driver 2015 in the dev PC. labview software and error printscreen as attached. appreciate for your helps since we need fix it as soon as possible. Thanks a lot.

OM-DAQ-USB-2401 driver

$
0
0

Did anyone create LabVIEW driver for Omega OM-DAQ-USB-2401 and is willing to share? Thank you.

gpib cable not work on hioki

$
0
0

HI

i have hioki 3156 and 3157

need to connect and use on win 7

i have NI PCI-GPIB  card on my pc and use gpib cable to connect device

 

when i setup ni tools and drivers on pc just see the pci-gpib card setup and no instrument founded on gpib devices

 

i try all primary address but nothing happen

 

i choose interface on 3156 on GPIB and nothing happen

 

please help me what should i do ?

i don`t have the gpib to usb and it cost a lot for me .

need to connect with pci card and gpib cable

 

Does NI-VISA Supports latest mac OS x 10.11 ?

$
0
0

Hi All , 

 

I am trying to do gpib communication. 

With earlier  version of mac os x  10.10 and before it was fine.

Now we have upgraded to mac os x 10.11 and it is not working .

Does NI-VISA Supports mac os x 10.11 .??

 

 

 

String data to indicate ON/OFF of motor

$
0
0

Hi,

      Am using my pic controller for controlling various motors and valves. I have interfaced my pic controller with labview using Visa driver. I am passing binary data to labview through serial communication. Based on the binary data, i want to represent the ON/OFF of motor in front panel. pls anyone hlp with me. Am just using my labview for visual inspection of ON/OFF of the motor. 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>