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

Avery A702 Cable DB9-D25

$
0
0

I want to makeacable for Avery scale based on this:

 

The interface is based around RS232-C interface standard with hardware handshaking disabled.

 

The interface has full duplex operation and uses only two signals; transmit data and receive data. In addition to these signals a ground connection is required. The EPOS is defined as the DCE terminal, the scale as the DTE.

 

The DTR line is held active by the scale at all times. This line is used by the EPOS to determine whether the scale is connected.

 

     +--------+Transmit                              Receive +---------+

     |               |  +---------------------------------------> |              |

     |               |Receive                           Transmit  |               |

     | EPOS  |<------------------------------------------- | Scale    |

     |              |             DTR                                        |              |

     | DB9     |<------------------------------------------- |   DB25 |

     |              |           Ground                                     |              |

     |              |<----------------------------------------->  |              |

     +--------+                                                              +---------+

 

Can any one help me with  diagram

 

Thank u a Lot


Dual Stepper Motor Controllers on a CAN Bus

$
0
0

Hello All,

 

I hope this is the right forum for this message.  If not, please let me know where I should post it.

 

Friends of mine are working on a project involving controlling many dual-stepper motor assemblies, using LabVIEW as the main control code running in the control hub computer.  The stepper assemblies will be located remotely, up to several hundred feet away from the control hub.  I suggested that they consider using a CAN bus for communications, and they seem interested.

 

Can any of you recommend drop-in stepper motor controllers for this application that will integrate easily with LabVIEW and NI-CAN?

 

Is CAN the right com bus for this application?  If not, what would you suggest?  What else should my friends be considering?

 

Many thanks in advance for any suggestions you can provide.


Sincerely,


Forbes Black

NI 8452 How to make sure enable pull-High???

$
0
0

Hi,

 

Now, i want to code 8452 Driver, and 8452 will be a slave of I2C.

 

So, I want to make sure   whatever pull-High is needed Pull-High or not.

 

Thank you  very much

useing an old keithely 576

$
0
0

i have just used an old keithely 576 as aMesurment system.

All you need to use is a GPIB-usb converter and send commends as describe in the 576 manual. If a high resolution voltage is needed it is possible to use the thermocouple input.   

 

fpga

$
0
0

good afternoon, i just wanna as if anybodu knows about the Digital Design and FPGA Implementation of USB OTG? thank you. 

Can't get RQS to work

$
0
0

I'm new to gpib programming and the various forum threads on this topic haven't helped me. If I understand correctly, If I have serial autopolling set then I can wait on RQS otherwise I can wait on SRQI. I've written a short test that prints ibsta, iberr, and ibcnt after each gpib command. Regardless of how I set IbaAUTOPOLL, ibsta after ibwait reports TIMO. I'd appreciate any hints on what I don't understand. This was done on very old Solar is 8 OS/Sun hardware using NI SBUS card and drivers; this code correctly reads a resistor from an Agilent dmm.

 

When enabled I see:
ibsta = 0x4100  < TIMO CMPL >
iberr = 0 EDVR <DOS Error>
ibcnt = 5

When disabled I see:
ibsta = 0x4128  < TIMO CMPL CIC TACS >
iberr = 768 <UNKNOWN>
ibcnt = 15319040

I've included the source of my test case(renamed dotc cause .c wouldnt attach) and both runs as attachements. I'd really appreciate any clue on what's wrong. (so stuck)

TIA

gary

Set addresses of identical DAQ devices

$
0
0

Hi,

 

Is there a way to set address of NI instrument? I have multiple NI USB 5132 and would like to adress them so that I can identify individual instrument. Either in HW or setting it in labview will be acceptible.

 

Thanks

Help! E3631A read out slow

$
0
0

 

Hi, I am working on a LabView application to control and monitor 4 power supplies. Two of them are Agilent E3631A (3 channels). The GPIB cable chained PSs are connected to a Windows computer via a GPIB-UDSB-HS cable. The application is built based on a state machine design patern. I have no problem to initialize all 4 power supplies in an Init. state and handle Set and/or Enable output in an event structure for state transition . Read out and display the volt and current in the Idle state.

 

The problem is that reading out from 2 Agilent E3631A power supplies take very long, about 2 ~ 3 seconds. Other 2 power supplies total takes only less than 200 ms. I understand that E3631A has 3 channels and it takes longer time to command select channel and read out colt and current. But it seems very long to me. Is it normal? Looking into the VISA calls in the drivers downloaded from NI, every VISA read takes about 200-300ms. So it takes 600-700ms to read out volt and current for every channel. For one power supply with 3 channels, it will take about 2s.   It is new for me to work on VISA instrument control application. I would appreciate if anyone can shed some light on.

 

Windows 7, LabView 2012, Driver: Agilent E363X.


Conception d’un système de gestion des temps pour une PME

LeCroy Waverunner 640Zi -- Data Acquisition

$
0
0

Hello... I am trying to set up my waverunner oscilloscope with LabVIEW SignalExpress for data aquisition. 

Steps I have taken thus far:

 

1. Pulse generator hooked to scope for signal generation

2. USB from scope to Computer with LabView installed

3. Downloaded lecroyscope driver 3.2.9-x64

 

I turn the scope on, and plug in the USB to the computer and SignalExpress starts up. 

a. start using data aquisition

b. add step/aquire signal/ IVI aquire/ IVI scope aquire

