From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-31-2024 03:10 AM
For a lab, I need to connect the Digilent PmodCLS board to the myRIO and communicate with I2C.
I'm using the following sample program.
When I try to run the program, it returns the following error. I've tried other I2C VIs, but the error seems to be the same.
I'm not sure if the pinout on the LCD is relevant, but I've included it just in case.
I've connected pin 33 on the myRIO to PmodCLS pin J2.6. MyRIO pin 8 is connected to PmodCLS pin J2.5. MyRIO pin 34 is connected to PmodCLS pin J2.2, and myRIO pin 32 is connected to PmodCLS pin J1.2.
Since the error is in LabVIEW with the Write I2C VI, I believe this issue is with LabVIEW.
I am using the myRIO toolkit with LabVIEW 2019 SP1 (32-bit).
I'd appreciate any advice or instruction.
01-31-2024 07:17 AM
Did you search for an explanation?
I found this...
01-31-2024 07:22 AM
I did search for a solution on other forum posts, but I didn't find any solutions that solved my problem.
Furthermore, it doesn't look like the linked forum post ever found a solution.
01-31-2024 07:30 PM
In order to begin to help you with your myRIO problem, we need more information.
Bob Schor
02-01-2024 03:36 AM
My LabVIEW version is LabVIEW 2019 SP1 (32-bit). I am using the myRIO toolkit version 2019.
I've attached both the project and the PmodCLS data sheet.
02-05-2024 08:21 PM - edited 02-05-2024 08:51 PM
@jb0375 wrote:
My LabVIEW version is LabVIEW 2019 SP1 (32-bit). I am using the myRIO toolkit version 2019.
I've attached both the project and the PmodCLS data sheet.
I would like to help you. But I need you to compress the Project Folder and attach the .zip file. If you are using the myRIO Software Toolkit 2019, then somewhere, there is a LabVIEW Project file (with an extension of .lvproj) that probably exists in a "folder", along with the three VIs that (in the Project) would appear in the "myComputer" section, along with other VIs that appear in the "myRIO Target" side.
I also looked at the "PmodCLS data sheet" you attached. I'm sure you realize that it is basically useless, right? Other than to help you understand how to wire the chip to the myRIO if you want to use it to generate the SPI or I²C commands you need to do "something" with the chip.
So without information, I'm sorry I can't help you.
Bob Schor