annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Synchronizing PXIe-6361 AI with XNET-CAN

Hello everyone,

I have a PXI chassis (PXIe-1073) with two modules inside: one PXI 6361 and one PXI 8512 module. And would like to synchronize one analog input of the PXI 6361 with the XNET card (which receives CAN messages). Unfortunately I didn't find any examples for my case. Has anyone already experience in this?

 

Thanks for your help!

 

Chris

 

0 Kudos
Messaggio 1 di 8
3.440Visualizzazioni

Can you explain what do you mean by synchronize ? Start receiving CAN Messages once the AI signal reaches a predefined value as a sort of trigger....?


CLD Using LabVIEW since 2013
0 Kudos
Messaggio 2 di 8
3.420Visualizzazioni

Hello kartiknattar,

I would like to measure the position from two different devices (sensor and reference). The sensor communicates via CAN and the reference is connected to the input of the DAQ module. I want to synchronize the data, so I can get the deviation of the sensor signal.

0 Kudos
Messaggio 3 di 8
3.418Visualizzazioni

Hi Zweimercedes,

 

Have you found any example on this? Lately I have met the same request from my customer. If you have any clue or material, would you please share with me?

 

Thanks in advance!

Zhaoyong Wu

0 Kudos
Messaggio 4 di 8
3.381Visualizzazioni

Hello Zhaoyong,

 

Currently I am not working on this project. But I found this example from NI which comes very near to my case: Synchronize XNET CAN with X Series DAQ

 

I also got one code from a collegue, which is working but it's written in CVI. I can tell from the code that it's all about the initialization of the DAQ and XNET.

 

Kind regards,

Zweimercedes

 

Messaggio 5 di 8
3.376Visualizzazioni

Thanks Zweimercedes!

 

This is really helpful for me to understand the synchronization mechanism. Actually my customer is seeking solution based on .NET language like C# and I haven't found any existing example. Do you happen to have some clue?

 

Thanks again!

 

Best Regards,

Zhaoyong Wu

0 Kudos
Messaggio 6 di 8
3.373Visualizzazioni

Hello Zhaoyong,

 

I am not very familiar with C#, but I could offer a code example in C. I uploaded the c- and header-files to the attachments. You can view the c- and h-files with a standard code viewer. Wish you good luck for your project!

 

Kind regards,

Zweimercedes

Messaggio 7 di 8
3.367Visualizzazioni

Thanks Zweimercedes!

 

This is helpful!

 

Zhaoyong Wu

0 Kudos
Messaggio 8 di 8
3.352Visualizzazioni