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

Hexadecimal code for VISA-Temperature Controller

$
0
0

Greetings,

 

First, I am not a programmer by any means so please excuse my ignorance.  I'm trying to control an Accuthermo FTC100D temperature controller using LabVIEW 2013.  I'd like to be able to send it a temperature input (Set Value) at a specific time, hold it at that temperature for a specified duration, and be able to read back the temperature it went to (Process Value). 

 

I have controller attached to the computer using a USB/serial converter.  I know it's wired properly because it works with the Accuthermo software that was made for it.

 

Pages 8-11 of the attached manual specify how messages should be written and received from the computer to the temp controller.  According to the manual, "Both command and response messages consist of three fields — Address, Function code, and Data — sent in this same order. For all fields, the allowable characters transmitted are hexadecimal 0~9 & A~F."

 

Right now I just want to read back value at PV register, which is code 04 in the manual.  I also know that the controller should be address 1, as that is factory set and I haven't changed it.

So I tried sending the controller messages by sending a String constant--> VISA using some of the VI's in the topic below:

 

http://digital.ni.com/public.nsf/allkb/6C24F2F07BC23BB78625722800710865

 

However, the VISA kept timing out and I was not able to get a response from the controller.  I feel like this must be an issue with how I'm framing the message, but I'm pretty lost as to what I need to change.

 

Any help on this would be greatly appreciated!

 

Laura


visa read

$
0
0

Dear all,

I am using simple visa read function for reading the data from a device. The device is working as a master. Now to establish the communication i have to send the request frame to the device and it sends me back some response. Now my problem is data on the serial port is coming very frequently and i am not able to sort it out for further operation and extracting the meaningful informmation form it. can i store the incoming data of the serial port to some where in array or regisster, because next frame response replaced the prvious response or is there any other operation that i perform to resoive my problem.

I have used feed back loop and concatenate function for storing the incoming data into buffer, snapshot is atteched. All i need to store these frames separately.

Thank youCapture.PNG

transmitter data by usb(serial port)

$
0
0

hi
i writting a program in ARM lpc1768 for A/D converter
then i use usb as serial port to send data to laptop an recieving by labview
my sampling rate is 400Hz

in labview i recieve data (i think) in ascii show
i wanna know how could i convert this to decimal or binary
i attach my design and the result
thanks

I need a data sheet and a certificate of Volatility for GPIB-ENET, Ethernet IEEE 488 Controller (776933-21)

$
0
0

I need to find the data sheet for 776933-21 GPIB-ENET Ethernet IEEE 488 Controller.  I realize this is a end of life product but hoping one can be dug up somewhere.

 

Thank you

Obsolete drivers for old hardware?

$
0
0

Hi folks.  I'm looking for the driver package for Solaris 2.x for the PCI-MXI-2 board.  I am trying to resurrect an old data acquisition system mainly for fun.  I can't seem to find those old drivers anywhere; can anyone point me in the right direction?

 

                                       Thanks,

                                        -Dave McGuire

                                         mcguire@neurotica.com

 

buffering recieve data from serial port

$
0
0

hi
i wrote a code for ARM lpc1768 (ADC) then tansfer data by serial port(9600 baud rate) then i recieve data correctly in labview
but there is an issue that when i wanna plot it labview because of the sampling frequency labview cant detect most of data and just detect the peak of the sin wave input
in matlab i can plot data correctly because matlab buffering data
can someone help me how should i do this in labview?
i attach my design and result
thanks

Need Solaris drivers for old hardware

$
0
0

 (Hi folks, I posted this question yesterday, but I really should have mentioned the platform in the subject line, as people will assume Windows.  I didn't see a way to edit the subject of an existing topic, so I'm re-posting this.  I apologize for the mostly-redundant post.)

 

  I'm looking for the driver package for the Solaris 2.x OS for SPARC systems (not x86, and certainly not Windows) for the PCI-MXI-2 board.  I am trying to resurrect an old data acquisition system mainly for fun.  I can't seem to find those old drivers anywhere; can anyone point me in the right direction?

 

                        Thanks,

                        -Dave McGuire

                         mcguire@neurotica.com

 

LeCroy Wavestation 2052 input lag from LabView

$
0
0

Hi All,

 

We are trying to use the LeCroy Wavestation 2052 to set up a 2 channel frequency sweep for a new Mass Spectrometer. I have looked through the manual and SCPI commands for this model and formatted some VIs to configure the basic wave parameters for each channel, then put both channels into sweep mode with an external trigger. The problem is that once the commands are sent it takes up to 2-3 seconds for all of the settings to change. In that time the external trigger has already been sent, causing channel 1 to start the sweep before channel 2 is configured. The Wavestation is currently set to USBMTC (I also have the option for USBRAW).

 

