Quantcast
Viewing all 5676 articles
Browse latest View live

GPIB Setup

Hello,

 

I am using the NI-1095 and 8840 to try to get GPIB to work. I have the microGPIB cable plugged into a terminal block that then plugs into a GPIB cable into a BK Precision 9131B as a test to see if GPIB is working. It appears that I am unable to get it working and any assistance would be greatly appreciated.

 

I used NI MAX, and it doesn't detect the power supply as shown. When I use IBIC, I get errors of EBUS (command byte transfer error). When I use VISA, I get "VISA: (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state)." I've verified that the BK is set to GPIB as well as can take the "*IDN?" command from the manual.

 

Am I missing or forgetting some basic step that is causing this to not work?


RS422 packets missed when transmitted at repetition rate of 15ms

Hi,

 

I am trying to send RS422 serial packets using NI PXI 8431/4 module. My goal is to send serial frame repetitively at 15ms interval, but sometime the packets are missing as they don't occur at next 15ms interval.

 

I have placed serial transmission VI inside a while loop and added a "wait ms" function to set the loop timing to 15ms.

 

Can you please guide me how to achieve desired repetition interval?

 

Thanks,

 

M Mahboob

Watlow F4T Driver Broken Run Arrow - Can't load .DLL?

Hello all,

 

I'm having an issue using the driver for the Watlow F4T temperature controller. I'm using LabVIEW 2015 on Windows 10 Enterprise.

 

Inside Watlow's driver folder is a project called "Watlow Standard Bus LabVIEW Driver.lbproj". If I open the project I can then open and run "Standard Bus LabVIEW Example.vi" without any issues. If I close the project and open the same vi outside of the project I get a broken run arrow.

 

I'm getting several Invalid refnum class errors with the details as follows: The refnum class that is being passed into this node is not fully defined. This is because the refnum is defined using external files, and one or more of these files are missing.

 

When I open the vi through the project I can see Watbus.DLL (C:/Program Files/National Instruments/LabVIEW 2015/instr.lib/Watlow Std Bus/Public/Watbus.DLL) in the .NET Assemblies in Memory window. When I open the vi outside of the project I don't see the Watbus.DLL listed. On the block diagram, when I right click on the reference and choose Select .NET Class and then browse to and select the watbus.dll I get a message saying "An error occurred trying to load the assembly." Any help would be greatly appreciated.

 

Thanks,

 

Brian

gpib communication error

Hello,

I have Keithley GPIB card and installed keithley KI-488 driver. But while running GPIB read and write codes in Labview  an error message came asking to install NI-488.2 derive.Why did this happen?

Thankyou

Measure current with Keithely 2110

Hi,

 

I'm trying to measure current with a Keithley 2110 Multimeter (LabVIEW 8). The current in sleep mode is around 3uA and has a peak at 9mA and with 0.1ms width, I would like to capture the pulse and especially the peak.
I am sending SCPI command in my LabVIEW code, I have set the NPLC to 0.001, turn off the Auto range. I read from the datasheet that the device is capable of max 50000 readings/sec, I read also that the Image may be NSFW.
Clik here to view.
Smiley Frustrated
AMP:COUN 50000 is the number of sampling between tow trigger, but I can't figure out how to configure the trigger to achieve the maximum readings per second. Here is the part of SCPI command I am sending :

 

:FUNC 'CURRImage may be NSFW.
Clik here to view.
Smiley Very Happy
C'
:CURR:RANGE:AUTO OFF
:CURR:RANGE 0.01
Image may be NSFW.
Clik here to view.
Smiley Frustrated
ENSE:CURR:NPLC 0.001
:TRIGImage may be NSFW.
Clik here to view.
Smiley Very Happy
EL:AUTO OFF
:TRIGImage may be NSFW.
Clik here to view.
Smiley Very Happy
ELAY 0.0
Image may be NSFW.
Clik here to view.
Smiley Tongue
ER:APER 0.01

 

:TRIGImage may be NSFW.
Clik here to view.
Smiley Frustrated
OUR IMM
Image may be NSFW.
Clik here to view.
Smiley Frustrated
AMP:COUN 5000
:TRIG:COUN 1
:TRIGImage may be NSFW.
Clik here to view.
Smiley Very Happy
EL:AUTO OFF
:TRIGImage may be NSFW.
Clik here to view.
Smiley Very Happy
EL 0
:READ?

 

