Sign in to follow this  
wuchi

Importing picture

Recommended Posts

Hi!

Is there a way to import picture in DAQFactory ?

If i try the jpeg picture then it goes really big and i can't control it.

<_<

Wuchi

Share this post


Link to post
Share on other sites

There is not a way to directly import a picture into DAQFactory. However, you can copy and paste images into DAQFactory. You might need to resize your image with another program before pasting it into DAQFactory.

Once you paste the image into DAQFactory, it becomes a symbol component. It can be a static symbol or you can animate/change the symbol based on a value. For example you could change the symbols location based on a value.

Share this post


Link to post
Share on other sites

Hi again!

Yes i know all that, but the problem is the following if you view the picture. When i try to resize it it doesn't resize ?!?

Wuchi

post-63-1207207327_thumb.jpg

Share this post


Link to post
Share on other sites

From what Azeotech posted above, it sounds like you need to resize the picture outside of DAQFactory, to get it to the desired size before pasting. To do this you need some sort of graphics program such as Photoshop, Paint Shop Pro, or any software designed to handle digital pictures. Here are some free programs I found if you do not have a graphics program:

http://picasa.google.com/

http://www.faststone.org/FSViewerDetail.htm

http://www.eecs.wsu.edu/paint.net/

http://www.stratopoint.com/11view.htm

Share this post


Link to post
Share on other sites

The best way to ensure the graphic displays right in DAQFactory is to open it up in Microsoft Paint and then cut and paste it out of that program.

DAQFactory currently cannot resize bitmap images.

Share this post


Link to post
Share on other sites

I want to res erect this old thread and have a basic question that I think I know the answer to, but here goes - I have daqfactory lite to monitor our solar pv system I am trying to make custom screens to display info for people to look at on a dedicated pc about what the system is doing - now for the dumb question - can I import images (jpef, bmp, gif) on the lite version?

thanks

greg

Share this post


Link to post
Share on other sites

Since this post we've added a way to dynamically import images, but I don't think that is what you are asking. You could always import images, you just had to do it through the clipboard. Just open the image in Paint, copy it to the clipboard, then paste it into DAQFactory. This works in all releases of DAQFactory.

Cheap sales pitch: check out www.daqconnect.com if you want to share your solar pv system data on the internet...

Share this post


Link to post
Share on other sites

I'm interested in the comment "since this post we've added a way to dynamically import images". I'd like to have a way to bring in label images on the fly, without having to have the client copy/paste an image into a symbol. Is there a way under program control to display a new image on a page?

Share this post


Link to post
Share on other sites

Yes, create a symbol control (put an image in it the normal way if you want), give it a name (right click and select Component name), then in script you would do something like:

component.mycomp.LoadJPEG("c:\myjpeg.jpg")

you can of course replace the static string I used with a string variable

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