01-05-2006 07:08 AM
01-05-2006 11:24 AM
filenameget "ANY", "FileRead", ,"*.bin"unless you dont plan to select more than one file at the same time, it should work all right. If you would like to do the latter, for instance to create a list file for a batsch processing (serial evaluation) you would further need top specify a listfile name with the parameter FileDlgASCIIName.
01-06-2006 02:46 AM
01-09-2006 05:37 AM
Thanks guys for the input. Adreas, how would I go about linking mulitple file names to a dataplugin? I seem to be only able to write a script that links a particular file to a dataplugin.
01-09-2006 05:51 AM
Matt,
There are several functions/variables which are helpful when dealing with more than a single file. The single file which is already opened for you by the DataPlugin framework is the file the user selected. You can open any additional number of files using "OpenFile" which returns a file object. Please refer to the helpfile for DataPlugin development for more details.
In addition there are attributes attached to the file object you get from "ReadStore(File)". Please refer to File.Info.FullPath to see an example. Those attributes can be helpful when the name of the file you want to open is derived from the name of the file the user had selected.
Let me know if you have more questions
Andreas
01-09-2006 07:30 AM
Andreas, I've attached my files below. The slamraam_telemetry_version1 file organizes the binary data into channels. The hex_conv file is the file i run that does certain actions on specific channels. The second line in the Hex_conv was created using the record feature. So i used this record feature to create a dataplugin that is linked to slamraam_telemetry_Version1. Then i loaded data from slamraam -- telemetry.bin. This was all done using the record feature.
Anyway, i'm still having trouble getting the Hex_conv file to let me select ANY .bin file, not just the slamraam -- telemetry.bin file. Thanks for all the help.
Matt
01-09-2006 09:58 AM
Matt,
I think I know what the problem is. Could you please do me a favour and send me one or more of your .bin files so that I can test the whole script sequence?
Andreas
01-09-2006 12:03 PM
01-09-2006 04:10 PM
01-09-2006 04:14 PM