I am currently using LabView version 15.0 with the VISA drivers. Everything is connected and working, but the settings are changing too slow for it to be effective. Eventually the scan times we will be performing will be in the low millisecond range, so I'd like to figure out how to configure the VISA commands to not have this delay. I relatively new to Labview so forgive me if there's some glaring ovbious setting I have overlooked.

 

Attached are the VI's I have been using to configure and write the wave parameters. I would greatly appreciate any help!


HP6633A to HP6633B conversion (Driver Needed)

$
0
0

We have sevral test stations running LabVIEW 2011 that contain a HP6633A power supply.  Recently, we have not been able to get HP6633A from our vendor so someone purchased the HP6633B instead, thinking it would be a drop in replacement.  Turns out, it's not, the VISA command set is totally different.  I'm posting this on the off-chance that someone has developed a driver that can talk to both, or at least a driver for the HP6633B that is LabVIEW 2011 complient.  The only driver I could find for the "B" model was for LV2012 and up.  I understand I should talk to Keysight, and I am doing that in parallel with this post.  Just hoping to get lucky.  Thanks, Pat

Delay before sending a message via Visa Write

$
0
0

Hi everyone,

 

I want to enable communication between a microcontroller (dsPIC33E) and the cRIO using RS-485 serial communication in the half-duplex mode. For that purpose, I use NI 9871 module.

 

To see what happens when I send a message via the Visa Write function, I recorded the message via an oscilloscope. Please find attached the trace. For easier referencing, let's say that the far left line denotes t=0 ms, and the time step is 1 ms.

 

It is clearly visible that the NI 9871 module switches to the transmit mode at t=1 ms, and that it releases, i.e. switches to the receive mode at t=10.2 ms. However, what I don't get is the delay before sending a first start bit, and after the last stop bit.

 

Should I implement these delays on my microcontroller as well? If yes, is there any general formula for a duration of these delays?

 

Thank you in advance!

 

Best, Marko

Does anyone know if labview can communicate with these zigbee receivers?

$
0
0

I have this zigbee kit:

 

https://www.sparkfun.com/products/13197

 

and currently have a serial device connected to the transmitter end which is connected to an arduino that wirelessly sends a string value when commanded by the arduino to the zigbee reciever that is connected to my pc over the serial to usb converter cable. I can read the strings in the zigbee terminal program (XCTU) but would like to read them in labview so that I can graph the strings. Has anyone ever tried this before with these xbee nodes? Will labview serial read from an always on node (assuming I vconfigured it in recieve mode in XCTU first) if I just do a serial read on the xbee com port?

LabVIEW with Keithley 6485 picoammeter and 2410 SMU

$
0
0

Hi all,

 I am having an issue with the "zchk" (zero check) on the front panel of the Keithley 6485 picoammeter-I need zchk to be turned off, and I can manually do this, but when I run the labview program, it automatically turns it on and I don't recieve any results. Where could I turn off zchk in labview? I've looked through the driver, and configure measurement or configure dc current was of no assistance.  

Using:

GPIB-USB-HS

Labview 2009/Windows

Drivers: 

http://www.tek.com/specialty-instruments/6485-software/models-6485-6487-and-6514-ivi-visa-based-driver-visual-basic-vb-

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

Problem: Bulk Out(In) Pipe Status (Invalid Propery Value) Hex 0x3FFF0082

$
0
0

