Media Cybernetics
From Images to Answers  
  Print version  Search
for
 
Support
Forum Home
My Profile
Register
Active Topics
Search
FAQ
Macros
Files
Files Library

Home > Support
 

IQbase Forum - Frequently Asked Questions
IQbase Forum
IQbase Forum
 All Forums
 Frequently Asked Questions
FAQ Table of Contents


Go To Top Of PageGeneral
Go To Top Of PageHow do I download or install my license file?

For Download or Installation Help go to http://www.imageproshop.com/activationhelp.asp

Go To Top Of PageHow do I make macros?

In IQbase, choose Macros, Record Macros. Then use the IQbase GUI to perform the steps you'd like to automate. IQbase will record each step in a new macro. Save the new macro with a memorable name when you're done with the steps. TIP: After you've recorded a macro, choose Macros, Macro, highlight your new macro, and choose Edit. From there you can copy or edit the VBA code.

Go To Top Of PageIs there any way to get a VBA project path?

vbe.VBProjects(thisproject.Name).FileName

Go To Top Of PageHow do I load and call only the IQL-functions without the IQstudio GUI application running?

The IQL is a collection of COM objects, so you can access them as you would other COM objects.
Add a reference to IQL and create a new instance of McEngine. You will then be able to access the image collection (McEngine.Images) and process images directly without any user interface. The ImageViewer project written in VB.net in the Samples directory shows an example of this.

Go To Top Of PageWhat is the difference between a local workstation installation of IQbase and a shared network installation?

An IQbase server installation allows IQbase users on a network to log in and simultaneously work with images and content on shared IQbase server databases located on a network. An IQbase local workstation installation allows the user to create and work with non-shareable databases installed on his or her machine only (assuming there is not an IQbase network database available on the network).

You can think of IQbase on any PC simply as a client. An IQbase installed on a PC can be configured to access its non-shareable local IQbase database and/or a shareable server IQbase database located on a network server.

An IQbase server installation includes database server software that lets multiple users securely work with images and data in shared IQbase databases located on a network server. IQbase server also includes floating license server software that automatically serves licenses to IQbase clients on your network. The floating license server means that you can have IQbase installed on as many PCs as you want while only the number of users specifed in your server license will be able to run IQbase at any one time. When using an IQbase server you also have the option to purchase and install the IQbrowser web module which lets web users securely view and download images and data stored in your IQbase server databases.

Go To Top Of PageHow do I upgrade from a local workstation installation of IQbase to the shared network installation?

You will need to purchase a Workgroup version of IQBase. You will not have to uninstall your current IQbase installation and will not lose any local IQbase databases. You simply gain the ability to also log on to and access shared network IQbase databases. Contact Media Cybernetics at 301-495-3305 extension 2 for information on purchasing an IQbase server that will allow multiple users to securely access shared databases.

Go To Top Of PageDatabase
Go To Top Of PageHow do I store an Excel or other file with an image?

You can add one or more files to an image object in IQbase. The files will be displayed in the image's attributes window as "Children" of object. You can store child files internally as files in IQbase or externally with links to the their external locations. Children will be searchable just like other IQbase attributes.

There are two ways to add an Excel or other file to an IQbase image object:

**The easiest way is to drag and drop the Excel file on the image in IQbase.**

The other way is to use the context menu on an image while the image is highlighted, but you must be an advanced user to do this:

1. Enable the advanced user functionalities:
* Go to the menu and pick Database
* Choose Manage Databases
* Choose the Settings Tab
* Check "Show advanced fields"

You are now an "Advanced User".

2. Add an Excel file to an image database object:
* Highlight an image
* Opposite-click and choose context menu
* Choose add file menu
* Choose Yes for 'Are you sure..?'
* Choose McFile Files
* Choose your file and press OK.

Go To Top Of PageHow do I add or update data values on a set of existing images?

To enter identical data attribute values to multiple images or files in IQbase:

1) Go to Folder View and select multiple images by clicking on one image and then shift-clicking on another image (or click on one image and then control-click on additional images). Multiple images should now be highlighted.

2) Right click on any of the highlighted images and choose Add Attribute. Choose the Name of the Attribute you want to update by clicking on the ... button

3) Enter the new Value that will be placed with every image selected.

3) Click OK

Note: You could also accomplish this through macros. As an example, see the IQbase UPDATE query macro on http://solutions-zone.com

Go To Top Of PageHow do I create an UPDATE query in IQbase?

To update multiple records in SQL a user creates an UPDATE query. To do the equivalent in IQbase you would create a macro and run the code in the IQbase VBA window.

You could save the macro for later use or add it to a form.

To see examples visit http://www.solutions-zone.com/soldetail.asp?u_num=1961 and click on "Download".

Go To Top Of PageHow do I create a new preset query?

Open IQbase's query editor and build a query with mouse clicks. Save it with a name and description. Then re-open the the new query in the query editor, click on the little arrow on the save button, and choose "Export to Preset Queries". A dialog will be presented and the new preset query will be listed. To edit the preset query, click on the new preset query you've just added and click on the edit button. You will then see the search code in VBA.