I appreciate any help.

Thanks.

Configure CP210x USB to UART Bridge with NI VISA

Hi,

 

I'm trying to get the real-time data from a Davis weather station. It doesn't show up as a DAQ device in NI MAX. I changed the direct USB connection to USB connection that can simulate COM port. It is shown as CP210x USB to UART in the device manager. I installed the driver from Silicon Labs. The problem is this device didn't show up in the device in NI MAX. When I used the VISA protocol. it can be configured and wrote but not be read or give any response. I tried with VISA driver wizard, got stuck in step 2 because I don't know where I can get the certificate.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019L9QSAU&l=en-US

 

The COM communication reference for CP210x is in the following link.

https://www.silabs.com/documents/public/application-notes/AN978-cp210x-usb-to-uart-api-specification.pdf

 

The serial communication reference from Davis is in this link

https://www.davisinstruments.com/support/weather/download/VantageSerialProtocolDocs_v261.pdf

Old NI-488.2 Driver

I have a computer system running Windows XT and a NI GPIB-USB-A interface.  I need to gather data from a couple of H-P counters.  I realize this is an old system but It's what I have to do this.  From the Web site I think I need NI-488.2 Version 2.2 or perhaps earlier.  Can anybody tell me how to obtain this?  Thanks!

How alive is IVI ?

Hello all,

I'm not trying to troll, but looking at http://www.ni.com/ivi/list.htm you get the idea that IVI compatible hardware is few and all but obsolete. When doing a little research shows a lot more compatible hardware. So, is there a more complete list of IVI hardware somewhere ?

 

In particular I'm open to suggestions for a light (even handheld) digital multimeter (or possibly even osciloscope) with a USB interface that can be used by the IVI library. I currently use a HP 34410a, but it's ancient and big. I don't need much performance, but I have a hard time finding references.

 

Thanks.


Tenma 72-2540 serial control

Has anyone got any experience controlling the Tenma 72-2540 power supply, or some other device that does not use termination characters? I got the read working by using byte count, and the write works sometimes, but sometimes the power supply just "hangs" and doesn't respond to anything anymore. When I do writes via NI Trace one command at a time it's ok. I've tried adding some delays into my program that needs to write several commands in a row, but it hasn't worked so far. The instrument also doesn't have a command for reset. I guess the only solution is to manually turn it off and on again when it stops responding?

What is the DB9 connector pin-out for the 778475-01 USB-422 module?

I cannot locate the pin-out for the USB-485, 1-Port USB to RS-485 Converter in the users manuals or the knowledgebase. I need to know the pin designations for the DB9 connector and what pin #'s are RX+, RX-, TX+, TX-, etc.

 

I found a post identical to this one (link below) but the links given as responses are no longer active as the question was posted 13 years ago.

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/what-is-the-DB9-connector-pin-out-for-the-778475-01-USB-422/td-p/334710?profile.language=en

 

Thanks in advance for all your help

 

Wiring to Non-standard RS-485 Device

I am designing an RS-485-based system for reading differential pressure from a pressure transducer. The attached diagram from the datasheet shows the pinout of the device, and the manufacturer confirmed the pinout this way:

 

Pin 1: Power +

Pin 2: Output +

Pin 3: Common (Also serial port common)

Pin 4: Power –

Pin 5: Tx

Pin 6: Rx

 

Obviously the pin out includes neither differential Tx and Rx pins nor Data (A)+ or Data (B)- pin designations, which seem to be the standard ways of wiring RS-485 devices together. (I have received the command list from the manufacturer, and it includes a command for setting the address of the slave device, which tells me that this is indeed an RS-422/RS-485 device.)

 

