07-08-2021 06:28 AM - edited 07-08-2021 06:45 AM
Hello Guys,
I have an issue with the MyRio again.
The attached vi is an Vi to upload and resize Images. It works on the computer but does not if I open it with the myRio.
I tried to put the image file on the USB key and plug it in the myRio and open the file U\ [...], however the container remains blank.
I found a similar Post with the same kind of problem.
An answer provided me with the issue I am always facing haha:
It looks like the Read PNG/JPEG/BMP VIs are not supported on Real-Time targets, such as your myRIO. As an alternative, you can get our Vision Common Resources (I believe it should install with Vision Development Module), install Vision RT to the myRIO, and use the IMAQ ReadFile VI to open the file on the myRIO.
I downloaded the Vision Development Module and tried it with the IMAQ ReadFile vi but actually did not match to fix the problem.
My question now is:
Does it work with the IMAQ vi and I made errors connecting the wires (I admit Im not sure about my atempt to wire)?
Or is the solution still another one?
Thank you in advance for your help and have a great day!
Solved! Go to Solution.
07-08-2021 06:54 AM - edited 07-08-2021 06:55 AM
Hi Suryoyono,
@Suryoyono wrote:
An answer provided me with the issue I am always facing haha:
It looks like the Read PNG/JPEG/BMP VIs are not supported on Real-Time targets, such as your myRIO.
Those ReadPicture functions internally use the FileDialog function: as your myRIO doesn't support frontpanels/monitors you also cannot open any dialogs on a non-existing screen…
So the question is: why do you want to show a a 2DPictureIndicator on a frontpanel, which cannot be visualized by your myRIO target???
The "issue you always are facing" is: your myRIO does NOT support any kind of monitor/frontpanels!
Workarounds/suggestions:
07-08-2021 08:44 AM
Hey Gerd,
thank you for your answer.
Well it always makes sense if you answer haha. So if you ask like this, I dont know why I try do it 😬
I will try your suggestions Sir.
Greetings
Samuel
PS: Ich habe das Gefühl, Sie sind eine laufende Bibliothek haha. Danke für Ihre Unterstützung Gerd 😊
07-08-2021 09:03 AM