Go To Top Of PageHow do I backup content?

Each database in IQbase has an objects.dat file which contains the database's images and data if they are stored locally (in IQbase) *or* the links to the images and data if they are not physically stored in IQbase. See the "IQbase Storage Methods" FAQ athttp://support.mediacy.com/answers/showquestion.asp?faq=47&fldAuto=425 for more information.
To back up all the IQbase databases, assuming they are in the default location, backup all files and folders in the Databases folder:

C:\Documents and Settings\[user or All Users]\My Documents\IQbase\Databases\

* Here's a macro that will tell you which folders contain content, including linked files so that you can back those up as well:
http://www.solutions-zone.com/soldetail.asp?u_num=1956 br /

* Here's another macro that prompts the IQbase user to archive IQbase content:
http://www.solutions-zone.com/soldetail.asp?u_num=1955

Go To Top Of PageHow do I go back to the Image-Pro database from the IQbase database

When you install IQbase on a machine that already has Image-Pro installed, IQbase takes over as the default database for Image-Pro. There are two ways to switch back to the old Image-Pro database:

* Uninstall IQbase and the default database will be returned to the Image-Pro database.

-OR-

If you want to keep IQbase but use the old database in Image-Pro..

* When you install Iqbase, three Image-Pro files are replaced and backed up in the \IPWin4\UpdatedModuleBackup\ folder:

IpData32.dll
IpGali32.dll
IpRpt32.dll

To change back to the Image-Pro databae you can replace the IpData32.dll, IpGali32.dll, and IpRpt32.dll files in \IPWin4\ with the older files in \IPWin4\UpdatedModuleBackup\

Go To Top Of PageWhat storage methods are available for images ?

The Storage Methods available store the image or a link to the image.

* IQbase's default storage method is to store the *actual file* or image if the IQbase client is storing to an IQbase database located on an IQbase server. (Also referred to as embedding the file.)

* IQbase's default storage method is to store a *link to the file* or image if the IQbase client is storing to a *local* IQbase database. A local database is usually one that you made yourself or that you set to be local to yourself. A local database is not accessible to more than one client at a time.

Note: Think carefully before changing the default storage method. Having images embedded in IQbase provides much better security. Having links stored in IQbase provides more speed.

* To change the default storage method for an image or a file in ALL databases (assuming you have proper permissions):

1. Opposite click on My Databases and choose Properties

2. The Manage Databases window appears, click on Properties button

3. The Database Administration window appears, click on the Types tab

4. Highlight "McFile" to change file storage default -or- highlight "McImage" to change image storage default, click on Properties button

5. In Object Type Properties window choose new default storage method in the Default Storage Method combo box. The choices are:

a) "Store File Data" - import and embed the file
b) "Store File Name" - just store a link to the file
c) "Copy File, Store Name" - copy the file, import and embed the copy, include a link to the copy, forget the original file

6. Make choice and click OK.

-Or-

* To change the default storage method for an image or a file in ONE database (assuming you have proper permissions):

1. Opposite click on the database that you want change and choose Properties

2. In the Database Administration window click on the Types tab

3. Highlight "McFile" to change file storage default -or- highlight "McImage" to change image storage default, click on Properties button

4. In Object Type Properties window choose new default storage method in the Default Storage Method combo box. The choices are:

a) "Store File Data" - import and embed the file
b) "Store File Name" - just store a link to the file
c) "Copy File, Store Name" - copy the file, import and embed the copy, include a link to the copy, forget the original file

5. Make choice and click OK.

Go To Top Of PageHow do I set a default value for an attribute?

1. Opposite-click on the attribute and choose Properties. The Database Node Properties window appears.

2. Under the General tab click on Type Properties. The Object Type Properties window appears.

3. In the Attributes box, highlight the attribute and enter the default value into the Default Value text box.

4. Click OK.

Go To Top Of PageHow do I rename an attribute?

To rename an IQbase attribute:

1. Opposite-click on the attribute you want to rename and choose Properties. The Database Node Properties window appears.

2. Under the General tab click on Type Properties. The Object Type Properties window appears.

3. In the Attributes box, highlight the attribute you want to rename and click on Properties

4. Rename the attribute and click OK

Go To Top Of PageWhat and how do I backup IQstudio, especially open files. How do you handle open files?

The following link suggests what files to backup

http://support.mediacy.com/answers/showquestion.asp?faq=47&fldAuto=433

To make selected databases available for backup while keeping them open set the property IsAvailableForBackup of McDBDatabase. This is usually false but can be set to True during backups. One could write a small vbscript macro that could be scheduled to run before and after the backup to change that property.
The help on "IsAvailableForBackup" explains how it handles open files.

Go To Top Of PageWhy is IQbase based on an object-oriented (OO) database?

