LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation for programming a PXI card with VISA in LabVIEW.

Hi,
Where can I find a documentation for programming a PXI card with VISA in
LabVIEW?
Thanks.
Denys.
..
0 Kudos
Message 1 of 3
(2,601 Views)
Denys:

Our NI-VISA documentation for PXI has been somewhat scarce. We are improving it in the next version. In the meantime...

Call VISA Find Resources with "PXI?*INSTR" to find all PXI devices. Call VISA Open with a device string like "PXI::devicenum::INSTR" or "PXI[bus]::devicenum[::function]::INSTR". In LabVIEW, use the VISA class "PXI Instr", available since LV 5.0. (The generic "Instr" will also work but will also present GPIB and VXI options and may be too confusing.)

The property node has all the available PXI properties such as BAR0-BAR5 base/size/type, and also manufacturer ID and model code. You can use all the register based in/out/peek/poke methods, just make sure to use the appropriate address space for your device.

Dan Mondrik
Senior
Software Engineer, NI-VISA
National Instruments
0 Kudos
Message 2 of 3
(2,601 Views)
Dan,

Thank you for your answer, short but useful to start.

Denys.

"Dan Mondrik" a ecrit dans le message news:
506500000005000000A43E0000-998975444000@exchange.ni.com...
> Denys:
>
> Our NI-VISA documentation for PXI has been somewhat scarce. We are
> improving it in the next version. In the meantime...
>
> Call VISA Find Resources with "PXI?*INSTR" to find all PXI devices.
> Call VISA Open with a device string like "PXI::devicenum::INSTR" or
> "PXI[bus]::devicenum[::function]::INSTR". In LabVIEW, use the VISA
> class "PXI Instr", available since LV 5.0. (The generic "Instr" will
> also work but will also present GPIB and VXI options and may be too
> confusing.)
>
> The property node has all the available PXI properties such as
> BAR0-BAR5 base/s
ize/type, and also manufacturer ID and model code.
> You can use all the register based in/out/peek/poke methods, just make
> sure to use the appropriate address space for your device.
>
> Dan Mondrik
> Senior Software Engineer, NI-VISA
> National Instruments
0 Kudos
Message 3 of 3
(2,601 Views)