Sign in to follow this  
Followers 0
Linhvct

NB-designer software

18 posts in this topic

Dear all, It is the first time I use NB-designer to create a HMI programme for NB5Q, and I meet a problem about the bitmap and vector graphic library. Infact, my project requires some icons which do not include in bg&vg lybrary. I try using "add new bitmap" funtion but its result is just a "non-graphic" space. Could anyone tell what I did wrong? And how to make it? Thank you! Best regards! Edited by Linhvct

Share this post


Link to post
Share on other sites
First, choose the Draw pulldown and choose New Graphics. Define a size (does not really matter what size, but this does define the aspect ratio). Choose Bitmap, select the number of states (2 for simple ON/OFF light) and give it a name as shown below: Then choose a state and right click on the state and choose Load Image. (You could also just draw on the state using the drawing tools, but you asked about adding images.) Repeat the process for each state, choosing different images. You then end up with something like this: Then, close the drawing by clicking the lower of the two X buttons in the upper right hand corner. Then your new button will show up as a Bitmap option when you try to add a switch as shown below: Make sure to Uncheck the Vector Graphics checkbox. If both Vector Graphics and Bitmap are checked, the Vector Graphic will be displayed.
1 person likes this

Share this post


Link to post
Share on other sites
Thank Michael Walsh! It's very helpful.

Share this post


Link to post
Share on other sites
Dear Michael Walsh, There's another problem about bitmap image that I meet after success in adding a new bitmap graphic. That is the image could not keep its shape when it is applied in small size. First, I creat an image by drawing it by CAD. Then, using "export" function in CAD, a picture is generated in bmp format. Second, I use Corel Paint software to crop the necessary area. And the last, this final picture is added to bitmap graphic library of my NB project, follow your guide above. But when I resize it on screen to about size of W20xH30 and download the screen to NB HMI, it loses its shape. Some lines and area are missing. Would you please tell me how to solve this problem or how to create a bitmap graphic correctly? Thank you!

Share this post


Link to post
Share on other sites
I believe I've seen this problem on other HMI software. I'm not sure if there is a solution in the HMI software but I will suggest this... First determine the exact size of the image that you require on your HMI. Then resize the image to that size in Corel Paint. Most HMI software does not have the quality of rendering images like Corel does.
1 person likes this

Share this post


Link to post
Share on other sites
Thank IO_Rack! I'll try it

Share this post


Link to post
Share on other sites
bitmap image is a raster image, you should have a program that can load, create an convert bitmap. how about this bitmap software sample codes. give a try, then you won't have error display images.

Share this post


Link to post
Share on other sites
Dear Michael Walsh, Why after I installed NB Designer and when I try to upload the data from NB7W-TW00B, my USB cable can't connect to the HMI. My OMRON HMI USB drivers not detected and after updated in device manager says "This device can not start. (Code 10) '. Is there an error on install NB Designer? Best regards, Edited by Totok Bian

Share this post


Link to post
Share on other sites
Did you manually browse for the driver?

Share this post


Link to post
Share on other sites
Yes I've for many time, but after finished updated still says not working properly, my friend said maybe it's cause I used bad NB designer, it is true?

Share this post


Link to post
Share on other sites
I have seen where an extension USB cable has caused problems, but I have not seen a case when the software would not work.

Share this post


Link to post
Share on other sites
Hello, I have the same problem than Mr. Totok Bian. When i try to download (with a NB5Q-TW00B) with usb cable, it give me a error (can not inicialize the driver). I try to reinstall the NB Designer (i tryed with version 1232 and 1310) , i tried reinstall manually the driver, but without succes. I tryed serial comunication with cable for HMI nt20s but i don´t know if is ok. I can not find the pinout cable for nb series with PC. Do you know the pinout? And do you know if exist another usb driver for NB designer? Tanks

Share this post


Link to post
Share on other sites
Please try the attached procedure to recover the use of the USB port. NB Disabled USB Port.pdf The pinout for the serial cable is

Share this post


Link to post
Share on other sites
Hello, Tankyou. I conect the HMI with the cable, and transfer the files that you said. But the problem persist. I can not use the usb driver. For know i can transfer project by serial comunications. tanks a lot :)

Share this post


Link to post
Share on other sites
After updating the firmware in the NB, did you recompile the project and then download using the serial cable?

Share this post


Link to post
Share on other sites
Hello, Yes, i update the firmware and recompile the project, and download using the serial cable. But when i put the usb cable, the driver fails. I tried install it manualy, but it give me a error like : ´it can not be inicialized (code 10)´

Share this post


Link to post
Share on other sites
Hi all, I have problem with "Add graphics". When I insert picture into State0 and "Save to System graphic library". If I want to choose graphics from system library I can´t see them. I can see only black shape without picture. Solution is quickly and simply ! You have to compile project (Ctrl+F7). Done and graphics is visible

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0