There are two types of database systems in use today, object-oriented and relational. OO databases are better suited to handling complex relationships among data ojects such as those found in imaging and multimedia applications. The reason for this is that with an OO database the database and any applications interacting with it all use the exact same object model. There is no mapping required between program objects and the database as there is with relational databases. The use of an OO database results in greater speed, extremely flexible searching funtionality, much easier creation of content, and much easier administration. IQbase's OO database records can easily be linked to records in enterprise relational databases including Oracle and MS SQL Server.

Go To Top Of PageHow do I link files in the database ?

Link an image to a folder, node or another image by either of two methods:
Method A
1. Select the image or folder and right click to get the context menu. Select copy.
2. Go to the parent node you want to link the child node to, and select "Paste Shortcut" from the context menu.
Method B
1. Drag the child node to the parent node you want to link it to.
2. Press "alt" while still holding down the left mouse button and release over the target parent node. Release the "alt" button.
In the folder view of the child node, you will see the parent list updated to reflect the new parent node that was just added.
To remove this link from a parent node, highlight the node whose link you wish to remove. Select "remove" from the context menu. If you select "delete" from the context menu, the node and all links to the node are deleted.

Go To Top Of PageHow do I add images to the database?

There are several ways to add an image or files to the database:

Method A
Step 1: Specify a target database node from the context menu of the selected node by clicking on "set Target".
Step 2: Click on the "Archive to Target" menu item of the context menu of the active image.

Method B
Add the active image to a target database node from the context menu of the
selected node by clicking on "Add Active Image".
Method C
Move images or create links to them from within the tree view. The tree view supports drag and drop copying (Ctrl+Drop) and clipboard copy+paste to database objects.
Method D
Drag and Drop files from Windows Explorer
Method E
Select "Add File" from the context menu of the target database object

Go To Top Of PageIs the macro for queries performed by the GUI available?

Yes. The query's result set appears in the journal. Look under its attibute "Query" for the "Macro" member, and copy the macro using Ctrl+C

Go To Top Of PageIf I have Image-Pro Plus v5.1 with a local IQbase database on a workstation and later upgrade to a IQbase Workgroup where the database resides on the server, can I still keep the local IQbase database?

You can view and use both your local IQbase databases and your server IQbase databases from a single IQbase workstation client. To add a server database to your IQbase client, go to
Databases\Manage Databases\Active Database
and click on Add Network. Enter the server's tcp-ip address and the name of the IQbase database configured on the server. You can add as many databases to the client as are configured on the server. Note: If security has been enabled on the server database, you will need a valid username and password.

Go To Top Of PageHow are images moved from a single IQbase workstation database to a network IQbase database?

A database in IQbase is actually made up of all the files in a folder with the database name under the IQbase\Databases\ folder by default. You simply copy the database folder in question from the workstation to the server. But you have to consider how the images were stored on the workstation. If the images were all embedded in IQbase, you are simply moving the images with the database. But if the images are linked in IQbase, you have to make sure they can still be accessed from the new IQbase insallation on the server. For example, if the images are on a network share that both the workstation and the server installations of IQbase can access, you are okay. But if the images are in \My Documents on the workstation, the server will probably not be able to access them. For more on embedding vs. linking see http://www.mediacy.com/forum/faq.asp#faq11.

Go To Top Of PageHow do I display the actual location of a linked file or image ?

1) Make sure that the "Advanced User Interface" box is checked in Databases\Manage Databases\Settings. Also check the "Show Hidden Objects" box.

2) Open the image in the IQbase workspace, right-click on it, and choose "Update Database".

3) With the image highlighted in the Folder View window, look at the "Data" attribute under "Properties" in the Attribute View window - it displays the actual location of the linked image file. Also notice the "Data Embedded" attribute which tells you if the image is embedded or not.

Note: IQbase can be configured to embed images in its databases or to simply store links to images. For more on this see http://www.mediacy.com/forum/faq.asp#faq11

Go To Top Of PageIf I decide to upgrade to an IQbase server later, will I lose my images and data from my local IQbase single user installation?

No, your local images and data will still be completely accessible and can also be copied or moved to the IQbase server installation if needed.

Go To Top Of PageGUI Customizations
Go To Top Of PageIs there a setting that turns off the layout persistence in IQstudio?

Sub SaveWorkspaceOn()
Settings(, "Layout").Set "SaveWorkspace", 1
End Sub

Sub SaveWorkspaceOff()
Settings(, "Layout").Set "SaveWorkspace", 0
End Sub

Go To Top Of PageAdd-Ins
Go To Top Of PageOperators
Go To Top Of PageAOIs & Annotations
Go To Top Of PageImage Enhancement
Go To Top Of PageImage Analysis
Go To Top Of PageImage Processing
Go To Top Of PageHow can I feed the McImage object with my own data without loading a file?

You can create new McImage objects using McImages.Add, it is then possible to access the pixels using McImage.PutArea


| top

Register Products    Contact Us    Locate Reseller    Site Map