Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize 6259 DO with 6132 AI

Solved!
Go to solution

Hi,

 

I'm trying to send a digital waveform using a PCI-6259 and read an analogue waveform using a PCI-6132 simultaneously. I've tried looking at the synchronization examples but seem to be having trouble triggering the DO using DAQmx Start Trigger (Digital Edge).

 

Is the 6259 capable of being triggered from a 6132 for DO?

 

Thanks for any help,

Colin

0 Kudos
Message 1 of 16
(4,131 Views)

It may also help that I've been using this example (DO instead of AO on the bottom half)

0 Kudos
Message 2 of 16
(4,129 Views)

Hi,

 

I hope you are doing fine. I am currently looking into the problem. In order to help you I need to ask you few questions

 

1) What kind of triggering trouble are you seeing?

2) Are you using RTSI cable two communicating between two devices ? There are some examples available in labview for multi device sync. LabView->Find examples->Hardware -> input and output->DAQmx->Synchronization->multi-device.

 

Best regards,

Fawad Nisar
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 3 of 16
(4,106 Views)

Hi,

 

I've connected the cards using RTSI and my intention is to synchronise their triggering this way (but synchronisation of their respective clocks isn't necessary). The issue I had seen originally was that the delay between DO and AI varied (I imagine this is due to PC latencies?). I had hoped that using Start Trigger to initiate the DO (6259) with the AI (6132) over RTSI would help.

 

Thanks for the reply,

Colin

0 Kudos
Message 4 of 16
(4,102 Views)

Hi,

 

Thank you for the update. Please let me know how you are getting on with your application and if there is any assistance you require.

 

Best regards,

 

Fawad Nisar
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 5 of 16
(4,097 Views)

Hi,

 

The problem is that I can't trigger the DO (6259) using the AI (6132). My LabView code is effectively identical to this except that I am using DO instead of AO. Can the 6259 be triggered in this manner? Error 200452 pops up claiming it's not a supported function.

 

If it isn't possible to trigger in this manner, is there a possible workaround?

 

Thanks,

Colin

0 Kudos
Message 6 of 16
(4,094 Views)

Hi,

 

Can you please send the code along with the screen shot error so that I can replicate the problem here.

 

Thanks

Fawad Nisar
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 7 of 16
(4,089 Views)

Hi,

 

I've attached an example of the code I'm trying to use and the error it produces.

 

Thanks,

Colin

Download All
0 Kudos
Message 8 of 16
(4,087 Views)

Hi,

 

I will look into more detail  tomorrow , but I have few suggestions you can try:

 

1) your code does not have Export signal , you need a DAQMx export signal at your AI

2) And your DO task start trigger needs to be set to RTSI line. You can set up your RTSI line in Max

 

The error you are getting probably is because it can not route it self.

 

Best regards,

 

Fawad Nisar
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 9 of 16
(4,082 Views)

Hi,

 

I've made some changes (please see attached code), but it still seems to be coming up with the same error. I've setup the RTSI connection in MAX correctly (I think!).

 

Thanks,

Colin

0 Kudos
Message 10 of 16
(4,069 Views)