Importing picture


Recommended Posts

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.

Link to comment
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

Link to comment
Share on other sites

  • 3 months later...
  • 3 years later...

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

Link to comment
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...

Link to comment
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?

Link to comment
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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.