c. create new IVI session .. resource descriptor (I choose my USB device "USB0::0x05FF::0x1023::2812N61507::INSTR"), I select the correct driver (lcscope), and I don't click enable simulation data, hit ok
d. I keep getting configuration errors

e. Did research.. some forum said to goto MAX, find drivers and unclick Cache and Interchange Check

f. Trying to initialize ... still get config errors. 

g. Back to MAX .. change simulate with specific driver. 

h. Initialization works... NO errors, BUT no data is being aquired. 

 

PLEASE HELP ! 

 

 

 

 

 

 

 

Get Serial Number of GPIB-USB-HS

$
0
0

How can I programmatically get serial number of GPIB-USB-HS device?

Imaq image acquiring problem

$
0
0

 

Hello,

I am using webcam. When I am try to interface the camera into the labview by using Vision Acquisition block(which is available in vision and motion toolkit), it showing the error as " The Following error occur while configuring the acqusition: NI-IMAQdx: (Hex 0xBFF69026) License not activated." But I have license to activate the toolkit and also i already did that. 

one more thing, my Camera works fine in NI Measurement and Explorer. Kindly guide me How Can I overcome the error and How to move. 

Please I am awiting for your replies. 

 

And finally, I tried one VI Also. in that VI also getting some error. Here I attached the error VI image

Bulk In Pipe is -1, Bulk In Status is Invalid

$
0
0

I'm creating a new driver for an old piece of equipment, a Canberra iSolo Alpha/Beta Radiation Counter.  The manufacturer does not supply an independent driver with the instrument.  I'm forced to use USB RAW since I don't believe the tool is USBTMC compatable.  I've created a USB driver using the VISA Wizard and it looks like it's almost all there, except I get a VI_ATTR_USB_BULK_IN_STATUS with an Invalid Property Value, the instrument appears to not support Bulk In Pipe so that attribute is set to -1.  Why is the value for the status invalid?

 

Cheers,

Boyd

 

 

unable to detect agilent E5061B in NI MAX with VISA tcp/ip

$
0
0

Hi,

I am using LV2011 and VISA 5.4

 

I am unable to detect my Agilent E5061B with LAN connection.

 

* When using cmd.exe I can "ping" the instrument with the already set IP-adress.

* The instrument will not be present when I am creating a new VISA TCP-IP device

 

Has someone a description or a check-list I can follow?

 

 

Best regards

Oddgeir

 

USB vs. RS-232 for an Ohaus SP6000 Scale

$
0
0

I am attempting to connect to this scale: http://balance.balances.com/scales/272/

However, I need to purchase an USB or RS-232 connector in order to retrieve data.

http://scaleman.com/ohaus-71147377-usb-scout-pro-interface.html

http://scaleman.com/ohaus-71147376-rs232-scale-interface.html

 

How much will the connection difference change the way the VI operates?  Is there a preferred method between RS-232 and USB?

I want to create a VI to determine when the scale has reached steady state, store the scale data, repeat, and then compile the data into an array to export to a spreadsheet.

 

Thanks!


Simulate GPIB Kethley 6430 using IVI driver

$
0
0

Hi Everyone, 

 

I'd like to know if there is a way to use IVI drivers to simulate a Keithley 6430, and also maybe a Keithley 2128. I don't have the device but I would like to make some tests, so simulating it would be very useful.

 

If it is possible? If yes how should I do it? Is there a tutorial?

 

Thanks, 

 

Best Regards,

 

 

library for digital scale GM-500

$
0
0

hello

i need a library for a digital scale GM-500

labview 8.5

RS232

thanks

library for digital scale GM-500

$
0
0

hello

i need a library for a digital scale GM-500

labview 8.5

RS232

thanks

limitation in the buffer allocation in visa set buffer VI in for the Virtual port if EKI-1524

$
0
0

HI all. 

I build test setup that contains network to serial server EKI-1524 from advantech and equipment coneected to it such as Scope, AC source and electronic load. 

Instrument driver of the scope for the downloading the screenshot allocates the receiving buffer for 1050000 bytes.

in this mode i receive the error  0xBFFF003C - insuficinet system recources.

I have checked this driver with USB to serial converter and with direct USB connection of scope - always work with no errors.

Checking the EKI-1524  virtual comport directly in max VISA TEST PANEL ( without instrument driver of scope  ) shows that maximum allocated buffer size is the 12288 bytes. 

Attempt to set the recevinig buffer size tp 12289 byte cause same error.

 

Please suggest how can i  fix this problem. 

 

 

NI-VISA Server and embedded PC X86

$
0
0

Dear All,

 

I'm working on a project which involved integration of differents sensors on an U.A.V.

The sensors will be connected to a mobile X86 embedded PC, and the data will be transmitted to a standard PC on the ground using radio transmission.

I'd like to create a NI-VISA server from the PC base station (client) to the embedded PC (server) to acquire the data of the sensors.

I'll use 2 RS232 radio modems connected on both PCs for the transmission, the radio transmission will be transparent.

Both PCs will run on windows 7 64 bits.

Do you think this application would be easy to configure?

Do you have any recommandations on it, or other ideas for my application?

Concerning the embedded PC, we are interested to use a Fit-PC from CompuLab company (mobile X86 platform).

 

Thank You for your reply

Laurent

Viewing all 5662 articles
Browse latest View live


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