PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI5152 Aquire a repeating signal in python - get waveform data into an array and display array

Hello everyone,

 

    A Duquesne University graduate student is researching detecting cancer and I've been tasked with helping her capture using a PXI-5152   Acquisition board in a PXIe-1073 Chassis connected to a windows 11 PC via a PXI  using Python. The device shows up as ("PXI8::15::INSTR",) but I am not able to use any sample Python code to open the device and acquire a waveform from it.

 

   It seems likely that someone has already created an example that we could start from or has advice where to start. Questions I have are:

 

  + Where is the reference manual for the PXI5152 to know what commands I can send to it via python - commands such as x.setSomeValueXAxis("5mv")   I have seen x in previous be something like scope.setSomeValueXAxis("5mv");

 

  + Examples that might work off the shelf with our board the PXI5152 so we know the tool chain CAN access the digitizer/scope. At this point NI Max shows the chassis, the aquisition/scope card and can launch a gui tool that shows waveforms from the card (Ni Scope - but the new one Instrument Composer or something like that).

 

Thank you

 

Richard Newman

Assisting Duquesne University

Pittsburgh PA USA

 

 

 

 

   

0 Kudos
Message 1 of 2
(619 Views)

The device shows up as ("PXI8::15::INSTR",)

Your device is not being recognized correctly by NI MAX. Make sure you have installed NI-SCOPE driver (21.5 or later since you are using Win11). If you have installed the driver, there is a possibility that your MXI system is not enumerating the module correctly, since you are using PXIe-1073, an MXI chassis. See MXI-Express Compatibility and Connectivity Troubleshooting Guide.

Once your PXI-5152 is recognized correctly, you can go ahead and use niscope · PyPI

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 2
(613 Views)