04-07-2022 04:14 PM
Hi all,
Due to the time already spent investigating this problem, I am now kindly asking for your help. I am currently using LV 2019 and the target MyRIO.
To keep things relative simple, I presume attaching photos would be enough for this step.
After buying a PWM generator with IC PCA9685 I tried using the I/O monitor to see if there is a connection using I2C protocol.
As seen below, all options of the USB monitor are active and functional. I do notice a gradient difference between IOs, PWM and the three communication protocols but I do believe this is not the problem as the monitor is working properly.
When trying to open an Express VI, downloaded from the forum while trying to find an answer for this problem, I get the error presented below.
As mentioned in the title, I cannot find any Express VIs in LV.
Lastly I indicate the Addons installed on the real time target. Am I missing anything here? I guess it might be a LV issue, not an real time target.
It is strange that this window can not be extended, but anyways...
Thank you for the help, hopefully I was clear enough.
Radu
04-10-2022 06:12 PM
@Plici wrote:
Hi all,
Due to the time already spent investigating this problem, I am now kindly asking for your help. I am currently using LV 2019 and the target MyRIO.
To keep things relative simple, I presume attaching photos would be enough for this step.
Your presumption is wrong. I am going to do my impression of the "Amazing Karnak" and describe the Project file for your "project" -- it has a section called "My Computer", but is missing the (required) section called something like "myRIO Remote Target".
The Dreaded DAQ Assistant (or, as I affectionately call it, the DDA) is meant to convince LabVIEW novices that they don't need to spend even a week with a good LabVIEW instructor learning how LabVIEW works, but can begin "taking data right away" using the DDA. Well, LabVIEW Real-Time (which is the system on which the myRIO Toolkit runs) requires basic familiarity with "non-Real-Time" LabVIEW (a few months experience, including learning how to use DAQmx, easier than it looks -- go find on the Web "Learn 10 Functions in NI-DAQmx and Handle 80 Percent of your Data Acquisition Applications"). Once you have an understanding of how to do Data Acquisition and processing on one computer (namely, your PC), you are ready to tackle the challenge of using two computers (your PC and the myRIO), two Operating Systems (Windows on the PC, NI Real-Time Linux on the myRIO), and two sets of LabVIEW programs, communicating with each other through TCP/IP (most often running on the USB cable that connects the myRIO to your PC).
The point is, the DDA isn't meant for Real-Time.
Bob Schor
04-11-2022 02:27 AM
Hi Bob,
while I agree with you on DDA usage your message does not apply to the current problem...
That ExpressVI is dedicated to the myRIO and fails due to a missing "personality"!
@OP: you need to deploy the needed personality to your myRIO. As I never worked with such a device you need to read the manual to learn how to do that!