I'm planning to connect to the device with an NI 9871. I've read the 9871 Getting Started Guide (http://www.ni.com/pdf/manuals/372277g.pdf) and this KB (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7mNSAS&l=en-US), and I'm pretty sure that my best bet is to try wiring the device up in 2-wire mode. However, I'm not sure which pairs of pins to short together on the NI 9871 side to make it work. Do I need to short TX+ & RX+ together and TX- & RX- together or short TX- and RX- together and wire that to the common of the device? Has anyone seen this topology before?

 

EmTest GPIB interface error python

I am developing driver for emtest autowave using GPIB commands for automation.

my code:

 

rm = visa.ResourceManager()

device=rm.open_resource("GPIB0::18::INSTR")

device.query("*IDN?")

 

I get error:

pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.

 

I tried termination "\r" ,"\n", timeout 5 s.

"*IDN?" is working in NI MAX before run python script, after NI MAX has returned "VISA: (Hex 0xBFFF0015) Timeout expired before operation completed."

Python 3.7.4 [MSC v.1916 32 bit (Intel)] on win32

PyVISA: 1.10.

Windows 7 64bit

 

VISA Serial Read Error Heratherm OGH100

Hello,

 

I am trying to communicate with a Heratherm OGH100 oven from laptop using USB-RS232 adapter. I am using the VISA Test Panel of NI -MAX to send the command.I am querying the oven with "?3010:00::c2\r" as mentioned in manual (\r for <CR>). But I always get a timeout error(see attached).

I have checked all the connection parameters:

stop bit :1

Parity: none

57600 bps

8 data bits

 

Can anybody please help me with this issue?

 

Regards,

Sanhita

 

 

 

Replace from GPIB-USB-HS to GPIB-ENET/1000

Hello,

 

I try to replace the control PC. But the device reply the message "ERROR"

 

The old one:

- Windows 7

-  PCMCIA-GPIB and GPIB-USB-HS 

-  NI-488.2 Software 2.52

- Send Command to Device :  "DCB\r\n"

  Reply Message from Device  :  "="

 

The new one:

- Windows 10

-  GPIB-ENET/1000 

-  NI-488.2 Software 16.0.0

- Send Command to Device:   "DCB\r\n"

  Reply Message from Device:   "ERROR"

 

Device error number means Incorrect command.

But both command is "DCB\r\n" 

I don't understand the difference.

 

Thanks!

Writing to Heratherm Oven

Hi Everyone,

 

Does anybody know the command to write to a Heratherm OGH100 oven . I want to write the Target temperature to the oven using a code. The manual does not give any information regarding this. I have still attached it for reference.

 

Can anybody help me out?


not working RS485 on crio9045

I want to use the onboard RS485 on the crio9045 but without success. 

I connected the TXD+ pin with the RXD+ pin and the TXD- pin with the RXD- pin as descript in the loopback test (http://www.ni.com/tutorial/3450/en/)

In the MAX I try to sent the *IDN?\n command. As a response it get a timeout.

 

As second option I have an USB-485 NI. But the crio is only detecting an unknown usb device.

 

Is there some software / driver that I need to install to let it work?

 

VISA timing

I'm fairly green when it comes to VISA (very green). I am attempting to modify a VISA example to read the values off a scale. What I want is for the readings to come at a user-selected time interval (seconds to minutes) and just throw away the rest. With the current example I'm getting a ton of data, to the point where a change in the mass read by the scale display is taking 10's of seconds to be reflected in the VI. Thanks for any help you can offer. 

Can a single GPIB interface receive commands for multiple primary addresses?

I want to upgrade a system with multiple GPIB peripherals to a system with multiple PXI peripherals and maintain the same set of test programs.  I can create a software abstraction layer to distribute the commands to my instruments. But is there any way to get a single PXI-GPIB interface card to listen for multiple primary addresses, perform the hardware ACKs, and get me the particulars of the command?

相机图像显示问题

 

Image may be NSFW.
Clik here to view.
1.png
相机连接之后图像出不来
Image may be NSFW.
Clik here to view.
2.png
COM1端口程序问题
Image may be NSFW.
Clik here to view.
3.png
请问测试面板如何使用
大家好:
想请问下,我使用NI的相机驱动,使用E2V的相机,板卡型号为PCI-6731和PCIE-1433。
当我安装了NI的驱动后,电脑上就显示出了错误,可以连接相机,但是相机图像出不来,请问这是怎么回事呢?
出错的界面,请见附图一二。
附图三,想请教这个振镜的测试面板如何使用。

对于您的回答,不胜感激呀!!!

Commands for Michell Instruments OptiCal Humidity Calibrator

I want to write my own labview software for controling a Michell Instruments OptiCal Humidity Calibrator via its 232 port but the manual does not provide any command instructions, just information on using the bundled software that it comes with.

 

There is a labview instrument driver for a simple Michell Instruments Easidew hygrometer, so I would've thought the ability to control the OptiCal would be available.

 

Does anyone have a driver or the commands for controlling the OptiCal?

Viewing all 5676 articles
Browse latest View live


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