The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 What is the script for importing ABF files?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
liangz Posted - 06/26/2001 : 5:20:41 PM
The manual does not include instructions on how to import these files. When I import them as "open -n" they open in Notepad (for those who are unfamiliar with ABF files, they are graphs.) So far, I have not figured out how to write the Import=>pClamp command in LabTalk.
3   L A T E S T    R E P L I E S    (Newest First)
Gary Lane Posted - 06/28/2001 : 4:29:49 PM
Hi,

The ability to import pClamp *.ABF files is built-in to Origin 6.0 and above (earlier versions required an add-on module). To import pClamp *.ABF (or *.DAT) files simply select the File:Import:pClamp menu item. If you wish to program your own script in LabTalk I recommend you take a look at the files pClamp.OGS (which implements Origin's pClamp import) and ABFDLL.HLP (which documents the Axon pClamp import support DLL). Both files can be found in the Origin 6.0 (and above) software folder. The pClamp DLL is loaded into Origin after importing a pCLamp *.ABF or *.DAT file and can be accessed using the ABF object. The pClamp DLL can also be loaded using the LabTalk DLL command. See the LabTalk help file (select the Help:LabTalk menu item) for more information. To view the ABF object, import an *.ABF using the menu command given above, open the Script window, type ABF.= and press enter.

Hope this helps.

Gary


Mike Buess Posted - 06/28/2001 : 11:52:46 AM
Are these ASCII files? If so, could you provide an abbreviated example in a post or a URL with which we can download a complete file? If they are binary files you may need the Origin Pro file utilities to import them. Also, if they are actually graphs they probably contain additional formatting code (axes, scales, tics, etc.) that might make it difficult to pick out the actual data. In any case, we need more information before we can help.

Mike Buess
Origin WebRing Member
liangz Posted - 06/28/2001 : 11:28:23 AM
"open -p" seems to not work with ABF files for some reason. I used a file.exists command to verify that a file exists and then asked it to import the file with the command "open -p" if it does exist (else end the script) but Origin still says that there is a "syntax err", "file not found". Is there any other option in "open" that I can use to possibly import .ABF files?

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000