01-17-2024 03:38 AM
Hello,
Okay I will try this and update the post later.
Thanks for all the help,
Best regards
Julius
01-19-2024 05:05 AM - edited 01-19-2024 05:32 AM
Hello Gerd,
I tried alot and figured almost everything out. Its working way better and more fluent.
Sadly another problem occured.
When im using the counter etc. without controlling the motor and rotate it by hand, the measurement of the angle is perfect! Also the measurement of the Torque is working.
Unitl.... i start the motorcontrol. After starting, the angle measurement is going crazy and is raising even if the motor is not rotating. The analog Torque measurement is not impacted, just de digital measurement of the angle.
The motor control is is a single digital output on one line. Can it be that i did something wrong in the program or could it be a electronical issue? Do i need to split the measuremnt and control on different devices so they dont interfer? I attached the VI in version 2019.
Below you can see the settings of the DAQ Tasks.
Thanks in advance.
Bets regards
Julius
01-19-2024 05:59 AM
Hi Julius,
you are using way too many ExpressVIs, I will not dig into all of them...
I recommend this article, just skip the first paragraph on DAQAssistent!
01-19-2024 06:29 AM
Hello,
I am aware that i am using many express Vi´s but this is the only way it worked for me. I tested alot and i didnt find another way for it to work as i want it to.
When im not using Express vis the values rest all the time or the data type is not the right one...
Im really dont know how to do it better...
01-19-2024 06:31 AM
Hi Julius,
@Julsbng wrote:
Im really dont know how to do it better...
Read the article linked in my previous message and then examine the DAQmx example VIs in LabVIEW's example finder...
01-25-2024 05:32 AM
Hello,
the problem was not that I used too many express vis or so. The problem was that the grounds of the measurement and regulation were shared.
that resulted in a noisy signal and manipulated the execution time as well.
Im aware that it’s better not to use express vis etc and I’m fixing it.
thanks for all the help especially for the hint with the Samples which caused an error.
best regards
julius