A USB Resource (Systec Xemo R262) is connected to the PXI 8135 controller and installed through the .inf FILE (by following the procedure as write here http://www.ni.com/tutorial/4478/de/) to use VISA (version 15.0).

 

Through the VISA Interactive Control it´s not possible to communicate with the Xemo, but VISA gives a RAW address to the peripheral and through MAX it's possible to access to the settings.

 

Systec write that Xemo works with Startbits 1, Databits 8, Stoppbits 2, Baud Rate 19200 (without Parity Bit and Handshake), VISA doesn´t give the possibility to change this data but ask to set Control Pipe, Bulk In Pipe, Bulk Out Pipe (maybe because VISA see the peripheral as a RAW?) and give the Bulk In and Out Pipe Status error (As in the pictures).

 

By trying a communication or trying to change the Bulk settings, VISA gives always the error Hex 0xBFFF003A, by trying to open the Testpanel VISA gives the error Hex 0xBFFF0011.

 

How to set correctly the settings and solve the Bulk Out and In Pipe Status?

 

Best regards

Spurious measurements on Agilent PXA N9030A Using LabVIEW

$
0
0

I am looking into Automating my Spurious Measurement, and I am looking at possibly buying LabVIEW.  The equipment is Agilent PXA.  Would someone familiar with LabVIEW tell me if the LabVIEW base version is good enough for this project?  I am a newbie here, as well as in programing in general and LabVIEW in particular.  Thanks in advance!

 

Hung

Unable to set frequency on HP 33120A

$
0
0

Hi all,

 

First I appologize in advance  if this is in the wrong location or if this is a stupid question. I am new to lab view.

 

I am trying to work with an HP 33120A Arbitrary Waveform Generator. I have the driver loaded, I have the sample vi loaded in lab view. I am using LabView 16. I have the correct address for the ARB selected. I can see the ARB in MAX just fine. I am trying to use a Sine wave at 15Hz frequency and 50 mVpp amplitude.

 

When I try to set the Frequency to 15Hz it is not working. I have the frequency set in the controls on the front panel. The weird thing is, when I check the ARB before and after running the vi, the frequency is 15Hz. But when the vi is running it is always using 1KHz. Both the ARB display and the scope I have it connected to show the 1KHz when the vi is running.

 

What am I doing wrong?


Does this cable perform the same function as this NI box?

Connecting Keithley Sourcemeter 2400 with computer to measure Resistance

$
0
0
Hi guys, I have a keithley sourcemeter 2400. I want to connect it to my computer to measure resistance for each 5 min interval. I want the output of it to be saved in either .txt format or any other readable format. Can anyone tell me in detailed regarding how to do it? P.S. I am new to sourcemeter and labview. Therefore, I don't have any knowledge regarding the both. Thanks in advance.

NI-Max with KUSB-488B Not Showing The GPIB Devices

$
0
0
I would like to describe the problem and steps made ​​to try to fix the problem without success.
 
I using Keithley KUSB-488B Device. We installed the latest version of the existing site http://www.tek.com/download - KI-488_Driver_Version_3.12.1.
My operating system: Win 7, 64bit. 
installed KI-488_v3.12.1\NI Command Compatible Driver. Because I want to use the system interfaces with the software labview.
 
The Problem: Ni - Max - Not showing the GPIB Devices and 
Screen shot of Ni - Max software:
 
1.png
According to Ni-Visa > Visa Interactive Control: can see the GPIB instrument Resources. When you move the mouse over one of the devices noted that message: GPIB0 (unknown GPIB board).
2.png
According GPIB0::12::INSTR(Keithley 6221 DC and AC Current Source) option: can sending and receiving data via Input/Output Option, work fine.
3.png
According Keithley GPIB Configuration Utility can see GPIB Devices.
4.png
 
According Control Panel > System > Device Manager: have Keithley KUSB-488B.
5.png
According Keithley 622x LV 2009 Labview Project(driver for device) downloaded from NI.com.
6.png
The error message i received: Error -1073807343 occurred at VISA Open in Keithley 622x.lvlib:Initialize.vi->Keithley 622x.lvlib:KE622x -- Setup DC Current Source Example.vi
7.png
the same project when i tryed to run using NI GPIB-USB-HS (when i installed his driver) work fine without any error and can see the GPIB Device in NI Max.
 
 
I tryed follow that guide:
 
I would do the following:
Check your c:\windows\system32\gpib32.dll file properties and see what the company and file version is....if National Instruments, for instance, then that would explain your problem.
In all events, try the following: 
1. Uninstall NI-488.2 (if present). Usually this comes along when you installed NI-VISA.
To check and remove go to control panel -> add/remove programs
Look under National Instruments Software, click on change/remove and look for NI-488.2.
If present, please uninstall it.
2. Uninstall any Keithley KUSB-488A & KUSB-488B drivers
3. Remove any gpib-32.dll files from c:\windows\system32\ folder
4. Reboot system
5. Download and install the latest KUSB-488A or KUSB-488B driver from Keithley's website which is appropriate for your hardware. It is possible you have older drivers. ...btw...which device do you have??
6. After driver is installed, connect your KUSB interface and allow the device to be reconized.
If successful, the device should appear in your control panel -> system -> device manager listed as a GPIB Interface.
 
 
The guide does not solve the problem. 
Asking for your help on the subject in order to solve the problem.
Or El-Maleh, Student Final Project at Ariel University

E364xa power supply screen is frozen when working in the remote mode.

$
0
0

I use the E364Xa sample VIs, which was downloaded with the driver (.dll) from NI website. The power supply screen freezes, when a sign "RMT" shows on the screen. Does anyone konow how to solve this issue?   

Populate List on Amulet display

$
0
0

Gemstudio has a widget called "List" which is similar to a Multicolumn Listbox in Labview.  It lets the user select one of the items from the list.  Does anyone know how to programmatically populate a List on the Amulet diaplay (populate it from Labview)?  I find nothing in thier Gemstudio or Gemscript documentation that shows how it could be done.

Viewing all 5670 articles
Browse latest View live


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