AP - The Recognized Standard In Audio Test

Login / Register Contact

Home Solutions Products Downloads Service & Support Sales & Lease About News

Share with Friend
  • Service & Support
  • Overview
  • Knowledge Base
  • Training
  • Solutions Partners
  • Service Offerings
  • Schedule Service
  • Calibration
  • Shipping Instructions
  • Downloads
  • AP Warranty terms and conditions
  • AP Calibration Services Datasheet

Knowledge BaseHOME/SERVICE & SUPPORT/KNOWLEDGE BASE

Setting folder location for opening an AP2700 Test File with LabVIEW

Created 18 Aug 2009

Question:
I want to use LabVIEW with ActiveX to open an AP2700 test file. With the code below (AP2700_open_test.vi), I am able to open a test file. But how can I specify the folder that the test file resides in?

Answer:
You can specify a folder name by simply pre-pending the folder path to the Filename string. For example, if the file name is “My_test.at27” and it resides in the My Documents folder of user UserID, the complete Filename string to use in the code above would be “C:\Documents and Settings\UserID\MyDocuments\My_test.at27”. You can use the LabVIEW Path to String function to convert a LabVIEW file path to the necessary string, as shown in the modified version of your VI below. The modified example also uses the LabVIEW File Dialog VI to prompt the user to navigate to the folder containing the test file.

***
jb
slx #001-00-004600


Return to Knowledge Base home

Comments

0 comments so far

Please log in to add a comment.

Back To Top

Accredited by A2LA

Browse Products View Solutions Schedule a Demo Get Service Register

Audio Precision

Copyright © 2009 Audio Precision Inc. All Rights Reserved.    |  Privacy Policy