Error in HDF5 Browser.ipf

Error in HDF5 Browser.ipf

I copied in some files into the \Igor Extensions folder from a coworker with a Mac. When I started IGOR I got a message telling me that “C:\Program Files (x86)\WaveMetrics\Igor Pro Folder\Igor Extensions\ANOVASupport.xop is either not designed to run on Windows or contains an error.” So I removed the file from the folder as it sounded like it's not compatible with the Windows version of Igor.

Now I get the message: “Error in HDF5 Browser.ipf? Line too long. Command lines are limited to 400 characters" when I try to start IGOR. The program will finish starting when I click okay but I get the same message whenever I try to compile and it fails.

How do I fix this error?

Thanks!
Macintosh XOPs don't run on Windows. But you should have the right XOP in your Igor Pro folder as shipped. Select Help->Show Igor Pro Folder. Now navigate into More Extensions:File Loaders: and find HDF5.xop. Make a shortcut to HDF5.xop. Select Help->Show Igor Pro User Files Folder and put the shortcut into the Igor Extensions folder there. Restart Igor.

Your second problem sounds like you may have an Igor 7 version of the HDF5 Browser procedure file. Go to Windows->Procedure Windows->HDF5 Browser.ipf. if it has this line:
#pragma version = 1.20
then you are using the Igor 7-only version of the browser.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
If you try to use the Igor7 version of "HDF5 Browser.ipf", you get a compile error, "unknown/inappropriate name or symbol" on this line:

#if (HDF5LibraryInfo(0) <= 010805) // If you get an error here, you need HDF5 XOP 1.15 or later

My guess is that your "HDF5 Browser.ipf" file is messed up.

For instructions on installing HDF5 support, execute this:
DisplayHelpTopic "HDF5XOP"

johnweeks wrote:
Macintosh XOPs don't run on Windows. But you should have the right XOP in your Igor Pro folder as shipped. Select Help->Show Igor Pro Folder. Now navigate into More Extensions:File Loaders: and find HDF5.xop. Make a shortcut to HDF5.xop. Select Help->Show Igor Pro User Files Folder and put the shortcut into the Igor Extensions folder there. Restart Igor.

Your second problem sounds like you may have an Igor 7 version of the HDF5 Browser procedure file. Go to Windows->Procedure Windows->HDF5 Browser.ipf. if it has this line:
#pragma version = 1.20
then you are using the Igor 7-only version of the browser.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com


John,

The first solution seems to work well. Thank you for showing me how to do that!

Going to Windows->Procedure Windows->HDF5 Browser.ipf only shows a bunch of unreadable characters. I've attached a screenshot of what I see. Do I need to open the file with a reader outside of IGOR?

Thanks,
-Luke
Quote:
Going to Windows->Procedure Windows->HDF5 Browser.ipf only shows a bunch of unreadable characters. I've attached a screenshot of what I see. Do I need to open the file with a reader outside of IGOR?


"HDF5 Browser.ipf" is plain text but your copy of it is garbage.

Determine where your "HDF5 Browser.ipf" file is located by activating it and choosing Procedure->Info. The file should be located in "Igor Pro Folder\WaveMetrics Procedures\File Input Output".

If it is located there, then your installation is messed up. You should uninstall and reinstall Igor.

If, as I suspect, it is not there, then it would appear that you dragged a file from somewhere and renamed it or it was corrupted somehow. Delete it and reactivate HDF5 XOP. For instructions on installing HDF5 support, execute this:
DisplayHelpTopic "HDF5XOP"


If you are not using HDF5 then you can just deactivate "HDF5 Browser.ipf".
hrodstein wrote:
Quote:
Going to Windows->Procedure Windows->HDF5 Browser.ipf only shows a bunch of unreadable characters. I've attached a screenshot of what I see. Do I need to open the file with a reader outside of IGOR?


"HDF5 Browser.ipf" is plain text but your copy of it is garbage.

Determine where your "HDF5 Browser.ipf" file is located by activating it and choosing Procedure->Info. The file should be located in "Igor Pro Folder\WaveMetrics Procedures\File Input Output".

If it is located there, then your installation is messed up. You should uninstall and reinstall Igor.

If, as I suspect, it is not there, then it would appear that you dragged a file from somewhere and renamed it or it was corrupted somehow. Delete it and reactivate HDF5 XOP. For instructions on installing HDF5 support, execute this:
DisplayHelpTopic "HDF5XOP"


If you are not using HDF5 then you can just deactivate "HDF5 Browser.ipf".


Okay, so I did a search and I have 2 "HDF5 Browser.ipf" files. One is located under "\WaveMetrics\Igor Pro Folder" and is the file that is messed up. The other file is located where you suggested ("Igor Pro Folder\WaveMetrics Procedures\File Input Output")and has readable text in it. It says that it is version 1.04. Should I just delete the bad file? Do I need to do anything to active the other file?

Thanks!
-Luke
Quote:
Should I just delete the bad file?

Yes.

Quote:
Do I need to do anything to active the other file?


Follow the instructions in the help topic I reference above. This is necessary only if you want to load data from HDF5 files.
hrodstein wrote:
Quote:
Should I just delete the bad file?

Yes.


Okay, I deleted the file and now I get the message:

got "GetBorwserSelection" instead of a string vaariable or string function name
Error in ChangeFolder.IPF:FindWindowsWithSelectedWave
String SelectedWave=GetBrowserSelection(0)


Thank you for being patient with me while we get this figured out!
-Luke
johnweeks wrote:
I think you should probably uninstall Igor and re-install. After you do that, you will have to activate the HDF5 xop again.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com


Will do. Thank you for your help.

-Luke