06-24-2016 02:07 AM
Hi everybody,
I work on system to run the motor of Mode-Shuffling echo chambers. I want to automatize this system. So I want to know if somebody can help me to understand how the motor system work. I don't understand this commands:
GetCtrlVal
CommandLL
CommandSK
ComWrt
Can you help me?
Thank you,
Anaël.
06-24-2016 04:26 AM
While GetCtrlVal and ComWrt are standard CVI commands (the former reads a value from a control on a panel, the second writes something to the serial port), CommandLL and CommandSK are not. Apparently there is some driver installed for your device that declares those command: you need to find the documentation for that driver to understand how these command work. You can eventually get in touch with the producer of the motor for documentation and guidance.
06-24-2016 04:34 AM
Unless you are in the same groupt that's posting this question, in which case CommandLL and CommandSK are simply variables where to store the result of some command issued on the serial portò But if this is true, you should try keeping your questions in the same place so that a coherent discussion can derive.
06-24-2016 06:00 AM
Zinouba works with me on the project that's why we have the same questions.
06-24-2016 06:54 AM
Ok this is clear now.
It seem to me that you have two major problems.
First of all, if you need clarifications on GetCtrlVal you should go through the Getting Started manual and perform the exercises you can find there: you'll have a panoramic view of CVI environment and paradigms and you'll learn fundamentals you will be using throughout your whole coding life with CVI.
As per the motor, you must search in the documentation for the driver what command to use to move it and issue it through the serial port. There isn't a rule: every producer uses its own protocol do communicate with its devices.
06-24-2016 07:14 AM
Thank you I will find all documents to learn how I can use this instructions.