09-27-2019 07:38 AM
Bonjour,
j'aurais besoin de communiquer avec un CompactRIO par l'intermédiaire d'une application PC c++ , existe t'il une API ou faut-il passer directement pour des trames TCP-IP ? Pourriez vous m'envoyer de la documentation relative à la solution.
Merci
Cordialement,
Mickaël
09-30-2019
01:30 PM
- last edited on
12-16-2024
06:14 PM
by
Content Cleaner
Bonjour Mickaël,
Merci d'avoir posé votre question. C'est une langue anglaise, donc ma réponse est automatiquement traduite, donc désolé si quelque chose n'est pas clair à cause de la traduction.
Il n’existe actuellement aucune API C ++ permettant la communication entre PC et cRIO. Votre meilleure option serait d'utiliser TCP / IP ou UDP. Voici un document sur les options de communication entre cRIO RT et le PC / IHM: https://www.ni.com/en/support/documentation/supplemental/16/understanding-communication-options-betw... . Bon nombre de ces options ne concernent que LabVIEW et ne peuvent pas être utilisées par une application C ++ sur le PC.
Meilleures salutations,
Hello Mickaël,
Thanks for asking your question. This is an English language bord, so my reply is automatically translated, so sorry if something is unclear due to translation.
There is currently no C++ API to communicate between PC and cRIO. Your best option would be to use TCP/IP or UDP. Here is document on communication options between cRIO RT and the PC/HMI: https://www.ni.com/en/support/documentation/supplemental/16/understanding-communication-options-betw... . Many of these options are only for LabVIEW and cannot be used by a C++ application on the PC.
Best regards,
10-01-2019 11:00 AM
Hello Kemens,
thank you for your answer.
Which option can we used with c++ application? For TCP/IP or UDP solution, have you got the frame's formatting ?
Thank you,
Mickaël