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

Driving an Invensense MPU-6000-EVB with a NI USB-8452

$
0
0

Good evening,

 

I am attempting to use an NI-8452 to communicate with an Invensense MPU-6000-EVB using an SPI protocol.  It's an accelerometer/gyrometer/magnetometer sensor.  I'm a bit rusty with LV, and so I'm trying to modify existing code (specifically, the examples found in General SPI Read.vi and General SPI Write.vi as the first steps in my development.  I was wondering if any in the community had experience in this area, and could offer advice.

 

For reference, I can offer:

MPU-6000 Evaluation Board User Guide (which is the physical board to which I am connecting the 8452)

MPU-6000 Product Specification (which details the chip information)

MPU-6000 Register Map (which defines where the information is accessed)

 

Thanks!


Errors ke2000 driver in LabWindows

$
0
0

Hi,

I am new to use of drivers for instrument control in labwindows2012.

I downloaded driver from NI (ke2000_setup.exe) and installed on Windows XP.

When I am tring to run the example given along with driver, It is showing following Errors.

 

undefined _ke2000_init massage for all driver function.

 

I checked with .fp and .h files they are in specified directory.

I included both files in project as well but the error is still there.

 

Thanks for help in advance.

Write binary data to serial port

$
0
0

Hello. I am using PIC 18f to control my servo using USB. My PIC only reads binary data. 
Therefore, I want to send binary data but seems like VISA WRITE only accepts string. My PIC does not recognize string. 
Please assist. Thank you. 

How do I determine the interrupt detection sequences for an HP 82350A PCI GPIB card?

$
0
0

I am trying to install an HP 82350A PCI GPIB card in CentOS 6.4. I have installed NI-VISA 5.4.

 

I tinkered around and found driverwizard in /usr/local/bin. It creates an ini file to control the PCI GPIB card.

 

I had somehow succeeded in detecting the card (PXI3::0::INSTR). My driverwizard output looks like this

 

[Module]
ModuleName = "PLX PCI <-> IOBus Bridge"
ModuleVendor = "PLX Technology, Inc."
ModelCode = 0x9050
ManufCode = 0x10B5
SubsystemModelCode = 0x10B0
SubsystemManufCode = 0x103C
VISARegistration = Simple

As you can see, it does not have interrupt handling built into it, so I cannot access it properly.

 

How do I set up interrupt handling for this card? What are the specifications for the following fields?

 

Interrupt Detection:

Access Type

Access Width

Address Space

Space Offset

Compare Mask

Write/Compare Value

 

Interrupt Removal:

Access Type

Access Width

Address Space

Space Offset

Compare Mask

Write/Compare Value

 

Interrupt Disarm:

Access Type

Access Width

Address Space

Space Offset

Compare Mask

Write/Compare Value

 

This is the first time I have tried hacking at the PCI interrupt level. At the very least, how do I find out the values for the above parameters? Or at best, straight away what are the values for those parameters?

OPensuse visa resource name

$
0
0

Hellotoall,

I'musingOpenSuse12.2forthefirsttimeandaftersomedaysIamabletoopenaserialcommunicationwithouterrors.
MyboardhastwoSerialportsandtheyarelistedonthevisaresourcename (andopencorrectly). ButwhenIplugausb2Rs232cableIcan'tseeitonthelist. Iknowthatthenameis "/dev/ttyACM0".
Ialsosawthatinthepasttherewas "Visaconf" thatlinkedbetweenVisaResourceNameandlinuxname. ButIcan'tfinditanymore.
Cananyonegivemeatip, please.
Bestregards,
JorgeAmaral

error 1073676294 - unable to connect via bluetooth

$
0
0

Hi,

I know there are plenty of discussions on error 1073676294 being a status report more than an error and how you can ignore it. But in my case I cannot ignore it.

So basically we are trying to connect via bluetooth so that we can display/accquire signals generated by a photomultiplier tube (PMT). The computer shows the bluetooth device is connected but when we open the labVIEW VI it gives error 1073676294. When we hit continue/cancel the program exits out. The labVIEW VI is a pre-written program and we cannot access the source code :smileysad:

