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

NI GPIB-USB_HS with Keysignt VISA (Keysight Connection Expert)

$
0
0

I know that Keysight GPIB-USB interface can be used with NI-VISA and NI-MAX by enabling Tulip. (Which I cannot do anymore with NI-MAX v19.0 as enabling Tulip option has disappeared after upgrading from v18.0.)

But is it possible to use NI GPIB-USB-HS interface with Keysight VISA and Keysight Connection Expert?

Thanks.


Spurious MAX crash on IVI configuration save

$
0
0

I'm seeing an occasional MAX crash when working with some VISA instruments, and am having trouble pinning it down. It seems to only happen when I save my IVI configuration, but doesn't happen every time.

 

I called NI support, but because I'm in a VM, they refuse to support me. All instrument communication is via ethernet, so I seriously doubt that's the issue; does this issue sound familiar to anyone else (that hopefully isn't running in a VM)?

 

Additional details:

 

The MAX tech report is attached, but for reference, I have the following IVI drivers installed:

Ag3446x

AgM918x

rsspecan

 

It doesn't seem to consistently be the same driver that I'm interacting with at the time of crash. 

 

The call stack is very consistent and seems to indicate that I'm crashing in the IVI UI provider. (see attached)

 

Worth noting, this is a fresh install, so I can't revert back to a "known good" configuration. I do also have Keysight VISA installed, for what that's worth, but I was under the impression that wasn't typically a problem.

 

 

Extreme timout exceptions on serial interace over FTDI USB-RS232 interface

$
0
0

With the help of this community I was able to implement a program that talks to a serial interface board (nordic nRF52) over a FTDI TTL-232RG cable. The program works very well by acquiring data for few iterations but breaks randomly and gives timeout errors. The theory is that either the program is losing control over the COM port or the USB-RS232 communication is dropping at times. In other words this is a very unstable communication.

Do you recommend to go with any other RS232 over USB hardware that is known to perform good with LabVIEW. Please advise.

Communication with Keithley 2700 using NI GPIB-USB-HS

$
0
0

I've been recently experiencing an issue running an older labview (v8.2) program with a NI GPIB-USB-HS to control a Keithley 2700.

the program controls other instruments as well on a gpib bus. for unknown (to me) reasons, the program uses an ivi session and dll function calls for only the 2700, but direct gpib communication functions for all other instruments

-the program seems to work fine without any issues on older machines using pci gpib
-however, apparently no communication with the Keithley 2700 - good communication with other instruments- on a newer windows10 machine using the GPIB-USB-HS;
I can, however, see the instrument there and query/read from it within max
would anyone know of a solution for this?

best regards,

Test and Measurement Tool (Matlab)

$
0
0

Hello Supporters, 

 

i got a question. I have to get the plot from the network analyzer (HP8720B) with the Tm-tool of Matlab. The Computer is connected with GPIB to the Network Analyzer and the Network analyzer can be controlled with commands. Does anyone know a command which shows me the plot from the network analyzer or the x and y values in the matlab program?

Thx

how to create an application to receive the scpi ,like instrument firmware

$
0
0

hi , 

i need to write a windows application , this application would like a instrument firmware, when this application opened , the ni-visa could find a visa resource,like TCPIP::127.0.0.1::INSTR , if we use some tool to send SCPI command to this resource, this windows application can receive the command and do some work.

is there any document or sample code for reference?

map files reading with labview

$
0
0

Hello all,

 

Why do we have to read map files using LabVIEW software? Is it for improving the software to see whether the data in the map files is responding correctly? 

 

viOpen: open_timeout documentation

$
0
0

Hi,

 

According to Ni-VISA documentation (http://zone.ni.com/reference/en-XX/help/370131S-01/ni-visa/viopen/) the openTimeout parameter "Specifies the maximum time period (in milliseconds) that this operation waits before returning an error."

 

However this does not line up with the observed behavior as discussed in https://github.com/pyvisa/pyvisa/issues/446, and also disagree with the VISA specification (http://www.ivifoundation.org/downloads/Class%20Specifications/vpp43_2017-10-17.pdf ) on page 85 which says: "If the accessMode parameter requests a lock, then this parameter specifies the absolute time period (in milliseconds) that the resource waits to get unlocked before this operation returns an error."

 

Could this be an error in Ni-VISA documentation ?

 

Best

 

Matthieu


How to get an Indian Visa?

$
0
0

I am a traveler & looking to visit a new country, My friend suggest me India to travel. Now  I am looking for Indian Visa. If any one have information regarding the Indian Visa Process & application please let me know here. 

MCP4161 digital potentiometer SPI interfacing

$
0
0

Hi all,

 

I've done a bit with serial comms. before with NI VISA, but have a more basic question about what codes to send to my digital potentiometer. My pot is a MCP4161 with 256 settings for the wiper. The documentation shows the picture below.

 

It looks like code "100h" accesses the last resistor (N=257) and code "00h" accesses the first resistor (N=0).

 

Can anyone point me in the right direction to figure out everything in between? haha .... help a noob out here .....

 

Or, perhaps there is some LabVIEW SPI module that is designed to work with such a device? In the past I used NI VISA to talk to a RS-485 device.

 

Thanks for your help! 

 

PS. link to data sheet, see Section 5 for the wiper stuff https://www.mouser.com/datasheet/2/268/22059a-51937.pdf

 

Capture.PNG

Looking for a reference document for Status LED error codes in an ENET 1000 box

$
0
0

Current GPIB-ENET/1000 box is failing with an error code on the Ready LED - two long pulses followed by eight short pulses. Updating firmware did not help. I have been unable to find more information about what that status message means.

control multiple APGDT001 from one Vi simultaneously

$
0
0

Hello, 

 

I'm using a Lin Serial Analyser (APGDT001) to control a device via LIN Protocol. I implement control in Labview 2017 calling PICkits.dll as a NET constructor. This works fine for a single device. Then I connected a second identical device with a second APGDT001 to another USB Port. In this way I can control either one or another device from the same Labview. To do this I just switch USBindex from 0 to 1 when I call function Basic.Initialize_MyDevice(ProductID,USBIndex).

 

What I'm looking for is the way to control both these Devices simultaneously from the same Vi in the same timed loop if possible. If I try that, then one device gets configured for LIN the other one not, although both of them are initialized. Just saving dll file with another name and call it from constructor didn't help. I guess both dlls finally try to access the same device driver, if there is any.

 

Does anybody have an idea if this can work at all and how? 

 

Would appreciate any answer!

Thanks in advance, Katja

 

Serial Communication SubVI

$
0
0

Hello all,

 

I am new to this forum and LabVIEW in general. I have been playing with it for a couple weeks and have managed to make some simple applications for some of my devices. Now has come the time for me to make a larger VI so I am in need of figuring out how to make a subVI. I know you have to highlight what you need and then make it a subVI but I am having trouble figuring something out. I have some connectors which take in a VISA resource name and output it and the error in and out. When I select it though and make it a subVI the wiring  disappears. I would like the purple and yellow wires to be able to be connected to in the subVI because if I cannot then the program will be broken. It is meant to be a general Vi which will be reused. I have attached it so you can see the VI I am working with. As you can see in the PNG it has the output double but I also need the input/output resource name to show along with the error. Can anyone help me out?

 

Thank you.

increase sample rate to measure current with Keithely 2450

$
0
0

Hi,

I'm trying to measure current with a Keithley 2450 (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 saw others ask about the Max sample rate for Keitely 2450, but I haven't found the answer. I am sending SCPI command in my LabVIEW code, I have set the NPLC to 0.01,
turn off the Auto range and Average, but still I have the interval between samples around 3ms which is too low. Is there any way to increase it?

(And I am using Keithley drivers)

 

I appreciate any help.

Thanks.

Yokogawa WT3000 Measure Element

$
0
0

Hi,

Let me start off by saying I am a novice with LabView.

I am using both the WT3000 in a test setup to measure specific input/output characteristics of a EUT. I am attempting automate this step by using Labview, with the 3000 connected via GPIB (NIMAx) to my computer.

 

I have written the program below for the Yokos to first make the following measurements using Elements and 2 to measure input & output of the EUT:

 

Element 1:

  • Input Voltage (U)
  • Input Current (I)
  • Input Power (P)
  • Input Freq (FU)
  • Input Harmonics Distortion (ITHD)

 

Element2:

  • Output Voltage (U)
  • Output Current (I)
  • Output Power (P)

 

Then in the last frame get all values from WT3000 and display.

 

When I run my program below I get readings just for my Input voltage and Current on Element #1

 

Not sure where I am going wrong…

 

Step1

Command for measurements on Element#1 per above:

 

Step 2

Command for measurements on Element#2 per above:

 

Step 3

Query all measurements made on Element#1 & Element#2:

 

Any help would be greatly appreciated.

Thank You

 


NI PCI-8431 Frame Length

$
0
0

Hi,

I need to communicate with a sensors that has an asynchronous serial interface ( 2Mbit) with a very large frame length.

Is it possible to configure the PCI-8431 or any other serial cards to frame lenghts of 80 bits?

 

Thanks

 

 

 

C module 9265 Analog Out open loop fault on index 2 when not being used. How do I correct this?

$
0
0

I have a 9265 AO with an actuator connected to AO0. I am getting a "Open Current Loop" Fault on AO1. I don't have anything connected to AO1 and I am sending 0mA to that channel. I'm also sending 0mA to AO2 and AO3 but I'm not getting the faults on those channels. Why am I getting this fault and how do I get rid of it?

 

NI says:

"Open Current Loop—Returns an array of Boolean values. A value of TRUE in any index indicates that the channel sharing a number with that index has an open current loop and is configured to output a nonzero current value"

 

image.png

 

image.png

Visa TCP/IP Response different in NI Max and VIs

$
0
0

I have a EA-1 device that works OK via telnet command on my Windows 10 machine. So, all the network settings are OK.

 

I created a Visa TCP/IP (TCPIP0::169.254.1.1::23:Smiley FrustratedOCKET) resource on Max, and commands work well there as well.

 

Now I am trying to create a VI using the same resource and Visa palette VIs, and I get jumbled up response - Some bytes match, some dont. I am not sure if this is because I am using Telnet communication (Port 23), and am not handling the telnet negotiations? I dont have much background and couldn't find examples on how to address those. Any help would be appreciated. Below is some screenshots.

 

Response from NI Max as below:

Capture.PNG

 

Response from my VI:

Capture.PNG

 

Here is my simple VI

Capture.PNG

 

 

 

Not format myRIO-1900

$
0
0

Dear Technical Support, 

 

While installing NI Vision for myRIO, The error 2147220312 appear. I try to format disk by NI MAX or manually reset, but it failed. How to fix it?

Thanks

https://thefitnessvibes.com/folexin/

$
0
0

Folexin like such a lunatic well, it's an embarrassing story but it's important that I tell it to you so you can understand what my hair loss did to my state of mind and my Marriage it all started when we were sitting in the kitchen one night eating dinner when Sara went upstairs to the powder room I noticed her phone just sitting there on the table a message pinged and all I could see was the contact jack on the summary of the phone I Sat for a minute tapping my fingers until the urge to look became just way too much I didn't want to be that guy you know the one who is always checking and worrying what his wife is up to But my confidence was so low at that time. I felt I had no choice Sara had no idea that I knew the passcode on her phone, so I was in in seconds. What did I read? Well, you know that feeling you get when you read some really terrible news, and it's like your heart drops into your stomach That's how I felt my wife was having an affair. It was awful. I looked at Jack's profile photo He looked a little like me, but with a full thick head of hair it made me feel pathetic like I wasn't good enough for Sara anymore like I wasn't the man she I quickly read through as many messages as I could before Sara came back downstairs there were dozens of them Messages between my wife and this Jack the messages were lewd They were painful to read, but I couldn't stop imagining my life doing things with another man made me angry as hell I couldn't stop thinking about her with this guy kissing him and running her hands through his hair like she used to do with me There must have been steam coming out of my ears, but there was worse to come as I scanned the messages I noticed that sara had written the following. I just don't find him attractive since he started losing his hair She said I feel terrible but that's just the way I feel it was brutal my hair loss had literally driven my wife into the hands of another man just Then Sara came bounding into the room, and I just snapped. I mean I totally lost it I grabbed a 9-inch knife from the kitchen counter and started pointing it at her waving it around screaming like a total madman What the hell are you doing Sara yelled at me? Have you gone crazy? Sara pleaded with.

 

https://thefitnessvibes.com/folexin/

Viewing all 5698 articles
Browse latest View live


Latest Images

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