Posted Friday at 7:58 AM Good Morning, I have a question about Omron's hmi NA5. In project I have vision system Cognex InSight 7800 linked via Ethernet/IP with NJ501-1320. My question is, It is even possible to share last photo from came on Omron hmi? Thanks, Kamil. Share this post Link to post Share on other sites
Posted Friday at 12:35 PM If the camera has a web interface there is a way to use a 3rd party web browser but you can't embed it in the screen. It is full-screen or nothing. Share this post Link to post Share on other sites
Posted Friday at 12:56 PM I'm trying to solve this in another way, I save the photo from the camera in FTP, now I'm just looking way to read it on the HMI. I don't know if it is possible to read it using a VB script, if I have the photo saved in FTP? Share this post Link to post Share on other sites
Posted Friday at 2:02 PM The Omron NA5 runs an embedded version of Windows 10 from what I can see, so you should be able to load the Cognex Insight Viewer Application {VisionView} and call it from a script. We did this on Panelview Plus HMI with Insight 5800, but I've never tried it in the Omron HMi World. Share this post Link to post Share on other sites
Posted Friday at 6:21 PM @BobLfoot interesting idea, but I noticed that the VisionView is in .exe format and must be installed, I have no idea how to install it on HMI panel. Additionally, it takes up 500mb, unless You installed it on a Memory Card? Because if the applications could be successfully installed, it could be called later using VB ScriptSub test StartApplication("\User\SysmacHMI\FTP\VisionView")End Sub Share this post Link to post Share on other sites
Posted Friday at 8:07 PM You can call .exe files with VB. Obviously your directory and filename will be different from this web browser application but its worth a shot: Share this post Link to post Share on other sites
Posted yesterday at 5:35 AM (edited) @photovoltaic unfortunately, it probably won't work on this HMI panel. While trying to start the application, receives this error:"Error VisionWiewDemo.exe. TypeLoadException The version of the assembly System, Version-2.0.0.0, Culture=neutral, PublicKeyToken=B77a5C5619334E08 9 cannot be loaded by this version of the Microsoft .NET Compact Framework." In the Cognex manual, unfortunately Omron panels aren't in the list of items that VisionView supports. This is not the way to do it, unfortunately. I'm still trying to read .jpg from FTP but I haven't found a command with which to do that either, but probably on these panels it isn't possible Edited yesterday at 8:10 AM by Kam Share this post Link to post Share on other sites
Posted yesterday at 8:36 AM I'm wondering if there is any way to refer in Root's to path of photo which is located in FTP instead of from the windows location. Share this post Link to post Share on other sites
Posted 21 hours ago I'm not surprised. I have tried many different applications on the NAs and almost none work. What you are thinking of doing with opening the FTP images will work. I have seen it done with VB script. Share this post Link to post Share on other sites
Posted 20 hours ago Do you have any suggestion about the script? I've tried a lot of different commands in VB that I knew and none worked Share this post Link to post Share on other sites
Posted 17 hours ago An update to those reading the thread - This is done with the VB command OpenMovieFile("VideoPage","MediaPlayer","/user/SysmacHMI/FTP/ImageFile.jpg") This assumes: Your Media Player Object has been named "MediaPlayer" The Page it is located on is called "VideoPage" There is a JPG file in your FTP directory called "ImageFile.jpg" Adapt to suit your needs and call it with a nearby button. 1 person likes this Share this post Link to post Share on other sites