From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

multichannel acqisition

Dear all

 

I am using a PXIe-5171R oscilloscope for a data acq. application. I need the streams from  all  8 analog input channels where one these 8 channels has to be used as my external analog trigger source (I use channel 0) . The problem I currently face is that with the use of the code I've attached to this post, I can acquire a finite number of samples from all channels or I have the option to acquire infinitely so long as the memory isn't full. When the latter happens,  the acquisition process doesn't distinguish between post-triggered and pre-triggered  data, therefore they are all included in the samples also, I ca not determine for howmany trigger pulses I want the acq. to be performed.  I have tried to fix this problem with the DAQmx functions but this particular device (5171R) is not supported by DAQmx. I would really appreciated if someone can kindly help with a modification to the code that allows me to acquire data in continuous fashion only after a certain threshold in the trigger signal is achieved and also to be able to determine for how many trigger pulses the acq should run . Thank you in advance. All ideas are welcome.   

0 Kudos
Message 1 of 4
(3,980 Views)

Hey saeedkd,

 

PXIe 5171 is an oscilloscope which can't be programmed with the DAQmx functions! NI webpage says: "Built on LabVIEW FPGA, the software for the NI PXIe-5171R features LabVIEW sample projects as starting points for your application. These open software starting points include default LabVIEW FPGA personalities and prebuilt FPGA bitfiles to help you get started quickly and fully customize them."

 

You can use it with NI SCOPE --> find examples here:

Oscilloscope Fundamentals - National Instruments
http://www.ni.com/white-paper/3408/en/

 

Please look also at the 5171R resources:

NI PXIe-5171R - National Instruments
http://sine.ni.com/nips/cds/view/p/lang/en/nid/212657#resources

 

In addition, you just included the lvproj-file which doesn't contain any code 🙂

 

Greetings,

Brandizzl

0 Kudos
Message 2 of 4
(3,954 Views)

Also have a look at this example:

Community: NI PXIe-5171R Reconfigurable Oscilloscope - National Instruments
https://decibel.ni.com/content/docs/DOC-41993

0 Kudos
Message 3 of 4
(3,949 Views)

Hi,

thanks for the info. Sorry about the missing code, I've attached the code again.

0 Kudos
Message 4 of 4
(3,890 Views)