So guys, any ideas as to what's going on? Is it possibly a hardware malfunction?

Any help is appreciated.

 

 

Thanks

Retrieving NI-MAX cycle information

$
0
0

Hi,

 

I would like to know how to retrieve the information from NI-MAX concerning the cycling movement in the interface 1D and send it to the controller by an application in Labview.

 

Is this possible?

Thank you very much for your help

Error trying to update via VISA Driver Wizard

$
0
0

After doing a new install of LabView 2012 SP1 on a HP EliteBook, I ran MAX and was not able to see any of the USB devices connected despite having all the IVI drivers loaded beforehand. Upon running NI-VISA Driver Wizard, the program did recognize all of the USB equipment. I tried to install the drivers throught that but got an error message instead. Please see attachment.

 

What step am I missing here?


Besides PCTx, are there any other hardware devices with the same function?

$
0
0

Hi there

 

In order for me to transfer my Labview data from my PC to a Futaba T10CAP controller (http://www.astramodel.cz/manualy/futaba/futaba_10cp_eng.pdf), I will need a hardware to do the linkage. 

PCTx (http://www.endurance-rc.com/pctx.php) is one of the hardware device that enables me to do such a thing but their Labview demo problems doesn't work on the PCTx. Therefore I am looking for an alternative hardware solution where my Labview can interface with the RC controller. 

 

 

Welcome any input! Thanks and regard =) 

Besides PCTx, are there any other hardware devices with the same function?

$
0
0

Hi there

 

In order for me to transfer my Labview data from my PC to a Futaba T10CAP controller (http://www.astramodel.cz/manualy/futaba/futaba_10cp_eng.pdf), I will need a hardware to do the linkage. 

PCTx (http://www.endurance-rc.com/pctx.php) is one of the hardware device that enables me to do such a thing but their Labview demo problems doesn't work on the PCTx. Therefore I am looking for an alternative hardware solution where my Labview can interface with the RC controller. 

 

 

Welcome any input! Thanks and regard =) 

ACQUISITION_START_TIME

$
0
0

Hello,

 

I'm trying to define ACQUISITION_START_TIME to Tektronix DPO3034 through USB interface with CVI.
I managed to install the driver and can communicate with the oscilloscope.
When I write the delay value (3.5334E-005) this is what i get from the Spy:

1.  IviScope_SetAttributeViReal64 (DPOScope, NULL, ACQUISITION_START_TIME, 3.5334E-005)
Process ID: 0x00001534         Thread ID: 0x00000874
Start Time: 17:29:42.456       Call Duration 00:00:00.015
Status: 0 (VI_SUCCESS)

That means that the right command was passed.

But... the delay in the scope comes with 0.4us resolution. That means that i can get ACQUISITION_START_TIME values of only 3.56E-005, 3.6E-005 etc.

This is what I get in the spy with GetAttribute command imeddiatley after the above SetAttribute command:

4.  IviScope_GetAttributeViReal64 (DPOScope, NULL, ACQUISITION_START_TIME, 3.56E-005)
Process ID: 0x00001534         Thread ID: 0x00000874
Start Time: 17:34:11.995       Call Duration 00:00:00.016
Status: 0 (VI_SUCCESS)

(The actual delay on the scope screen is also 3.56E-005...)


Thank you for your assistent!

Interface to Quatech mpap 200 card

$
0
0

Bit of a long shot but has anyone ever interfaced to the Quatech MPAP-200 RS-422/485 PCMCIA adaptor from LabView? And if so would they share a sample of setup and read code with me? I need to test the basic functionality of the device on a fairly elderly system. Running under XP if that helps.

Lecroy 6100 Ethernet Control by Labview

$
0
0

Hi All,

 

I'm just new here and just starting in LabView. I really appreciate if someone could help me. This is the situation: I want to communicate/control a Lecroy 6100a oscillsocope using LabView on my PC. I've already studied some tutorials for GPIB communiation between LabView and an instrument. Actually, i have succesfully done this using a VI to control a GPIB controlled instrument. However, the Lecroy 6100a that we have here doesn't have the GPIB port i needed. I've already installed the driver for this instrument on my PC, but since there is no GPIB Port available on the Lecroy that we have, i can't communicate with the instrument.

 

With the help of some search here in the forum, i was able to know that it is possible to control the Lecroy 6100a using the Ethernet port. I tried to look for some tutorial on this but unfortunately, i can't watch the video provided by NI. Then, i decided to go back here in the forum.

 

Could someone here give me any instruction on how to configure/control the Lecroy 6100a oscilloscope using LabView through an Ethernet port? or is this possible?

 

Many Thanks in Advance!

VISA: (Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource and VISA: (Hex 0xBFFF0015) Timeout expired before operation completed signal recovery

$
0
0
I am trying to control an HP 8350B sweep oscillator. I have an Agilent PCI-GPIB card installed on my computer and have set it up to run with labview. I installed NI VISA, followed by Agilent IO libraries and activated the Tulip passport in NI MAX. 
 
I tried turning on the "enable agilent GPIB cards for 488 programs" in Agilent IO libraries and checking the VISA test panel for WRITE and READ, but I get the timeout error: (Hex 0xBFFF0015) Timeout expired before operation completed signal recovery
 
 

On moving to labview, when I configure the VISA Serial it gives me this error 

Error -1073807331 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi->8350_VISA.vi

and the possible reason is

VISA:  (Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource.

 

Subsequently on removing the VISA Serial, I get errors in Write and Read with the possible reason being

VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.

 

Help !!

VISA version independence in vb.net 2010

$
0
0

Hello I have a vb.net 2010 application that references the NI VISA dll. This application only works on other computers if they are running the same version of NI  VISA.

 

How do I compile the vb.net application to make it work with any version of NI VISA installed on a client computer?

 

Thanks,

Markus


labview drivers for 5208 Two phase Lock in Analyzer

$
0
0

Hi!

 

I am trying to find the labview drivers in order to control the 5208 Two phase Lock in analyzer but without a lot of success. Does anyone work with the same device? 

 

Is there any storage from NI with labview drivers from different providers and devisces?

 

Thank you for you time

 

Regards from France

Vasileios

 

i m sending data like 1,2,3 with delay of 1 sec. in between them from my arduino board and i have made vi according to that ,using .net palette , every thing is working fine but i m getting output only when i press that "highlight execution" button..

$
0
0

how to synchronize Arduino board with labview...

i m sending data like 1,2,3 with delay of 1 sec. in between them from my arduino board and i have made vi according to that ,using .net palette , every thing is working fine but i m getting output only when i press that "highlight execution" button.. 

 look at my vi and arduino prog.

Create oscilloscope driver

$
0
0

Hello,

II have an osilloscope agilent that i should create his driver  with visa instrument controle ,have you any document that can help me, 

should i based  on c/c++ driver  ???

thanks 

How to continuously collect data using VISA class for a serial instrument and read it all out to a text file?

$
0
0

Hello,

 

I'm new to LabView but I have a device that measures position through a serial port and I'd like to continously aquire data for some set amount of time and store that data to a file. I can communicate with the device through the basic serial read and write however I cannot get the program to continuously send a command out to the device and store the response to a file. I have attached what I've done so far.

 

As I said I'm very new to LabView VIs so any help would be appreciated!

 

 

Remote access GPIB instruments via GPIBConf device names

$
0
0

Hi,

 

I'm trying to run Labwindows 2009 SP1 code on an office based PC while trying to operate GPIB instrumentation

on another part of the network.

 

Normally this is not problem thanks to VISA Server on the target PC and the use of VISA Alias names within the

office PC code.

 

But this code has been inherited and uses a different method which was the best at the time.

The code uses device name strings which have been defined using the GPIB utility: GpibConfig.exe,

on the target machine. So when a device is first initialised, the name defined in the GPIB utility is used

by the code and access to the associated instrument is achieved.This works fine when the code and

the instruments reside on the same PC.

 

My question: is there some way I can use VISA Server to access remote GPIB instruments using

the names defined on the target PC with the GpibConfig.exe utility ?

 

Thanks,

 

Gary.

Viewing all 5694 articles
Browse latest View live