Multifunction DAQ

取消
顯示結果 
搜尋替代 
您的意思是: 

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 積分
1 條訊息(共 4 條)
4,471 檢視

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

 

Please look also at the 5171R resources:

NI PXIe-5171R - National Instruments

 

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

 

Greetings,

Brandizzl

0 積分
2 條訊息(共 4 條)
4,445 檢視

Also have a look at this example:

Community: NI PXIe-5171R Reconfigurable Oscilloscope - National Instruments
https://forums.ni.com/t5/Examples-and-IP-for-Software/NI-PXIe-5171R-Reconfigurable-Oscilloscope/ta-p...

0 積分
3 條訊息(共 4 條)
4,440 檢視

Hi,

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

0 積分
4 條訊息(共 4 條)
4,381 檢視