LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1074126845 NI Scope Multi Fetch

I have a Panametrics 5800 Pulse Receiver and Im using Labview to remote pluse it using the GPIB card. I am trying to take data from two signals  using two PXI5122s.

I tried sending a pulse then take data using the Ni Scope Express VI, but they processes of NI Scope to get setup is too slow and the trigger will not be met to start taking the data. So I looked at the block diagram of the Express VI, split the part where NI Scope gets set up and where it takes data. I put the code where I send the pulse beween the halves and it works. Here is a run down of what I wanted done:

1) NI Scope Sets Up parameters (channel, PXI slot #, etc)
2) Signal sent to pulse reciever to pulse
3) Take data from both slots at the same time.(when trigger settings met)

The problem I am having is that after a number of loops, the program freezes up and shows this error <error.jpg>. I think the trigger is not being met, but why would it suddenly stop working after it started to work?

I also attached the VIs I used:

GPIB_Trigger.vi (main)
NI Scope Trigger 1.vi (NI Scope setup for first PXI5122)
NI Scope Trigger 1_2.vi (Ni Scope setup for second PXI5122)
NI Scope Trigger 2_2.vi (NI Scope take data for both)
Download All
0 Kudos
Message 1 of 3
(2,985 Views)
They only allow 3 attachments....

Message Edited by virus86 on 09-11-2007 08:16 AM

Download All
0 Kudos
Message 2 of 3
(2,986 Views)
Hi Virus86,

In your GPIB trigger.vi, you need to start your two digitizer (5122) tasks prior to sending the GPIB command to the pulse receiver.  This way when the trigger is sent from the pulse receiver the digitizers will automatically start taking samples. I believe your program was randomly missing the trigger send from the pulse receiver and at times would miss the trigger entirely.  These samples can be read later off the card, but the task must be started to be able to see the trigger immediately.  Please give this a shot and let me know if it doesn't fix the problem.

Paul C.
Message 3 of 3
(2,945 Views)