Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I synchronize XCP DAQ list data with my Analog input data?

Solved!
Go to solution

Hi all,

 

I am using 'ECU M&C" to get measurement data from an ECU using XCP DAQ list. The data is read at the sample rate I set in 'MC DAQ initialize.vi". This works OK.

 

I want to combine this data with measurements from my DAQmx device. Is there a possibility to synchronize the sample clocks (through RTSI?) in the same way you would synchronize CAN data with DAQmx data?

 

Hardware: NI PCI-CAN/2 & NI PCI-6229.

 

Thank you for any input.

 

PJ

Message 1 of 7
(6,855 Views)

Hi Pianne,

 

Assuming you have NI-CAN installed on your PC, you should have some examples on how to do this. In my LabVIEW example finder I can see some synchronisation examples under Hardware Input and Output > CAN > Cannel API or Frame API > Synchronization > Basic > DAQmx. There are examples on synchronising inputs which you can have a look at. Could you see if these are what you're looking for? IF they aren't then I'd be happy to assist further but I suspect that this is exactly what you're looking for.

 

Best regards,

Jake A

Applications Engineer
National Instruments UK and Ireland
0 Kudos
Message 2 of 7
(6,831 Views)

Hi Jake,

 

Thanks for replying.

 

Yes, I have seen the examples you talk about. I use this method (RTSI)  to synchronize CAN inputs with my DAQmx inputs.

I was wondering if the same can be done with inputs I get through an XCP DAQ list. I haven't found any synchronization examples using XCP and 'ECU M&C toolkit'.

 

Best regards,

PJ

0 Kudos
Message 3 of 7
(6,829 Views)

Hi PJ,

 

If both of the cards you're using have RTSI lines, and I believe they do, then you should be able to synchronise them just as you did with your CAN inputs. What NI driver are you using to collect these inputs?

 

Best regards,

Jake A

Applications Engineer
National Instruments UK and Ireland
0 Kudos
Message 4 of 7
(6,809 Views)

Jake,

 

I am using DAQmx v9.6.2 to acquire analog inputs  and the XCP DAQlist functions from "ECU Measurement and Calibration toolkit v15.0" to acquire ECU measurements from the CAN card.

My LabVIEW version is 2012.

 

I can export the refClock and StartTrigger from DAQmx, but I can't seem to find any XCP functions to import them to the CAN card.

 

Best regards,

PJ

0 Kudos
Message 5 of 7
(6,752 Views)
Solution
Accepted by topic author Pianne

Hi PJ,

 

Okay, I think I understand now, I'm not sure why I ddin't see this before. It's not possbile to do this with the ECU Measurement and Calibration Toolkit, so for XCP DAQ it won't e something you're able to do.

 

Best regards,

Jake A

Applications Engineer
National Instruments UK and Ireland
0 Kudos
Message 6 of 7
(6,721 Views)

Thanks for clearing that up, Jake.

 

Not the answer I was hoping for, but still...

 

Best regards,

 

PJ

0 Kudos
Message 7 of 7
(6,704 Views)